Thank you Shawn for this information. Actually, I want to understand how EJBMetaData's implementation class "CORBAEJBMetaData" is unmarshalled in glassfish? Because I see it's marshalled in the GIOP stream sent to glassfish. but, glassfish's classpath does not have geronimo libs, seems the unmarshalling is impossible?
Very appreciate If anyone could shade a light on this. Forrest On Wed, May 4, 2011 at 9:32 AM, Shawn Jiang <[email protected]> wrote: > Following code is used to marshal/unmarshal EJBMetaData > > /openejb-client/src/main/java/org/apache/openejb/client/EJBHomeHandle.java > > org.apache.openejb.client.EJBHomeHandle.writeExternal(ObjectOutput) > org.apache.openejb.client.EJBHomeHandle.readExternal(ObjectInput) > > > Other possible related classes inclued: > > org.apache.openejb.client.EJBObjectHandle.readExternal(ObjectInput) > org.apache.openejb.client.EJBHomeProxyHandle.writeExternal(ObjectOutput) > > > On Wed, May 4, 2011 at 12:24 AM, Forrest Xia <[email protected]> wrote: > >> Hi, >> >> Does anyone know where the EJBHome.getEJBMetaData() actually happens in a >> corba call like this? >> >> InitialContext ic = new InitialContext(); >> Object o = ic.lookup("java:comp/env/ejb/HelloBean"); >> HelloHome beanHome = (HelloHome) PortableRemoteObject.narrow(o, >> HelloHome.class); >> Hello beanRef = beanHome.create("Tom", props); >> EJBMetaData metadata = beanHome.getEJBMetaData(); >> >> I am asking the dynamic method "getEJBMetaData()" is generated on the >> corba client side or the corba server side? or getEJBMetaData will trigger >> some GIOP stream interactions between the corba client and server? >> >> Forrest >> > > > > -- > Shawn >
