My Oracle Support Banner

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

Last updated on JUNE 28, 2024

Applies to:

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

Goal

 

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:

 

Solution

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
Goal
Solution
 Requirements
 Configuring
 Instructions
 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.