EJB 3 Stateful Session Bean create method

G

Giovanni Azua

Hello,

I have been researching around on how to implement in EJB 3 style a Stateful
Session EJB that receives creation arguments in its (formerly known)
ejbCreate (now also @Init) method but I can't find the information in EJB 3
specs and books.

Before, using EJB 2 you could do this by defining the Home interface and
declaring the create method and providing a matching Bean ejbCreate
implementation. But I can't see how this use-case is officially supported
now in EJB 3 other than the backward compatible workarounds e.g.
http://openejb.apache.org/3.0/ejb-21-compatibility-example.html

I was looking for something more ala annotations style.

Thanks in advance,
Best regards,
Giovanni
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,981
Messages
2,570,187
Members
46,730
Latest member
AudryNolan

Latest Threads

Top