Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Local and LocalHome

 
Ranajit Jana
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • 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.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic