Re: Connection Pooling with Struts

2010-12-08 Thread Anjib Mulepati

Sure I will

For time being I used DBCP.

Anjib

On 12/8/2010 12:54 PM, adam pinder wrote:


Anjib,

i'd certainly take a look at hibernate, i've been using it for a while now and 
find it easy enough and functionally rich enough for most things.

adam



Date: Tue, 7 Dec 2010 14:36:01 -0500
From: anji...@hotmail.com
To: user@struts.apache.org
Subject: Connection Pooling with Struts

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-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org






-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



RE: Connection Pooling with Struts

2010-12-08 Thread adam pinder

 
Anjib,
 
i'd certainly take a look at hibernate, i've been using it for a while now and 
find it easy enough and functionally rich enough for most things.
 
adam

 
> Date: Tue, 7 Dec 2010 14:36:01 -0500
> From: anji...@hotmail.com
> To: user@struts.apache.org
> Subject: Connection Pooling with Struts
> 
> 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-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 
  

RE: Connection Pooling with Struts

2010-12-07 Thread Martin Gainty

careful stan..he has a PhD from an Indian University!

Martin 
__ 
Man1: in my next life I want to be an attorney from the Middle-East
Man1: why do you want to be an attorney from the Middle-East?
Man1: so i can work for an American Company




> Date: Tue, 7 Dec 2010 16:19:48 -0600
> Subject: Re: Connection Pooling with Struts
> From: stanl...@gmail.com
> To: user@struts.apache.org
> 
> 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  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
> >>  wrote:
> >>
> >>  A connection pooling library?
> >>>
> >>> On Tue, Dec 7, 2010 at 4:25 PM, Anjib Mulepati
> >>> 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
> >>>>>  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-unsubscr...@struts.apache.org
> >>>>>>>> For additional commands, e-mail: user-h...@struts.apache.org
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>  -
> >>>>>>>>
> >>>>>>> ---
> >>>>>>> web: http://www.jgeppert.com
> >>>>>>> twitter: http://twitter.com/jogep
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>  -
> >>>>>>>
> >>>>>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> >>>>>> For additional commands, e-mail: user-h...@struts.apache.org
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>  -
> >>>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> >>>> For additional commands, e-mail: user-h...@struts.apache.org
> >>>>
> >>>>
> >>>>
> >
> > -
> > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> > For additional commands, e-mail: user-h...@struts.apache.org
> >
> >
  

Re: Connection Pooling with Struts

2010-12-07 Thread Ty Connell
Then you should be asking on the appropriate list.

http://www.catb.org/~esr/faqs/smart-questions.html#forum

On Tue, Dec 7, 2010 at 6:15 PM, Anjib  wrote:

>
>  Dude
> I am asking about ORM tool not Struts framework itself.
>
> Please see the reply from Johannes.
>
> Thanks
> Anjib
>
>
> On 12/7/2010 5:19 PM, stanl...@gmail.com wrote:
>
>> 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
>>  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
  wrote:

  A connection pooling library?

> On Tue, Dec 7, 2010 at 4:25 PM, Anjib Mulepati
> 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
>>>  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-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>>
>>
>>
>>  -
>>
>>  ---
> web: http://www.jgeppert.com
> twitter: http://twitter.com/jogep
>
>
>
>
>  -
>
>  To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org




  -

>>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>>
>>
>>  -
>>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>>> For additional commands, e-mail: user-h...@struts.apache.org
>>>
>>>
>>>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


Re: Connection Pooling with Struts

2010-12-07 Thread Dave Newton
On Tue, Dec 7, 2010 at 6:15 PM, Anjib wrote:

> I am asking about ORM tool not Struts framework itself.
>

I think the point was more along the lines of "why are you asking here,"
since you're not asking about the Struts framework.

Dave


Re: Connection Pooling with Struts

2010-12-07 Thread Anjib


 Dude
I am asking about ORM tool not Struts framework itself.

Please see the reply from Johannes.

Thanks
Anjib

On 12/7/2010 5:19 PM, stanl...@gmail.com wrote:

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  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
  wrote:

  A connection pooling library?

On Tue, Dec 7, 2010 at 4:25 PM, Anjib Mulepati
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
  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-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org




  -


---
web: http://www.jgeppert.com
twitter: http://twitter.com/jogep



  -


To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



  -

To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org




-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org





-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Connection Pooling with Struts

2010-12-07 Thread stanlick
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  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
>>  wrote:
>>
>>  A connection pooling library?
>>>
>>> On Tue, Dec 7, 2010 at 4:25 PM, Anjib Mulepati
>>> 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
>  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-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org




  -

>>> ---
>>> web: http://www.jgeppert.com
>>> twitter: http://twitter.com/jogep
>>>
>>>
>>>
>>>  -
>>>
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>>
>>
>>  -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org



