This week's book giveaway is in the
We're giving away four copies of a choice of
"Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac"
and have Joe Kissell on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
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>
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