• Post Reply Bookmark Topic Watch Topic
  • New Topic

problem in Create jar

 
nikita kale
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

hi
i'm trying to create a jar without using the deployer tool.
i ve done all the steps given in WL 5.0 docs but the jar doesn't
get created .where do i get the exact steps and the explanation
of each of these?
 
sachin sachdeva
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Nikita
i am expalining all the steps
suppose you are having a package BeanExample
within this directory create a directory structure for clearity
BeanExample
ejbclasses
Meta-INF
Compile ur classes in ejbclasses
BeanExample> javac -d ejbclasses *.java
BeanExample>jar -cvf temp.jar META-INF -C ejbclasses .
BeanExample>weblogic.ejbc temp.jar final.jar
In the First step it will compile the classes in ejbclasses
In the second step it will create a temporary jar
in the last step it will create the jar file to be deployed (Contains container classes)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!