To work with EJB applications on JBOSS server,
1.apart from the application created the jars to place in the classpath are:
ejb-api.jar,jca-api.jar(for any of the datasource you are using)
2.Make a jar of the application and structure of the jar is:
META-INF
ejb-jar.xml
jboss.xml
class files
3.The JNDI name is given in jboss.xml file,the JBoss has a standardjboss.xml for all ejb applications and this you can ignore for small applications
4.Deploy the jar in any of the server configurations(default,all,minimal),the jndi name get resgisters in the JBOSS AS.
5.Start the server,Run the client application.
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.