Re: [S2] Struts/JPA Design Practices

2007-11-29 Thread Ted Husted
On Nov 16, 2007 11:09 AM, Adam Hardy <[EMAIL PROTECTED]> wrote: > To answer your question, I haven't had to do much to plug in OpenJPA and > Struts2 > together - in fact, I haven't had to do anything apart from decide whether I > wanted to have a filter or a Struts2 interceptor or a Spring interce

Re: [S2] Struts/JPA Design Practices

2007-11-20 Thread Ted Husted
> Hopefully that's the sort of stuff you're interested in hearing about. Yes, thanks! By "custom interceptors" I meant strategies like Open Session In View, which can be used to implement One Transaction Per Request * http://struts.apache.org/2.0.11/docs/non-ioc-version-of-opensessioninviewint

Re: [S2] Struts/JPA Design Practices

2007-11-16 Thread Gary Affonso
Ted Husted wrote: I know the JPA is growing in popularlity among Struts developers. I was wondering if there are certain Struts 2 features that people where finding useful in using JPA or Hibernate 3 For us it's Hibernate 3 still. We'll be moving to JPA in the code (with Hibernate as the unde

Re: [S2] Struts/JPA Design Practices

2007-11-16 Thread Adam Hardy
Hi Ted, I'm developing a framework (which someone else called 'featherweight') to integrate 'your package of choice' of IoC, JPA, transaction management, domain-driven tiers and servlet MVC without EJB. To answer your question, I haven't had to do much to plug in OpenJPA and Struts2 together

[S2] Struts/JPA Design Practices

2007-11-16 Thread Ted Husted
Over on dev@, a couple of us are working on a JPA MailReader. Rather than just try and port the old version, we're also refactoring the internal design so that it's more in line with the JPA overall. I know the JPA is growing in popularlity among Struts developers. I was wondering if there are cer