This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes how can we find weather it is a statful session or stateless Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "how can we find weather it is a statful session or stateless " Watch "how can we find weather it is a statful session or stateless " New topic
Author

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

swatione chowdary
Greenhorn

Joined: Apr 07, 2005
Posts: 27
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

Joined: Sep 29, 2002
Posts: 1683
Is this an assignment?

Here is a clue: investigate the create method of the home interface.


SCJP 1.4, SCWCD 1.3, SCBCD 1.3
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Originally posted by swatione chowdary:
how can we find weather


http://home.accuweather.com

Sorry


[My Blog]
All roads lead to JavaRanch
karthikeyan Chockalingam
Ranch Hand

Joined: Sep 06, 2003
Posts: 259
Check if the bean class implements SessionSynchronization interface (It is optional to implement SessionSynchronization interface) .


http://www.skillassert.com


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how can we find weather it is a statful session or stateless
 
Similar Threads
Conditions to use EJBS-Help
it is statless or statefull session home
Home local interface allows only one create method ?
2 Interesting Mock Questions
How to maintain session info between a servlet and a session bean