Restlet Vs Servlet

Posted on 2011-10-26
Last Modified: 2013-11-10
I am very new to Restful Web Service. I need to write a Restful WebService so that another application can consume it.
I know there are two options
1. Servlet Approach
2. Restful Web Service
I want to understand the details on both the approaches and the differences as well. Can somebody please help.
The URL in the end should enable the consumer to do a HTTPs post with the following parameters
1. Username/Password to identify a valid consumer
2. A String param and timestamp are the posted by the consumer.
Question by:ek186717
    LVL 18

    Expert Comment

    by:Anil Golamari

    Author Comment

    Thanks for the link. Would you mind posting an example/link using Apache CXF JAX-RS
    LVL 18

    Accepted Solution


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    When coding a Webservice to provide data, the normal way is to create a method that returns a Dataset object.   But a Dataset cannot be used easily from another platform, such as PHP,  FLAS (FLEX) , etc. Solution : Return a XML Document instea…
    While working on Silverlight and WCF application, I faced one issue where fault exception occurred at WCF operation contract is not getting propagated to Silverlight client. So after searching net I came to know that it was behavior by default for s…
    The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
    This video is a brief demonstration on how to use security groups and Network Access Control Lists (ACLs) in Amazon Web Services.  Security groups and Network ACLs are mechanisms you can use in AWS to control network traffic.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now