Tutorial :Which JBoss 5.1 libraries I need for a standalone EJB client?



Question:

I'm migrating from JBossAS 4.05 to JBoss 5.1, and I have doubt about wich libraries I need to change in my EJB standalone clients.

From JBossAS 4.0.5, I have a straight list of libraries that I need to deploy within all clients. But, in 5.1 version, some libraries was changed or supressed.

Anybody have a straight list just for access remote EJB services?


Solution:1

As per ... http://docs.jboss.org/jbossas/docs/Installation_And_Getting_Started_Guide/5/html/ch01.html#d0e525

1.5.3. jbossall-client.jar The client/jbossall-client.jar library that used to bundle the majority of jboss client libraries, is now referencing them instead through the Class-Path manifest entry. This allows swapping included libraries (e.g. jboss-javaee.jar) without having to re-package jbossall-client.jar. On the other hand, it requires that you have jbossall-client.jar together with the other client/*.jar libraries, so they can be found.

Look at this post for a solution to:

The newer versions of JBoss (I'm using 5.1.0 GA) very annoyingly have all the client jars split into at least 47 separate jars! Which is a bit rude when you consider the total number of jars they expect you to copy into your tomcat/lib dir is a whopping 93.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »