2 Replies Latest reply: Dec 6, 2012 6:21 AM by gimbal2 RSS

    How to build an EJB as a war file

    903164
      Hi All,

      I am new to EJB . I am trying to build the EJB project as a WAR file. I am supposed to use EJB as a war file instead of EAR.Can any one provide a sample script to build EJB project as a war file which loads the xml files using spring.


      Thanks in advance.
        • 1. Re: How to build an EJB as a war file
          r035198x
          There isn't one standard tool for building war files. You can create one 'manually', using your IDE or using build tools like maven or ant. Both approaches require some reading to understand how they work.

          That deployment would only work on EE6 container by the way.
          • 2. Re: How to build an EJB as a war file
            gimbal2
            900161 wrote:
            Hi All,

            I am new to EJB . I am trying to build the EJB project as a WAR file. I am supposed to use EJB as a war file instead of EAR.Can any one provide a sample script to build EJB project as a war file which loads the xml files using spring.
            A sample script. There are so many different types of scripts for so many different tools and so many different platforms. Shall we guess which is the one you need or are you going to provide actual details?

            Of course you're not going to actually get it, nobody here is going to do your work for you.