facebook

create RESTful Web Service with Tomcat

  1. MyEclipse Archived
  2.  > 
  3. Web Services
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #305002 Reply

    thilsen
    Member

    This message has not been recovered.

    #305032 Reply

    This message has not been recovered.

    #305243 Reply

    thilsen
    Member

    Hi ,
    I am new to web services. I want to create RESTful Web Service in java. So i decided to use Jersey.
    and i worked with sample (Hello world application) in RESTful calls.

    my doubt is , when i use GET operation, it returns whatever i returned. that’s fine.
    But when i use PUT, the sample code puts my details in webresource.
    Where the WebResource is stored?
    Don’t i need to use Databases to store any data? (ie is it enough putting in WebResource?)

    But these data(via PUT) only available until the server restarts. so do i need to put it in persistent starage?

    If that is the case (Need to store in DB), What is the main use of Web Service?

    Pls advise me.

    Thanks & Regards,
    thilsen

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: create RESTful Web Service with Tomcat

You must be logged in to post in the forum log in