O'Reilly logo

Oracle WebLogic Server 11g Administration Handbook by Sam Alapati

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Tuning EJB Performance

Oracle provides several recommendations for tuning WebLogic Server EJBs. Following is a quick summary of the main recommendations pertaining to the tuning of EJBs and the EJB cache.

Tuning EJBs

It is best to keep state in the middle tier to a minimum. Oracle recommends using stateless session beans where possible instead of stateful session beans because the server doesn't have to maintain state information.

The EJB specification requires that EJB calls are not passed by reference for consistency. As such, in WebLogic Server 8.1 and higher, call-by-reference is turned off by default. You must set call-by-reference to true when EJBs call one another within the same application. This also applies when an EJB is called by ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required