EJB 3 Stateful Session Bean create method

Discussion in 'Java' started by Giovanni Azua, May 3, 2009.

  1. 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
    Giovanni Azua, May 3, 2009
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. biebel
    Replies:
    2
    Views:
    728
    TT \(Tom Tempelaere\)
    Feb 27, 2004
  2. X3
    Replies:
    0
    Views:
    409
  3. Sachin

    EJB Stateful Session Beans

    Sachin, Nov 4, 2005, in forum: Java
    Replies:
    0
    Views:
    361
    Sachin
    Nov 4, 2005
  4. Replies:
    1
    Views:
    398
    Manish Pandit
    Sep 13, 2006
  5. Replies:
    1
    Views:
    749
Loading...

Share This Page