File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB question

 
Timber Lee
Ranch Hand
Posts: 157
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 72
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Stateless.
 
Yi Yuan
Greenhorn
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic