-
1. Re: Problem while creating EAR
jaikiran Jun 25, 2009 9:25 AM (in response to sridhar1985)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
-
2. Re: Problem while creating EAR
sridhar1985 Jun 25, 2009 9:32 AM (in response to sridhar1985)Hi jaikiran,
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.
Sridhar. -
3. Re: Problem while creating EAR
jaikiran Jun 25, 2009 9:51 AM (in response to sridhar1985)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. -
4. Re: Problem while creating EAR
sridhar1985 Jun 25, 2009 10:34 AM (in response to sridhar1985)Thanks for the reply
I am using JBOSS 4.2.2 GA. Yes we are using jpa, ejb3 concepts. -
5. Re: How to deploy war file including java files
sridhar1985 Jul 22, 2009 1:03 AM (in response to sridhar1985)Hi,
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. -
6. Re: Problem while creating EAR
peterj Jul 22, 2009 10:47 AM (in response to sridhar1985)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. -
7. Re: Problem while creating EAR
sridhar1985 Jul 23, 2009 1:20 AM (in response to sridhar1985)Thanks for the reply.