My Oracle Support Banner

Using an Embedded EJB Container in WebLogic Server (Doc ID 1984667.1)

Last updated on JUNE 28, 2023

Applies to:

Oracle WebLogic Server - Version to [Release 12c]
Information in this document applies to any platform.



This note demonstrates how to use Embeddable EJB Container to test enterprise applications.

With Embeddable EJB Container the client and the corresponding EJB are running within the same virtual machine and class loader. This makes developing and testing the application faster and easier.

Most of supported services provided in WebLogic Server EJB Container are also available in the embedded enterprise bean container, including injection, container-managed transactions, and security.

The following code excerpt shows how to create an Embedded EJB Container:



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 Sample Code
 Sample Output

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.