Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

A beginner question about deploy EJB on Weblogic 6.1

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I just installed the Weblogic 6.1. And wanted to try a simple HelloWorld ejb on it. But when I create the ejb-jar file by jar cf HelloWorld.jar *, the folder structure of within the Ejb-jar file is:
META-INFO/
META-INFO/MANIFEST.MF
ejb-jar.xml
HelloBean.class
Hello.class
HelloHome.class
Which is not like the one showing on the book:
META-INFO/MANIFEST.MF
META-INFO/ejb-jar.xml
examples/HelloBean.class
examples/Hello.class
examples/HelloHome.class
Why? Is there anything wrong with my ejb-jar.xml? But I just copy the one on the book.
Thanks a lot!
nina
 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
your jar file is wrong and the other looks fine (it should be META-INF though). the ejb-jar.xml belongs into the META-INF directory.
have a look at the very good examples which come with weblogic, there are even build scripts included which normally just work.
 
Amateurs built google. Professionals built the titanic. We can't find the guy that built this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic