I know that the jdk implements synchronization is a recursive way, but I need to clear up a burning question in my mind. Lets say I have a bean with a synchronized public getData() method. This method calls a private method called getDataFromDB() that uses the standard DataSource pattern to get data from a db to populate instance variables. Since I synchronized getData(), do I also need to synchronize getDataFromDB()? The scope of this bean is "request" when called from a jsp. Thanks and sorry for the dumb question.
B View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961867#3961867 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961867 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user