design issue MVC - forms, EJB, data marshalling

2003-06-19 Thread Adam Hardy
I am starting a new app and trying to work out the best design approach. At the moment I want to get the app up and running, and so I'm just going to use tomcat and struts and achieve MVC by seperating out the database access into factory classes. At some point after I've got the project

Re: design issue MVC - forms, EJB, data marshalling

2003-06-19 Thread David Graham
I am starting a new app and trying to work out the best design approach. At the moment I want to get the app up and running, and so I'm just going to use tomcat and struts and achieve MVC by seperating out the database access into factory classes. At some point after I've got the project

Re: design issue MVC - forms, EJB, data marshalling

2003-06-19 Thread Laurent PETIT
From: David Graham [EMAIL PROTECTED] There's a project in the commons-sandbox called Mapper that may help you. It allows you to plugin persistence layers without your app knowing or changing (sort of like commons-logging). Hello, I can't find the Mapper project in the website, do you have an

Re: design issue MVC - forms, EJB, data marshalling

2003-06-19 Thread Laurent PETIT
OK, found ! It's in the cvs section of the site. - Original Message - From: David Graham [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 19, 2003 4:18 PM Subject: Re: design issue MVC - forms, EJB, data marshalling I am starting a new app and trying to work out the best

Re: design issue MVC - forms, EJB, data marshalling

2003-06-19 Thread David Graham
I can't find the Mapper project in the website, do you have an URL ? It doesn't have a website yet because I just committed it recently but you can get it out of cvs. I'm interested in any and all feedback. David Thanks, -- Laurent

Re: design issue MVC - forms, EJB, data marshalling

2003-06-19 Thread Erik Price
Adam Hardy wrote: I am starting a new app and trying to work out the best design approach. At the moment I want to get the app up and running, and so I'm just going to use tomcat and struts and achieve MVC by seperating out the database access into factory classes. At some point after I've

Re: design issue MVC - forms, EJB, data marshalling

2003-06-19 Thread Adam Hardy
I decided that I didn't have time to dive straight into EJB, although I'm taking far more time than expected on the design. Hmph! Thanks for the input. What though is POJO? Erik Price wrote: I think it would be better to employ the session facade pattern, perhaps using a Session bean, for a

Re: design issue MVC - forms, EJB, data marshalling

2003-06-19 Thread Adam Hardy
David Graham wrote: There's a project in the commons-sandbox called Mapper that may help you. It allows you to plugin persistence layers without your app knowing or changing (sort of like commons-logging). I'll check out Mapper. Thanks also for the link to the design patterns. Adam

RE: design issue MVC - forms, EJB, data marshalling

2003-06-19 Thread Mike Jasnowski
POJO = Plain Ole Java Object -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 1:01 PM To: Struts Users Mailing List Subject: Re: design issue MVC - forms, EJB, data marshalling I decided that I didn't have time to dive straight into EJB

Re: design issue MVC - forms, EJB, data marshalling

2003-06-19 Thread Laurent PETIT
Original Message - From: Mike Jasnowski [EMAIL PROTECTED] POJO = Plain Ole Java Object POJO = Plain Old Java Object ( nothing to do with Ole M$, just a typo ) -- Laurent - To

RE: design issue MVC - forms, EJB, data marshalling

2003-06-19 Thread Mike Jasnowski
Actually I wasn't referring to OLE as in M$ speak, Ole is just a short version of Old :) -Original Message- From: Laurent PETIT [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 2:17 PM To: Struts Users Mailing List Subject: Re: design issue MVC - forms, EJB, data marshalling

RE: design issue MVC - forms, EJB, data marshalling

2003-06-19 Thread David Graham
- From: Laurent PETIT [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 2:17 PM To: Struts Users Mailing List Subject: Re: design issue MVC - forms, EJB, data marshalling Original Message - From: Mike Jasnowski [EMAIL PROTECTED] POJO = Plain Ole Java Object

Re: design issue MVC - forms, EJB, data marshalling

2003-06-19 Thread Adam Hardy
David, would you happen to have an example app or at least an action where you have implemented the Mapper ? Adam David Graham wrote: I can't find the Mapper project in the website, do you have an URL ? It doesn't have a website yet because I just committed it recently but you can get it out

RE: design issue MVC - forms, EJB, data marshalling

2003-06-19 Thread Mike Jasnowski
-Original Message- From: Laurent PETIT [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 2:17 PM To: Struts Users Mailing List Subject: Re: design issue MVC - forms, EJB, data marshalling Original Message - From: Mike Jasnowski [EMAIL PROTECTED] POJO = Plain Ole Java Object

Re: design issue MVC - forms, EJB, data marshalling

2003-06-19 Thread Erik Price
Mike Jasnowski wrote: Actually I wasn't referring to OLE as in M$ speak, Ole is just a short version of Old :) But not much shorter! ;) Erik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: design issue MVC - forms, EJB, data marshalling

2003-06-19 Thread Erik Price
David Graham wrote: Actually I wasn't referring to OLE as in M$ speak, Ole is just a short version of Old :) By short, do you mean the same amount of characters ;-) ? For some reason the POJO term really irritates me. I'm not sure why we need a special nomenclature for Java objects. NB,

Re: design issue MVC - forms, EJB, data marshalling

2003-06-19 Thread David Graham
David, would you happen to have an example app or at least an action where you have implemented the Mapper ? Unfortunately, I just committed this and don't have example apps. The javadoc is pretty good (I think) but there's not much else at this point. Here's what you need to get started: 1.

Re: design issue MVC - forms, EJB, data marshalling

2003-06-19 Thread Laurent PETIT
From: David Graham [EMAIL PROTECTED] For some reason the POJO term really irritates me. I'm not sure why we need a special nomenclature for Java objects. Well, that said, why do you think guys the term POJO was invented for ? I was told that it was invented because some people only swear by

Re: design issue MVC - forms, EJB, data marshalling

2003-06-19 Thread Ted Husted
Laurent PETIT wrote: From: David Graham [EMAIL PROTECTED] For some reason the POJO term really irritates me. I'm not sure why we need a special nomenclature for Java objects. Well, that said, why do you think guys the term POJO was invented for ? I was told that it was invented because some