|
Hi,
I'm trying to integrate Castor into Orion JNDI in a
similar fashion to how JBoss does it. I bind it succesfull and it is visible
using the Orion console.
Within the ejb-jar.xml of by ejb.jar file is
specify a resource-ref:
<session>
<ejb-name>UserService</ejb-name> <home>uk.co.servsoft.servc.services.UserServiceHome</home> <remote>uk.co.servsoft.servc.services.UserService</remote> <ejb-class>uk.co.servsoft.servc.services.UserServiceBean</ejb-class> <session-type>Stateless</session-type> <transaction-type>Container</transaction-type> <resource-ref> <description>Jupiter DataObjects</description> <res-ref-name>jdo/Jupiter</res-ref-name> <res-type>org.exolab.castor.jdo.DataObjects</res-type> <res-auth>Container</res-auth> </resource-ref> </session> When I try and browse the application with the
Orion console, I get an unknown resource type error referring to the
org.exolab.castor.jdo.DataObjects class although its in the classpath (orion lib
directory).
I read in the EJB 1.1 spec that only
EJB/JDBC/Mail/JMS and URL resource types are supported, and that expansion will
covered at a later date through a connector API.
Is this what's causing my error condition ?
Is there no other way of retrieving "custom"
objects from the JNDI tree to be used within an EJB ?
Cheers,
Ijonas Kisselbach.
|
