File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB and other Java EE Technologies
Tune stateful EJB configurations
Joined: Mar 05, 2008
May 18, 2010 21:05:18
How can we tune Passivation and Timeout configurations for stateful session bean in EJB3.0, do we have annotation ? or need to write DD ?
any reference or sample snippet is much appreciated.
SCWCD 5 - 89%, SCJP 1.4 - 90%
Joined: Jan 24, 2005
May 20, 2010 04:51:50
These are server specific and can usually be found in the documentation of the server you are using.
Weblogic for example has this in weblogic-ejb-jar.xml of a SFSB
<stateful-session-descriptor> <stateful-session-cache> <max-beans-in-cache>value</max-beans-in-cache> <idle-timeout-seconds>value</idle-timeout-seconds> </stateful-session-cache> ...other stuff </stateful-session-descriptor>
I agree. Here's the link:
subject: Tune stateful EJB configurations
Why use stateful bean.
how many PrePassivate methods we can have in an stateful session bean ?
Can we say that struts 1.3 action classes are stateful ?
Tech Word Game
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014