Oracle® Containers for J2EE Enterprise JavaBeans Developer's Guide 10g (10.1.3.5.0) Part Number E13981-01 |
|
|
View PDF |
To improve message-driven bean performance, consider the following:
For more information, see "Improving MDB Performance" in the Oracle Application Server Performance Guide.
For message-driven beans, using bean instance pooling can increase performance by reducing bean creation overhead. For more information, see "Managing the Bean Instance Pool".
For EJB 3.0 message-driven beans, if you are using interceptors and your interceptors are stateless, you can specify singleton interceptors. This OC4J EJB 3.0 extension creates a singleton for each interceptor class. This singleton is shared by all message-driven bean instances that use that interceptor class. This reduces memory requirements and life cycle management. For more information, see "Singleton Interceptors".