Using EJBContext from an EJB 3 Interceptor

I got a question from a customer that he wants to use EJBContext from an EJB 3 Interceptor.

Yes, it’s very simple. Just inject the EJBContext into the interceptor using @Resource injection.

See the example code that uses methods of SessionContext as follows:

package actionbazaar.buslogic;

import javax.annotation.Resource;

My Sessions at Oracle Open World 2008

I’ve two sessions at Oracle Open World 2008, San Francisco. Here are my session details:

S298520 : Best Practices for Managing Your Oracle WebLogic Environment with Oracle Enterprise Manager
Track: Application Server and Transaction Processing
Room: Rm 2006
Date: 2008-09-22
Start Time: 11:30

S298522 : Top Five Things DBAs Must (more...)

EJB 3 In Action available at Safari Online

If you enjoy reading online then it's a good news for readers of EJB 3 in Action. It is now available online at Safari

Introduction to EclipseLink

Doug Clarke has written a nice article that introduces EclipseLink.

EJB 3 Stateless bean Web service in WebLogic Server

I recently got some questions from customers about the procedure for deploying EJB 3 Session Bean Web service in WebLogic 10. In this blog, I will outline the steps.

First develop your EJB3 session bean web service as follows:

serviceName="PlaceBidService", portName = "PlaceBidPort",
targetNamespace = "")
@SOAPBinding(style = (more...)