This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: EJB question
It's not a secret anymore!