My Oracle Support Banner

Sample code: How to Invoke EJB 3.0 from Taglib and Servlet Using Dependency Injection (DI). (Doc ID 1325474.1)

Last updated on JUNE 28, 2024

Applies to:

Oracle WebLogic Server - Version 10.3 and later
Information in this document applies to any platform.

Goal

 

The sample demonstrates how to invoke EJB 3.0 Stateless Session Bean from Taglib and servlet.

 

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
 /WEB-INF/web.xml
 /WEB-INF/tlds/customtags.tld
 com.tags.MessageTag
 EJB Interface
 EJB Bean
 helloWorld.jsp
 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.