You can package all those 3 deployments in a single EAR and deploy it. Your EAR would then look like:
myapp.ear | |--- META-INF | | | |--- application.xml | |--- myapp-one.jar | |--- myapp-two.jar | |--- myapp.war
Thank you very much for your reply. So i have to write build.xml to create ear. is it correct? And application.xml should present in Client layer or some where else? Now i don't have application.xml. But i have jars and war.
Can you explain me this? Thanks for your time.
Which version of JBossAS do you use? And what are those jar files? Do those contains EJBs?
And yes, you will have to write a task in the build.xml to generate the EAR. Ant provides a ear task which you can use.
Thanks for the reply
I am using JBOSS 4.2.2 GA. Yes we are using jpa, ejb3 concepts.
I am deploying my workspace from Myeclipse to JBOSS. In the WAR i am getting .jsp files and .class files.
Now i want JAVA (source) files also in war file. How can i include these.
Is there any way to deploy WAR file including JAVA files.
Please help me on this. Thanks in advance.
You really need to ask the MyEclipse team this question, as it is a question about their IDE.
Or you could use Maven, Ant or even the jar utility to build your WAR.
Thanks for the reply.