MIke Porter asks about generic Home objects:
>> Has anybody else implemented something like this?
>I've implemented this type of feature to allow you to take advantage of
>polymorphism in the creation of EJB objects and execution of finder
>methods...
>You can find it at:
> http://www.chaeron.com
I've extended EJBeanManager to deal with EJB servers such as IBM WebSphere
that use RMI/IIOP and JNDI/COSNaming.
The idea is to tell EJBeanManager to use a HomeHelper class to perform a
narrow
operation on the org.omg.CORBA.Object returned by JNDI/COSNaming
Class helperclass = Class.forName(phhelperclass);
Method mnarrow = helperclass.getMethod("narrow",new
Class[]{org.omg.CORBA.Object.class});
home = (EJBHome)mnarrow.invoke(null,new Object[]{ pobj });
Anybody interested in the code, just let me know.
I'm sending a copy to Andrzej
Best regards
Javier Borrajo
I+D Spain
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".