struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stanl...@gmail.com
Subject Re: Connection Pooling with Struts
Date Tue, 07 Dec 2010 22:19:48 GMT
Dude, I can't sit quietly any longer!  How you connect to a database has
NOTHING WHATSOEVER to do with the Struts/2 Framework.  I would advise you to
keep the two separated in your mind.  Much like you wouldn't look to a
Database connection to serve a web page, neither should you look to Struts/2
as a Database connection.

On Tue, Dec 7, 2010 at 3:36 PM, Anjib Mulepati <anjibcs@hotmail.com> wrote:

> So I can use this DBCP Componenet instead of framework?
>
> Anjib
>
>  E.g -. http://commons.apache.org/dbcp/
>>
>> On Tue, Dec 7, 2010 at 4:27 PM, Dave Newton<davelnewton@gmail.com>
>>  wrote:
>>
>>  A connection pooling library?
>>>
>>> On Tue, Dec 7, 2010 at 4:25 PM, Anjib Mulepati<anjibcs@hotmail.com>
>>> wrote:
>>>
>>>  Ok now I get confuse. I was thinking simple JDBC can't  (or complex to )
>>>> handle connection pooling. So framework make work easy. If framework is
>>>>
>>> not
>>>
>>>> used what are other alternatives to handle connection pooling beside
>>>> JDBC
>>>> itself?
>>>>
>>>> Anjib
>>>>
>>>>
>>>> On 12/7/2010 4:20 PM, Arthur Neves wrote:
>>>>
>>>>  Nop,
>>>>>
>>>>> You dont need using a framework... if you pick one just will make your
>>>>> life
>>>>> easier!
>>>>> If you`re starting a new project I`d get one framework, however if the
>>>>> project it`s already ready, just keep doing in the same way!
>>>>>
>>>>> On Tue, Dec 7, 2010 at 3:36 PM, Anjib Mulepati<anjibcs@hotmail.com>
>>>>>  wrote:
>>>>>
>>>>>  I was thinking for Hibernate.
>>>>>
>>>>>> So only way for struts is use one of these framework?
>>>>>>
>>>>>> Anjib
>>>>>>
>>>>>>
>>>>>> On 12/7/2010 3:26 PM, Johannes Geppert wrote:
>>>>>>
>>>>>>  in java you have the choose which way is the best for your project
to
>>>>>>
>>>>>>> handle
>>>>>>> databases.
>>>>>>>
>>>>>>> there exists several frameworks for this job like hibernate,
myBatis,
>>>>>>> spring
>>>>>>> jdbc tempalate, ... .
>>>>>>> google for it and look which framework is the best for your project.
>>>>>>>
>>>>>>> Johannes
>>>>>>>
>>>>>>>
>>>>>>> anjibman wrote:
>>>>>>>
>>>>>>>  I have to do DB connection (Oracle 10g) in my application developed
>>>>>>>
>>>>>> in
>>>
>>>> Struts 1.3.8.
>>>>>>>>
>>>>>>>> Currently I am implementing JDBC. As far I understand this
is not a
>>>>>>>> good
>>>>>>>> technique for real project. So I am hoping someone could
suggest me
>>>>>>>>
>>>>>>> how
>>>
>>>> to do DB handling efficiently?
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>> Anjib
>>>>>>>>
>>>>>>>>
>>>>>>>> ---------------------------------------------------------------------
>>>>>>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>>>>>>> For additional commands, e-mail: user-help@struts.apache.org
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>  -----
>>>>>>>>
>>>>>>> ---
>>>>>>> web: http://www.jgeppert.com
>>>>>>> twitter: http://twitter.com/jogep
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>  ---------------------------------------------------------------------
>>>>>>>
>>>>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>>>>> For additional commands, e-mail: user-help@struts.apache.org
>>>>>>
>>>>>>
>>>>>>
>>>>>>  ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>>> For additional commands, e-mail: user-help@struts.apache.org
>>>>
>>>>
>>>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message