Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

session facade  RSS feed

 
prasad hagargi
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
should the session facade be a stateless or statefull.
 
Amit Shanker
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It depends on your implementation.
 
prasad hagargi
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when can it be stateful and stateless.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by prasad hagargi:
when can it be stateful and stateless.

The session facade should be stateless unless you need it to be stateful.
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Read the link below. Contrins info when stateful session beans are useful
http://java.sun.com/blueprints/corej2eepatterns/Patterns/SessionFacade.html
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!