facebook

Multiple session ejb’s in a single ejb project? [Closed]

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #204715 Reply

    harryajh
    Member

    Getting a bit confused – I created a enterprise app with 1 ejb & 1 web component. For the ejb I created a session EJB, set xdoclet properties & this works fine.

    My problem is I want to add another session ejb (eventually 3 in total!). Do I have to create another ejb project as above & somehow add to app or (as I have been trying without sucess!) create another session ejb within the original ejb project? – either way how do I do it?

    many thanks

    harry

    #204717

    harryajh
    Member

    Think I’ve sussed it? – put session-beans.xml & weblogic-enterprise-beans.xml in xdoclet merge directory with each ejb’s bit in & seems to work.

    I now have a single PRDEJB jar file containing 2 EJB’s that show as PRDEJB in the console under deployments | applications | App name & deployments | EJB – is this correct? – seems to work fine exploded or packaged!

    #204726

    Scott Anderson
    Participant

    Yes, it’s fine. You can have as manu EJB’s in an EJB project as you like.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Multiple session ejb’s in a single ejb project? [Closed]

You must be logged in to post in the forum log in