We use with static initilized class. Every db request maintained by this class. You can call it as a wrapper or utiliy class. Impressed from one castor sample related to jboss If I remember correctly
Ender -----Original Message----- From: Francisco Hernandez [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 1:08 PM To: [EMAIL PROTECTED] Subject: [castor-dev] whats the proper way of using Castor JDO in servlets? what is the proper way of using Castor JDO in servlets? right now im basically doing all the mapping file and database file loading in every different servlet should i put my Database object into the application scope? or what other strategy do you guys use? ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
