Forums Register Login

EJB3: Build, Packaging and Deploying: Industry Standards

+Pie Number of slices to send: Send
Hi!
I am studying EJB3 for the past few days.
The basic doubt i have is related to INDUSTRY standards.

1. How do we build, package and deploy EJB3 components in the INDUSTRY?
2. I want to use these EJB components on different application servers like JBoss, WebLogic etc. ?
3. If we use Ant, can anybody give me the Ant files necessary to build and deploy EJB3 components!
4. If we build EJB3 components on one server like JBoss, can we deploy the same components in WebLogic or anyother server? Or, do we need to make any changes?



Thanks
+Pie Number of slices to send: Send
Building and deployment is specific to each EJB server. You need to read the documentation for the server which you are using.
+Pie Number of slices to send: Send
1) We build an EAR file that contains an ejb jar file with the EJB3 component. The same way as any other J2EE app.
2) I'll skip this one as it isn't a question.
3) Your Ant build script needs to be written with paths for your environment here's the ant manual
4) If you stick to the spec and are careful not to use any vendor specific extensions, you can deploy to another server.
+Pie Number of slices to send: Send
Hi Jeanne!
Thanks for answering.

But still i am left with the same doubt.

1. Where can i have the build.xml files required to build, package and deploy EJB components for JBoss4.2.2, GlassFish-v2?

3) Your Ant build script needs to be written with paths for your environment here's the ant manual


In the Ant manual i do not find any build.xml files, for EJB's!!

Thanks
+Pie Number of slices to send: Send
 

Originally posted by palla sridhar:
In the Ant manual i do not find any build.xml files, for EJB's!!


Some vendors provide custom tasks for EJBs. The Ant manual does have a list, but it is quite out of date. I don't know if Glassfish provides one.

It might not be necessary though. if the ejb-jar is just a normal jar (without generated code), you can use the regular jar task.
I am not a spy. Definitely. Definitely not a spy. Not me. No way. But this tiny ad ...
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 2795 times.
Similar Threads
JNDI properties for JBoss 4.2.2
How to deploy EJB 3.0 beans in JBoss 4.0.4RC1 ?
Why JBoss?
ejb3.deployer not found.
How to build JSF projects in eclipse
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 03:05:10.