Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

From Servlet to RESTFul

 
Isaac Ferguson
Ranch Hand
Posts: 1045
3
Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am trying to refactoring the business logic from a Servlet to a RESTFul service. Im gaining knowledge in RESTFul now. Which are the most important points I should have into account?

Any idea, please?

Regards, Isaac
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The essence of a RESTful architecture is the correct use of HTTP methods and headers.

Lots of material can be found in the REST section of the Web Services FAQ here a the ranch.

Bill
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65535
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That servlets are part of the controller and shouldn't have had any business logic in them to begin with.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!