Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB question  RSS feed

 
Timber Lee
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 ]
 
Chen ZhiJiang
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Stateless.
 
Yi Yuan
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!