Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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 The Software Craftsman this week in the Agile 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: 156
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.
Have you tried LearnNowOnline?
subject: how to jar ejb in this case