RE: [dbcp] Works with JNDI, but some remarks...

2002-03-14 Thread Jason R Lee
tion is transparent for application. It would be nice to join "my approach" and youth. But I am not sure DBCP is ready for that. Thanks again! Jason R Lee wrote: > > Well, > > Here's some sample code for a servlet registration in web.xml: > > registers

RE: [dbcp] Works with JNDI, but some remarks...

2002-03-14 Thread Jason R Lee
omcat. Let me few stupid questions please: 1. I can write servlet which will do pool creation and JNDI registration. But how to set it up to start it upon init of the container? 2. How to setup servlet upon init of Tomcat? Thanks in advance! Jason R Lee wrote: > > All users will definitely be ap

RE: [dbcp] Works with JNDI, but some remarks...

2002-03-14 Thread Jason R Lee
All users will definitely be application scope. To further that, it would probably be best to have a servlet, upon init of the container, start the connection pool and then register it via JNDI. Then your bean would be accessing that instead of creating it every time they are needed. The whole

RE: Db bean issue

2002-03-12 Thread Jason R Lee
Commons Developers List Cc: Subject:Re: Db bean issue Jason R Lee wrote: > > Ya, I guess turbine is more of a 'struts for the back end' so maybe i need to narrow >my approache or view like you're saying. > I'm not sure what to make of this statemen

RE: Db bean issue

2002-03-12 Thread Jason R Lee
o: Jakarta Commons Developers List Cc: Subject: Re: Db bean issue jakarta-turbine-torque john mcnally Jason R Lee wrote: > > Hello anyone who's out there, > > I have an 'issue' that is rearing its head again and wld like to get anyones take on it. It concerns beans &

RE: Db bean issue

2002-03-11 Thread Jason R Lee
Commons Developers List Cc: Subject:Re: Db bean issue jakarta-turbine-torque john mcnally Jason R Lee wrote: > > Hello anyone who's out there, > > I have an 'issue' that is rearing its head again and wld like to get anyones take on >it. It concerns beans &a

Db bean issue

2002-03-11 Thread Jason R Lee
Hello anyone who's out there, I have an 'issue' that is rearing its head again and wld like to get anyones take on it. It concerns beans & db and the lack (or maybe not) of a kinda jakarta proj/framework like struts, but addresses the back end. I know, there's EJB, etc... But, after working on