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 EJB packager ? 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 "EJB packager ?" Watch "EJB packager ?" New topic

EJB packager ?

Edward Chen
Ranch Hand

Joined: Dec 23, 2003
Posts: 798
Hi, all guys,
I am trying to use the "Packager" tool inside J2EE 1.4 to package all class files and XML file into EJB-JAR file. I got the syntax from Sun web site, but I am failed. Any body can tell me the right solution ? Thanks.
I use this ------ WRONG ----
packager -ejbJAR C:\test\A.class:B.class:C.class C:\test\EJB-JAR.xml myEJB.jar
Rufus BugleWeed
Ranch Hand

Joined: Feb 22, 2002
Posts: 1551
Use jar or jar task of ant.
I agree. Here's the link:
subject: EJB packager ?