• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Stub and skeleton generation

 
Ranch Hand
Posts: 264
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
how do i generate the stub and skeleton files....is there a way to do it from the deployer tool .....or is the ejbc from the command prompt the only way out...
please let me know
thanks
pranav
 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you are using EJB Deployer tool of weblogic then stub and skeleton is generated when you do 'generate container' in tools option.
Rishi
 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i am using weblogic 5.1
when i write on command line for creation of stub/skel,
java weblogic.ejbc Hello.ser
i get error saying you should provide the file ejb-jar something... with sufix .jar
what is this..
sachin
 
drifter
Posts: 1364
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As sachin's error message suggests, the bean needs to be in a jar to run ejbc. Here's a link to a weblogic 51 example. They use scripts to build the Enterprise JavaBean examples and the page describes what the script does and that includes making the jar and running ejbc.
http://www.weblogic.com/docs51/examples/ejb/building.html
With 6.0 (we didn't have sp1) stubs and skeletons supposed to be generated automatically, but we had to use ejbc on the jar.
[This message has been edited by Carol Enderlin (edited April 18, 2001).]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic