Hi, I'm moving you to jboss-user.
Answers in line. Regards, Adrian >From: "Rishikesh Tembe" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: [JBoss-dev] container and dynamic proxies >Date: Thu, 10 Oct 2002 04:43:36 UT > >hi, > >I had 3 questions about the container which I wasnt able to figure out, >and would be glad if someone could help: > >1. Is there one container created per deployed bean or one container per >bean type? There is one container per ejb, it is an MBean with the object name jboss.j2ee:service=EJB,jndName=Whatever Bean instances share the same org.jboss.ejb.Container. >2. When does the dynamic proxy for say, the remote interface, get created >and passed to the client? This varies with the version. 3.0 has a de-coupled invoker, 3.2 has multiple invoker bindings per container. See startService() in the containers. The proxies are bound into JNDI for retrieval by the client. >3. Say I have an entity bean and the proxy for its remote interface. Does >a method invocation on this bean get passed to Container or >EntityContainer? i.e. does Container intercept _all_ method invocations? Yes, everything goes through Container.invoke(), although not always via the MBeanServer, see BaseLocalProxyFactory. > > >thanks, >Rishi. >-- > Rishikesh Tembe > [EMAIL PROTECTED] > http://rishikesh-tembe.tripod.com > "One ring to rule them all, One ring to find them > One ring to bring them all and in the darkness bind them." > >-- >http://fastmail.fm/ - A no graphics, no pop-ups email service > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Jboss-development mailing list >[EMAIL PROTECTED] >https://lists.sourceforge.net/lists/listinfo/jboss-development _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user