• Post Reply Bookmark Topic Watch Topic
  • New Topic

Putting EJBs into JARs

 
ravinderSingh singh
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I know that to JAR a single bean component you use a command similiar to (assuming all the component interfaces + bean class are in the com/classes/beans/one directory):

jar cf my_jar_file.jar com/classes/beans/one/*.class META-INF/ejb-jar.xml

However, if I also have another bean component in the directory com/classes/beans/two how can I modify the JAR utility to include this component also?

Thanks
 
Mike Henry
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try...


jar uf my_jar_file.jar com/classes/beans/two/*.class


Mike H
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!