Is there anything wrong with instantiating only one JDO object to use throughout an 
entire application?  If I were doing a web application with multiple servlets, coding 
the instantiation only once would be the best way to save some time and effort.

                JDO jdo = new JDO();
                jdo.setDatabaseName("jaguar");
                
jdo.setConfiguration(getClass().getResource("/database.xml").toString());
                jdo.setClassLoader(getClass().getClassLoader());

If I did do this only once, where would I store the JDO object?  Does anyone that has 
done web development with castor have any suggestions?

___________________________________________________
Michael Blake Day
Nextel Communications, Inc.
email: [EMAIL PROTECTED]
desk: 678.966.4792 

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to