File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "EJB question " Watch "EJB question " New topic

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 ]

Chen ZhiJiang
Ranch Hand

Joined: May 18, 2002
Posts: 72

Yi Yuan

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:
subject: EJB question
It's not a secret anymore!