Some other points that I missed about the 'EJB Connection Factory' earlier.
1 - The InitialContext that is created is also cached and will relate to the first component that uses the factory, this means that only the ejb-ref values from the first component that uses the factory will be used. 2 - It is possible that mutliple threads will access the same InitialContext instance concurently, the API says this must not happen as the implementation may not be thread safe. 3 - Although I don't see it is a major issue the HashMap is synchronized. The EJB spec says that component shouldn't (Or that might be must not) use synchronized code. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847744#3847744 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3847744 ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
