aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Local and LocalHome Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Local and LocalHome" Watch "Local and LocalHome" New topic
Author

Local and LocalHome

Ranajit Jana
Greenhorn

Joined: Jun 11, 2000
Posts: 4
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.

 
wood burning stoves
 
subject: Local and LocalHome