Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / JavaBeans / March 2004

Tip: Looking for answers? Try searching our database.

How to set limit the bean pool size for stateful session bean in Weblogic 8.1

Thread view: 
J Xu - 19 Mar 2004 03:40 GMT
Hi all,
I am tring to observe how a stateful session bean is managed by the
container.
I want to limit the bean pool size to two beans, so I can see the
ejbPassivate and
ejbActivate methods being called by container when I have 3 clients.
I am using weblogic 8.1. In the property editor of the session bean,
tuning section, there is a property called "max-beans-in-cache". Is this
where
I can set the limit? However, I cannot see the passivate and activate
functions
being called when I set it to 2 or even 1.

Could anyone give me a hint?

Thanks a lot,
J Xu
Ralf Fischer - 24 Mar 2004 14:47 GMT
> Hi all,
> I am tring to observe how a stateful session bean is managed by the
[quoted text clipped - 13 lines]
> Thanks a lot,
> J Xu

http://e-docs.bea.com/wls/docs81/ejb/DDreference-ejb-jar.html


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.