This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes EJB question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "EJB question " Watch "EJB question " New topic
Author

EJB question

Timber Lee
Ranch Hand

Joined: Oct 14, 2002
Posts: 157
what kind of ejb should we use when Store state for any client, not any in particular?
answer is stateless or stateful session bean,why?

other questons is the where pooled ejbs are put, harddisk or memory ? can pooling make less ejbs within memory in any situations?
[ February 06, 2003: Message edited by: Timber Lee ]

SCJP<br />SCWCD<br />SCEA
Chen ZhiJiang
Ranch Hand

Joined: May 18, 2002
Posts: 72
Stateless.


SCJP SCEA-I
Yi Yuan
Greenhorn

Joined: Jul 03, 2006
Posts: 22
I think the stateless EJB will be the choice.
The statefull EJB should be used only when you want to store particular information about each user.


SCJP 1.4 - 95% Passed<br />SCWCD 1.4 - 89% Passed
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB question
 
Similar Threads
E WSVR0009E: Error occurred during startup
Interview Question Book Java/J2EE Job Interview Companion
Deployement Error -- Very Arjunt
EJB 3.0 and Struts
Home local interface allows only one create method ?