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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access