Re: persistent data storage - the right way

2004-02-17 Thread Paul Thomas
On 16/02/2004 10:25 Turner Benjamin wrote: Thomas, The simple answer is that you don't. Struts has nothing to do with data persistence. What I think you're really asking is how to implement persistence in a web application. I do realise that. My question was indeed how to implement such a

Re: persistent data storage - the right way

2004-02-16 Thread Paul Thomas
On 15/02/2004 12:26 Ben Turner wrote: hello, i have been looking (in vain) for a description how to implement database access in struts correctly. i would like to use the DAO (data access object) pattern in combination with datasources for connection pooling. however, i am having a hard way

RE: persistent data storage - the right way

2004-02-16 Thread Turner Benjamin
Thomas, The simple answer is that you don't. Struts has nothing to do with data persistence. What I think you're really asking is how to implement persistence in a web application. I do realise that. My question was indeed how to implement such a thing. Well, I suppose you could use the

Re: persistent data storage - the right way

2004-02-16 Thread Mark Lowe
List Subject: Re: persistent data storage - the right way is Hibernate another good alternative ? --- Oliver Thiel [EMAIL PROTECTED] wrote: Hi, you can use iBatis [http://www.ibatis.com/] and take a look at this example/tutorial: http://www.reumann.net/do/struts/ibatisLesson1 (using: Struts - DAO

R: persistent data storage - the right way

2004-02-16 Thread Leonardo Francalanci
: lunedi 16 febbraio 2004 11.09 A: Struts Users Mailing List Oggetto: Re: persistent data storage - the right way One advantage hibernate has over ibatis is xdoclet support. You can generate your mapping files from xdoclet comments which means that you have the mappings and java code in the same

Re: R: persistent data storage - the right way

2004-02-16 Thread Paul-J Woodward
To: Struts Users Mailing List [EMAIL PROTECTED] cc: Subject:R: persistent data storage - the right way I think that with hibernate you don't need to write sql code to save/update/delete your objects or to retrieve objects by their id, with ibatis you have to write all

[OT] persistent data storage - the right way

2004-02-16 Thread Leonardo Francalanci
2004 13.26 A: Struts Users Mailing List Oggetto: Re: R: persistent data storage - the right way Leonardo, You're correct. Unless you want to do specific queries on the database the hibernate layer takes care of all queries to the database. If you do have to do clever stuff, be sure

Re: [OT] persistent data storage - the right way

2004-02-16 Thread Paul-J Woodward
:[OT] persistent data storage - the right way I already use hibern8ide, I also use JFaceDb plugin for eclipse to get a first skeleton of configuration files from my tables. I don't know what JOI is: could you point me to some links? -Messaggio originale- Da: Paul-J Woodward

persistent data storage - the right way

2004-02-15 Thread Ben Turner
hello, i have been looking (in vain) for a description how to implement database access in struts correctly. i would like to use the DAO (data access object) pattern in combination with datasources for connection pooling. however, i am having a hard way figuring out how to implement the whole and

Re: persistent data storage - the right way

2004-02-15 Thread Oliver Thiel
Hi, you can use iBatis [http://www.ibatis.com/] and take a look at this example/tutorial: http://www.reumann.net/do/struts/ibatisLesson1 (using: Struts - DAO - iBatis ) I think this is what your looking for. Oliver hello, i have been looking (in vain) for a description how to implement

Re: persistent data storage - the right way

2004-02-15 Thread lixin chu
is Hibernate another good alternative ? --- Oliver Thiel [EMAIL PROTECTED] wrote: Hi, you can use iBatis [http://www.ibatis.com/] and take a look at this example/tutorial: http://www.reumann.net/do/struts/ibatisLesson1 (using: Struts - DAO - iBatis ) I think this is what your

RE: persistent data storage - the right way

2004-02-15 Thread David Friedman
I use hibernate so, yes, I think it is a good alternative. :) Regards, David -Original Message- From: lixin chu [mailto:[EMAIL PROTECTED] Sent: Sunday, February 15, 2004 8:56 PM To: Struts Users Mailing List Subject: Re: persistent data storage - the right way is Hibernate another good