JBoss Community

JNDI Referenceable objects are not resolved

created by Michael Gronau in JBoss AS 7 Development - View the full discussion

Hi,

I'm still trying to port our application from Jboss 5 to 7. I'm currently using 7.1.2 Final (current 7.2 has some bugs, so I cannot use it at the moment) and in our app we are using the Referenceable/Reference support of the jndi context. What I mean is, in JBoss 5 i can bind an object to the JNDI context, which implements the javax.naming.Referenceable interface. When i lookup this object the getReference() method is invoked and then an object instance will be created with the given ObjectFactory of the Reference. All this doesnt work in JBoss 7, is this a bug or what do i have to do in JBoss 7.x?

 

With best regards,

 

Michael Gronau

Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community