• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB question  RSS feed

 
Ranch Hand
Posts: 157
  • 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 ]
 
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Stateless.
 
Greenhorn
Posts: 22
  • 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
Boost this thread!