• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Bear Bibeault
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • salvin francis
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
Bartenders:
  • Jj Roberts
  • Carey Brown
  • Scott Selikoff

Statefull Session beans are pooled ?

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Java Experts,
My question is simple, but I am not quite
sure for the answer..
The question is :
Are Statefull Sessions beans pooled ?
I think they are Not, the reason why :
1. I could not find pool congfiguration
in <weblogic-ejb-jar> for Statefull
Session bean.
2. ejbCreate of Statefull session beans
can vary and may have parameters, so
how Container create the bean ?
But ....
Statefull Session Bean has ejbActivate()
and ejbPassivate() that make this bean
has pool effect .. so it means
Container actually pool the Statefull
Session Bean ?
Give me the light....
 
Ranch Hand
Posts: 264
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Stateful session beans are activated and passivated.
Some EJB container may chose pool the bean instance after it's passivated. Some may not. So don't count ont it.
 
Are you here to take over the surface world? Because this tiny ad will stop you!
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic