Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

How to create the jar for deployment

Ranch Hand
Posts: 264
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all
can anyone tell me a how to create the jar file on the weblogic application server (5.1) .I started off on J2SDKEE and now the things seem to be very different the Xml file is automatically generated in J2SDKEE but in WEBLOGIC im nowhere
i just cant seem to get a place where they document the things about deployment in one place......the BEA site is pretty massive and didnt help much for a simple test program .
Any clues
thanks to all
Ranch Hand
Posts: 919
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First of all, I'm assuming that you are asking about creating the EJB jar files for WLS, rather than for another Java technology. Assuming that, there are 3 xml files (2 if you are not using entity bean CMP) that you will need to set up for WLS 5.1, the latter two are for various bean and deployment specific properties:
1. ejb-jar.xml
-- as required in the EJB 1.1 specification
2. weblogic-ejb-jar.xml
-- extra deployment properties
3. weblogic-cmp-rdbms-jar.xml
-- only required when you use entity bean CMP
For simple test programs, I'd recommend looking at the examples, especially the scripts that are provided by BEA in the subdirectories of weblogic/examples/ejb/basic/*
They should give you a good idea about how to create and deploy the jar files. They take you through every step of creating a jar file. If you also look at the EJB deployment guide it should help you. It may also help to look at the EJB upgrade guide although that is written from the POV of upgrading from another version of WLS. It's still quite informative though.
Good luck!
[This message has been edited by George Brown (edited October 17, 2000).]
incandescent light gives off an efficient form of heat. You must be THIS smart to ride this ride. Tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic