File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes how to jar ejb in this case Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "how to jar ejb in this case" Watch "how to jar ejb in this case" New topic

how to jar ejb in this case

walter wang
Ranch Hand

Joined: Jun 02, 2001
Posts: 159
Dear All
I hv one question about jar ejb
if one ejb using other class which is not
j2sdk or j2ee class, then we should jar this
class with ejb togather or.
set classpath to other class which is refered
by ejb at j2ee container?

public class Walter { public boolean is_Working_Now (boolean is_boss_Coming) { return is_boss_Coming; }
Rufus BugleWeed
Ranch Hand

Joined: Feb 22, 2002
Posts: 1551
Section 23.3 EJB 2.0 Specification
The ejb-jar file must also contain, either by
inclusion or by reference, the class files for
all the classes and interfaces that each
enterprise bean class and the home and component
interfaces depend on, except J2EE and J2SE
classes. This includes their superclasses and
superinterfaces, dependent classes, and the
classes and interfaces used as method parameters,
results, and exceptions.
I agree. Here's the link:
subject: how to jar ejb in this case
It's not a secret anymore!