The Count application in Mastering EJBs says that I need to set the maximum bean pool to 2 beans, the j2sdkee1.3.1 configuration documentation says that you can set a maximum memory size. This leaves me in a dilema as I cannot specify a bean number, only a memory number - has anyone got this example to succesfully work with Suns j2sdkee?
Mark
-
Maximum Bean Pool for Count example (1 messages)
- Posted by: Mark Proctor
- Posted on: May 25 2002 20:34 EDT
Threaded Messages (1)
- Maximum Bean Pool for Count example by Maheshwaran Venkataraman on May 31 2002 07:12 EDT
-
Maximum Bean Pool for Count example[ Go to top ]
- Posted by: Maheshwaran Venkataraman
- Posted on: May 31 2002 07:12 EDT
- in response to Mark Proctor
An addendum, not a reply. I tried the example in WebLogic6.1 under Windows 2000. I'm not clear about the way to set the maximum pool size. The downloaded code (May 17, 2002) does not contain the information about the same. I tried the following:
<weblogic-enterprise-bean>
<ejb-name>statefulSession</ejb-name>
<stateful-session-descriptor>
<stateful-session-cache>
<max-beans-in-cache>2</max-beans-in-cache>
</stateful-session-cache>
</stateful-session-descriptor>
<jndi-name>statefulSession-CountHome</jndi-name>
</weblogic-enterprise-bean>
which did not work. Any clarifications/suggestions?
Thanx in advance.
Mahesh