Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Stateless Session Vs Servlets  RSS feed

 
John Vergis
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
could ne1 let me know the advantages of using a stateless session bean over a servlet. what are the pros and cons.

Thanks
Johnny
 
Kishore Dandu
Ranch Hand
Posts: 1934
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Its better to refer a book like Ed Roman's to determine the relative advantages & disadvantages of session beans over Servlets. That kind of comparision is given in number of pages.
With respect to servlet, it is used more to render client info or work as a controller to tap into enterprise system from a client.
Where as stateless session bean is used more as per user driven mechanism to play around with the enterprise.
Dan.
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
BTW: Ed's book is a free PDF at his site: TheServerSide.com
http://www.theserverside.com/books/wiley/masteringEJB/index.jsp
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!