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.
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>