>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


Re: Connection Pooling with Struts

2010-12-07 Thread Anjib Mulepati

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  wrote:


A connection pooling library?

On Tue, Dec 7, 2010 at 4:25 PM, Anjib Mulepati
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
  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-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org




  -

---
web: http://www.jgeppert.com
twitter: http://twitter.com/jogep


  -

To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org




-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org





-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Connection Pooling with Struts

2010-12-07 Thread Ty Connell
E.g -. http://commons.apache.org/dbcp/

On Tue, Dec 7, 2010 at 4:27 PM, Dave Newton  wrote:

> A connection pooling library?
>
> On Tue, Dec 7, 2010 at 4:25 PM, Anjib Mulepati 
> 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
> >>  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-unsubscr...@struts.apache.org
> > For additional commands, e-mail: user-h...@struts.apache.org
> >
> >
> >
> >
> >  -
>  ---
>  web: http://www.jgeppert.com
>  twitter: http://twitter.com/jogep
> 
> 
>   -
> >>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> >>> For additional commands, e-mail: user-h...@struts.apache.org
> >>>
> >>>
> >>>
> >
> > -
> > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> > For additional commands, e-mail: user-h...@struts.apache.org
> >
> >
>


Re: Connection Pooling with Struts

2010-12-07 Thread Dave Newton
A connection pooling library?

On Tue, Dec 7, 2010 at 4:25 PM, Anjib Mulepati  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
>>  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-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>
>
>
>  -
 ---
 web: http://www.jgeppert.com
 twitter: http://twitter.com/jogep


  -
>>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>>> For additional commands, e-mail: user-h...@struts.apache.org
>>>
>>>
>>>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


Re: Connection Pooling with Struts

2010-12-07 Thread Anjib Mulepati
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  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-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org





-
---
web: http://www.jgeppert.com
twitter: http://twitter.com/jogep



-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org





-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Connection Pooling with Struts

2010-12-07 Thread Dave Newton
Is the question about connection pooling, as the subject line indicates, or
is the question about generic DB handling and JDBC v. ORMs?

Dave

On Tue, Dec 7, 2010 at 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 
> 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-unsubscr...@struts.apache.org
> >>> For additional commands, e-mail: user-h...@struts.apache.org
> >>>
> >>>
> >>>
> >>>
> >> -
> >> ---
> >> web: http://www.jgeppert.com
> >> twitter: http://twitter.com/jogep
> >>
> >>
> >
> > -
> > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> > For additional commands, e-mail: user-h...@struts.apache.org
> >
> >
>


Re: Connection Pooling with Struts

2010-12-07 Thread Arthur Neves
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  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-unsubscr...@struts.apache.org
>>> For additional commands, e-mail: user-h...@struts.apache.org
>>>
>>>
>>>
>>>
>> -
>> ---
>> web: http://www.jgeppert.com
>> twitter: http://twitter.com/jogep
>>
>>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


Re: Connection Pooling with Struts

2010-12-07 Thread Anjib Mulepati

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-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org





-
---
web: http://www.jgeppert.com
twitter: http://twitter.com/jogep




-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Connection Pooling with Struts

2010-12-07 Thread Johannes Geppert

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-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 
> 
> 


-
---
web: http://www.jgeppert.com
twitter: http://twitter.com/jogep

-- 
View this message in context: 
http://old.nabble.com/Connection-Pooling-with-Struts-tp30399631p30400023.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Connection Pooling With Struts

2004-11-05 Thread Peng Tuck
Tomcat can provide a connection pool, you just have to configure the 
pool and look up the resource in your application. The details can be 
found here :
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-howto.html

Tushar Agrawal wrote:
Hi Freinds,
I am using struts-config default connection pooling with mysql. In future we may migrate to Oracle or SQL Server 2000 . Can you please tell me the best way of implementing connection pooling in struts with database as MySQL and Oracle 9i. 

Thanks 

Tushar Agrawal 


			
-
Do you Yahoo!?
Check out the new Yahoo! Front Page.  www.yahoo.com/a
 


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


RE: Connection Pooling With Struts

2004-11-04 Thread David G. Friedman
Hibernate (it has a Struts plugIn) can set those up automatically for you
and connect to both using the same API.
http://www.hibernate.org

Regards,
David

-Original Message-
From: Tushar Agrawal [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 04, 2004 11:08 PM
To: Struts Mailing List
Subject: Connection Pooling With Struts



Hi Freinds,

I am using struts-config default connection pooling with mysql. In future we
may migrate to Oracle or SQL Server 2000 . Can you please tell me the best
way of implementing connection pooling in struts with database as MySQL and
Oracle 9i.

Thanks

Tushar Agrawal




-
Do you Yahoo!?
 Check out the new Yahoo! Front Page.  www.yahoo.com/a


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