I have been working with Jboss for 2 years now and I still feel like a beginner. So plesae forgive me if this is a stupid question.
When writing a client that accesses an EJB is it good/bad practice to cache the Home interface received by a findByPrimaryKey() call? My concern is how much of a performance hit is it to execute that findByPrimaryKey() call each time? Wouldn't it be better to execute it once and then stick the result in a static variable for later re-use? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3906853#3906853 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3906853 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
