My Oracle Support Banner

Deployment Plan with Resource EJB (Doc ID 1501665.1)

Last updated on SEPTEMBER 09, 2022

Applies to:

Oracle WebLogic Server - Version 10.3.5 to 10.3.6
Information in this document applies to any platform.


 Within an EJB bean ,  @Resource annotation  is used to reference a datasource ( "jdbc/datasource1") as the following :

The goal of this document is to show how  to  update the mappedName attribute value ( "jdbc/datasource1") of the @Resource annotation when deploying EJB by another value ("jdbc/datasource2").


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

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