EJB compilation and deployment problems
Dear fellows
I have good understanding of EJB development process, but the compilation and deployment process of EJB is very problematic for me. Please write me the complete steps which should include:
1. Starting from class, interface programs creation
2. Package creation and accessing it along with class path setting
3. How and where to compile these classes and interfaces (app server details), JAR
4.deployment details on any app server like SUN, web logic
Kind regards
Shahzad faisal
[539 byte] By [
Siddiqisa] at [2007-11-26 20:13:01]

# 1
> Dear fellows
Dear Shahzad faisal
Start with the JEE5 tutorial:
http://java.sun.com/javaee/5/docs/tutorial/doc/
Part 3 discusses EJB stuff
I would recommend going to a few samples, bundled with most of the appservers to see the appserver specific stuff.
>
> I have good understanding of EJB development process,
> but the compilation and deployment process of EJB is
> very problematic for me. Please write me the complete
> steps which should include:
>
> 1. Starting from class, interface programs creation
So you have the classes and interface implemented.
Next thing is to create a ejb-jar.xml in which your EJBs are defined (optional for EJB3.0)
> 2. Package creation and accessing it along with class
> path setting
Packaging all in a jar file is enough for an appserver to find your classes.
> 3. How and where to compile these classes and
> interfaces (app server details), JAR
Compilation usually needs the javx.ejb.* classes, most appservers have a j2ee.jar in which the javax.* classes you need are present.
in jour jar file you package your classes and deployment descriptor
> 4.deployment details on any app server like SUN, web
> logic
Deployment to appservers is product specific, see the manual here.
you may want to add some other , vedor specific, deployment settings which are not ejb specification defined, these go into a vendor specific DD, for Sun for example the sun-ejb-jar.xml.
>
> Kind regards
> Shahzad faisal