facebook

[Closed] EAR (EJB JAR + WAR + 3rd party) exploded deployment

💡
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. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #246938 Reply

    We have 4 MyEclipse projects:

    1. EAR
    2. EJB
    3. WAR
    4. LIBS

    Most of the JARs from the LIBS project are used in the EJB & WAR project.

    We currently use an ANT build script that creates a EAR with LIBS/*.jar bundled at the top-level in the EAR. The EJB & WAR META-INF/MANIFEST files are modified to include the top-level JARs in their Class-Path.

    I have managed to get the JBoss exploded deployment to work by creating symlinks in it’s JBoss4.0.1sp1/server/default/lib folder from LIBS/*.jar. But this is bad and would just work for just one J2EE Enterprise project as the other projects might choose to use different JARs or different versions of those JARs. Unless we dedicate one JBoss install folder per Enterprise application!!

    So, is there a way to do exploded deployment of dependent third party external JARs with MyEclipseIDE?

    –Sandeep Khanna

    #246956

    Riyad Kalla
    Member

    Sandeep,
    Please give a read to our EAP Doc here: http://www.myeclipseide.com/images/tutorials/quickstarts/earprojects/
    Specifically section 9.1

    Additionally “dependent JARs” are covered in both the Web and EJB tutorials as well.

    #247149

    Thanks. That link helped a lot and I have now managed to have my EAR deployed with exploded deployment and all the dependent 3rd party JARs copied into it’s root level.

    Thanks again.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: [Closed] EAR (EJB JAR + WAR + 3rd party) exploded deployment

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