If you do not have an EAR, then the EJB should be packaged as a JAR file and the servlet as a WAR file. Copy those two files to the deploy directory. (By the way, you really should package the JAR and WAR within an EAR.)
I don't understand. You first sentence says you have an EAR with a JAR and a WAR. Your second sentence is asking how to build an EAR with a JAR and a WAR. Why do you need to build an EAR when you have one already?
Joined: Jan 08, 2010
no , I don't have EAR file. I need EAr file to deploye my project in jboss.
I develop it in Netbeans IDE and Glassfigh server.
I have JAr file in EJB module and WAR file in Web module .
Anyway i need to make EAR file.
How to make a EAr from jar and war files?