users@glassfish.java.net

Re: Exposing EJB2 as EJB3?

From: <glassfish_at_javadesktop.org>
Date: Tue, 11 Nov 2008 13:47:26 PST

Yes, many implementations do in fact support a direct cast of the 2.x Home object returned
from the lookup. However, the EJB spec still states that portable applications must use PortableRemoteObject.narrow in this case since omitting it is not guaranteed to work
on all Java EE implementations.
[Message sent by forum member 'ksak' (ksak)]

http://forums.java.net/jive/thread.jspa?messageID=316117