aspose file tools
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes EJB question Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: EJB question
 
Similar Threads
EJB 3.0 and Struts
Interview Question Book Java/J2EE Job Interview Companion
Deployement Error -- Very Arjunt
E WSVR0009E: Error occurred during startup
Home local interface allows only one create method ?