RALPH ROPER wrote:

hi,

this may seem like an obvious question. Can I use the EJBProxyFactory to
access a local EJB? This seems to be possible by changing the NameLookup
property on the class. The only examples I have seen are for a remote EJB.
One thing that makes me hesitate is that Spring uses separate Remote and
Local EJB classes.


They should be implemented differently as the remote needs a PortableRemoteObject.narrow(...), while the local doesn't need this due to being a real object and not a stub.

A general solution for doing a typesafe lookup from JNDI would be interesting (for JMS QueueConnectionFactories and Queues, DataSources, MailSession's and general serialized objects put into JNDI).


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to