• 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Compile and deploy ejb2.0 on weblogic 6.0

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, everybody,
It seems that weblogic 6.0 supports ejb2.0, but when I use weblogic.ejbc to build ejb2.0 project, it will complain "local-home" in ejb-jar.xml.
Does somebody have experience on deploying ejb2.0 to weblogic 6.0?
Regards.
 
Author
Posts: 350
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I had a lot of problems trying to run EJB 2.0 on WebLogic 6.x.
When I tried the same thing on WebLogic 7.x, the same app worked fine.
Here is an example that I know works on WebLogic 7.x, but I have not tested this on WebLogic 6.x.
I know it works with 7.x
http://www.rickhightower.com/ejbql1.zip
Its taken from this tutorial.
http://www.rickhightower.com/ejbcmpcmrtut.html
 
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
WebLogic 6.0 was out before EJB 2.0. You can download an extension jar to enable EJB 2.0 features, but still it is a pre-release version of 2.0 and also not a full implementation. It's basically just a "2.0 preview".
6.1 was better, but I don't remember the exact certifications.
7.0 is fully J2EE 1.3 (which includes EJB 2.0).
 
Rick Hightower
Author
Posts: 350
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dave that was my experience as well.
I used 6.1 and somethings just did not work.
I upgraded to 7.0 and everything worked.
 
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Philip Yang,
to enable ejb2.0 features in weblogic6.0 you have to copy the ejb20.jar file in server/lib directory. by default wls6.0 supports ejb1.1.
you can download this jar file from
http://commerce.bea.com/downloads/products.jsp

try with this it helps u.
regards,
seenu
 
Philip Yang
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for all your help.
 
Rick Hightower
Author
Posts: 350
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Seenu R
I did not know you could get ejb 2.0 to work properly in wl 6.x.
I thought you had to switch to wl 7
 
For my next feat, I will require a volunteer from the audience! Perhaps this tiny ad?
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic