• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how can we find weather it is a statful session or stateless

 
swatione chowdary
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how can we find weather it is a statful session or stateless session bean by seeing the code , but not with deployment descriptor.


can any one please tell the answer.
 
Roger Chung-Wee
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this an assignment?

Here is a clue: investigate the create method of the home interface.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by swatione chowdary:
how can we find weather


http://home.accuweather.com

Sorry
 
karthikeyan Chockalingam
Ranch Hand
Posts: 259
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check if the bean class implements SessionSynchronization interface (It is optional to implement SessionSynchronization interface) .
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic