1 Reply Latest reply on Jun 27, 2006 2:18 AM by jaikiran

    How to include ejb.jar into application.xml

    sridharkoduri

      I have a EJB project(name EJBProject) that contains the ejb. I am creating a new J2EE project (name J2EEPorject) to include the EJB's.

      On the project properties of J2EEProject, I included the EJBProject. But when I create the descriptor (application.xml), the content of the application.xml doesnot the include the EJB tags.

      I would appreciate if you can help me out.

      thanks,
      Sri
      516-909-3164

        • 1. Re: How to include ejb.jar into application.xml
          jaikiran

          I guess, this is what you are looking for:

          <?xml version="1.0" encoding="UTF-8"?>
          <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
          <application>
          
           <display-name>MyApp</display-name>
          
           <module>
           <ejb>
           myEjb.jar
           </ejb>
           </module>
          
          
          </application>