my dog learned polymorphism*
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 150
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
Similar Threads
Ejb lookup on a diff server
ejb-link and ejb-ref-name
One EJB should have only one class which implements bean class?
ejb-link element....
What is JAR/EAR .