-
1. Re: Do I really need to create the EAR file to deploy ?
mlindhout Jan 23, 2003 2:27 AM (in response to setya)Hi Setya,
EAR files are only relevant if you have one or more webcomponents (.WAR files) and EJB components that form an application together. If you don't need this, simple use the JAR's.
Are you familiar with the J2EE deployment structures? -
2. Re: Do I really need to create the EAR file to deploy ?
setya Jan 23, 2003 8:50 PM (in response to setya)Thanks for the reply,
Actually my EJB doesn't contain any Web stuff.
With J2EE RI which I used before JBoss, the deploytool automatically creates the EAR file for me, since there's no such tool in JBoss, it keeps me wondering, whether I really need that file or not, because right now, my apps runs fine without it. I also find SAR and RAR files in JBoss installation directory, what are they ? Do I need to use them too ?
Setya -
3. Re: Do I really need to create the EAR file to deploy ?
juhalindfors Jan 24, 2003 1:07 PM (in response to setya)You don't necessarily need EAR files. SAR stands for Service Archive which is a JBoss specific packaging format for deploying MBeans. RAR stands for resource archive which is used for packaging JCA resource adapters.
-
4. Re: Do I really need to create the EAR file to deploy ?
setya Jan 26, 2003 10:37 PM (in response to setya)Thanks,
Could you recommend sites or books where I can learn about MBean? I'm a total newbie here, so I need sources that explains it right from the bottom.
Setya -
5. Re: Do I really need to create the EAR file to deploy ?
juhalindfors Jan 27, 2003 2:36 AM (in response to setya)This one covers the JMX spec pretty extensively:
http://www.amazon.com/exec/obidos/ASIN/0672322889/002-4424191-8658420
And the JBoss 3.0 Admin & Development book covers JBoss specific additions (such as the SAR format):
http://www.jboss.org/docs/ -
6. Re: Do I really need to create the EAR file to deploy ?
setya Jan 27, 2003 6:18 AM (in response to setya)Looks great, thanks a lot.
Setya -
7. Re: Do I really need to create the EAR file to deploy ?
m1609 Feb 1, 2003 10:58 AM (in response to setya)Hello Setya,
the following tool greates a EAR with the neccessary JBoss Deployment Descriptors. The GUI is similar the deploytool, but it generates the sourcecode for the EJBs too. The sourcecode contains XDoclet tags. For more information have a look at
http://www.j2eeguru.net/html/j2ee_component_wizard.html
Try it, it's very useful.