Subhash Sankuratripati wrote:
> 
> Hello,
>         I would like to use torque(w/out turbine) in our
> project and would run it in either websphere or a
> weblogic application server..
> 
> I have a few questions that I would appreciate if you
> guys could answer..
> 
> o) Has any body used torque with Entity Beans, using
> torque as the Bean managed persistence enabler?. It
> can be done, but is it worth it?.
> 
> o) Does it pool the Base objects, or does it create
> them every time?.

torque-3.0 has Managers which use JCS (from turbine-stratum) to cache
the objects.  Pooling has not been added.

> 
> o) Are there any other alternatives to storing the
> password in the properties file itself?.

I have been working on this, though when I started there was not an open
source connection pool available as a standalone product.  I started
commons-sandbox/jdbc2pool to create such a pool.  There are two versions
one based on torque's current pool and one based on dbcp.  There is also
a Datasource /ObjectFactory arrangement in dbcp that can work though it
does not currently implement PreparedStatement pooling.  As these
alternatives now exist, I have merged the branch for separating the
connection pool back into my working copy.  I plan to commit this after
3.0 final is tagged.  It would probably be enough of a change to get a
quick 3.1. 

> 
> o) Is there any specific reason why the default code
> generation for selects does not use doPSSelect, and
> does the doSelect instead?. I have a read in the mail
> list archives that the best way to use select
> statements is to change the doselect() call to a
> dopsselect() call
> 

Changing the default to doPSSelect would be good.  Especially given
prepared statment pooling.

> o) This is my managers question :-) :Does it have any
> known issues with performance under heavy loads?.
> 

no.

> o) Also which version of torque is really independent
> of turbine?. is the 3.0b1 or the 2.1?. I could get the
> 2.1 version of the file from the turbine release
> directory.
> 

3.0

> o) Does torque have any transaction manager of its
> own? from the looks of it, it looks like it is not.
> 

no

> Thanks in advance, -Subhash.
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Sports - live college hoops coverage
> http://sports.yahoo.com/
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to