Win a copy of liveProject: Protecting User Data with Spring Security and OAuth2 this week in the Spring 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • paul wheaton
  • Devaka Cooray
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Piet Souris
  • salvin francis
  • Mikalai Zaikin
  • Himai Minh

Local and LocalHome

Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to use the Local and Local home interface in weblogic 6.0 as it supports the EJB2.0 specification. The Bean which I have written now extends EJBLocalObject and EJBLocalHome . The Java source compiles but when I compile ejb with ejbc the deployment descriptor <local><local-home> it complained. When the EJB20-dtd of weblogic.jar is replaced with the down loaded xml from the sun site it took it but exception is thrown at the transaction dexcriptor
that is at weblogic.xml.process.SAXValidationException
which says ejb-jar.assembly-descriptor.container-transaction.method.method-intf must have value Home,Remote.
but the documentation of ejb-jar mentions the values can be
The method-intf element must be one of the following:
<method-intf>Home</method-intf> <method-intf>Remote</method-intf> <method-intf>LocalHome</method-intf> <method-intf>Local</method-intf>

I am sure the weblogic.jar which comes along with weblogic 6.0 doesnot support Local bean call.
Can some body tell me If I can get the later version of this jar or a way out.

    Bookmark Topic Watch Topic
  • New Topic