-
1. Re: Communicate between WAR and EJB in separate servers.
peterj Jun 12, 2009 6:39 PM (in response to samwan808)What version of JBoss AS?
You will need to include some of the JAR files from the client directory in the WAR file. Which ones you include depends on the AS version, and on what exactly your web app needs. Of course, you could just include all of the JARs from the client directory. -
2. Re: Communicate between WAR and EJB in separate servers.
samwan808 Jun 12, 2009 11:50 PM (in response to samwan808)"PeterJ" wrote:
What version of JBoss AS?
You will need to include some of the JAR files from the client directory in the WAR file. Which ones you include depends on the AS version, and on what exactly your web app needs. Of course, you could just include all of the JARs from the client directory.
I am running JBOSS 5.0 GA.
Can you link me with an example, please?
Thanks -
3. Re: Communicate between WAR and EJB in separate servers.
peterj Jun 13, 2009 12:19 PM (in response to samwan808)In AS 5.0.x, the client/jbossall-client.jar file is a manifest-only JAR that references the other JAR files in the client directory. In earlier versions, jbossall-client.jar actually contained the class files and thus was often the only JAR a client needs.
Since you are using 5.0.x, you will have to determine which JARs you need. Try using JBoss Tattletale (under Projects | Tools at the top of this web page), it provides reports that will tell you what JAR files your client needs.