HTML CRUD from RESTful service(Java) using Editor

HTML CRUD from RESTful service(Java) using Editor

vijay2345vijay2345 Posts: 2Questions: 0Answers: 0
edited September 2013 in Editor
Hello,

Here is what I have

Jax-Rs RESTful web service returning JSON for CRUD
http://localhost:8080/WebApplication2/webresources/entities.customer/

The service returns
Getall (above URL)
Get single (..customer/id)
Get range (..customer/10/20)
Counts
Get record
Update
Create
Delete


Looking to render HTML datatable, with Create new, Delete and Update.

Is there a working example of the same? Can support request provide this? If so for how many hours?

I have Netbeans.

thanks

Replies

  • allanallan Posts: 61,799Questions: 1Answers: 10,115 Site admin
    Have you taken a look at this example of how to use a REST interface with Editor: http://editor.datatables.net/release/DataTables/extras/Editor/examples/REST.html ?

    Having said that, if your API on the server is fixed, then you will likely have to use the `ajax` method of Editor to transform the data to and from what Editor and the server individually want: http://editor.datatables.net/server/

    Allan
  • vijay2345vijay2345 Posts: 2Questions: 0Answers: 0
    Thanks Alan. It helped.
  • allanallan Posts: 61,799Questions: 1Answers: 10,115 Site admin
    Further to this, Tactical Enterprises have created a Java backend for Editor which might interest you or any other Java developer: http://jed-datatables.ca/jed/ .

    Allan
This discussion has been closed.