It's not a secret anymore!
The moose likes Websphere and the fly likes EJB client jar for 3.5.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "EJB client jar for 3.5.1" Watch "EJB client jar for 3.5.1" New topic

EJB client jar for 3.5.1

Matt Sumner

Joined: Oct 16, 2002
Posts: 19
This is similar to the question for 4.*.
How do I produce the EJB client jar with only the relevant client stubs.
I have built my deployment jar using jetace and installed it using xmlconfig.
I now need to be able to run it from a client on a different machine... It works if I copy over Deployed*.jar from the deployedEJBs directory.
However, there must be a mechanism to only have to have the relevant stubs ?
Kyle Brown
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
No, there's not. The reason being that client JARs were an IBM-only thing. In WAS 4.0 we had to stick to the spec, and client JARs were outside it. Blame Sun.

Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at for other WebSphere information.
Matt Sumner

Joined: Oct 16, 2002
Posts: 19
Ok then.... what files do I need to take out of Deployed*.jar to put in my own jar I'm going to build for the client side.
If I look inside I can see *_Stub.class and *_Tie.class and ones beginning with _EJS.
Do I need all those ?
I agree. Here's the link:
subject: EJB client jar for 3.5.1
It's not a secret anymore!