Results 1 to 4 of 4
Like Tree1Likes
  • 1 Post By my128samuel

Thread: What is the difference in developing a web application with servlet vs rest api

  1. #1
    KKG
    KKG is offline Member
    Join Date
    Sep 2013
    Posts
    11
    Rep Power
    0

    Default What is the difference in developing a web application with servlet vs rest api

    Hi , Can someone help me in understanding the difference between developing a web application using only servlets vs developing a web application using rest api.

  2. #2
    my128samuel is offline Member
    Join Date
    Sep 2013
    Posts
    6
    Rep Power
    0

    Default Re: What is the difference in developing a web application with servlet vs rest api

    Hello,

    I think (Just after some reading) that REST API is an Architecture Design with descriptions and constraints, you can use Servlet as framework to apply the REST Architecture.

    You have to look more around this subject, here is some reading:

    RESTful Java Servlet | Daniel Watrous on Software Engineering

    Representational state transfer - Wikipedia, the free encyclopedia

    Regards,
    gimbal2 likes this.

  3. #3
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    3,703
    Rep Power
    5

    Default Re: What is the difference in developing a web application with servlet vs rest api

    Quote Originally Posted by KKG View Post
    Hi , Can someone help me in understanding the difference between developing a web application using only servlets vs developing a web application using rest api.
    You don't develop a web application/site using the REST API. You develop a webSERVICE using the REST API. Its like comparing a train to a passenger wagon. Similar, but one of them has an engine.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  4. #4
    KKG
    KKG is offline Member
    Join Date
    Sep 2013
    Posts
    11
    Rep Power
    0

    Default Re: What is the difference in developing a web application with servlet vs rest api

    Thanks for the replies

Similar Threads

  1. developing chat application
    By niba10 in forum Networking
    Replies: 5
    Last Post: 06-29-2012, 12:04 AM
  2. Developing a Team collaboration/MIS web application
    By rudranee in forum Advanced Java
    Replies: 0
    Last Post: 05-03-2012, 08:02 AM
  3. developing a standalone application using java
    By santhoshkeleti in forum New To Java
    Replies: 1
    Last Post: 11-15-2011, 06:18 PM
  4. developing GUI application
    By earlhickey in forum New To Java
    Replies: 7
    Last Post: 06-22-2011, 03:14 AM
  5. Developing Window based application
    By hisouka in forum New To Java
    Replies: 7
    Last Post: 08-11-2008, 05:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •