AW: Maven and JPA/EclipseLink Configuration...

2013-07-11 Thread christofer.d...@c-ware.de
persistence.xml files. Don't quite know why my confluence is so slow at the Moment ... will have a look at this tonight. Chris Von: John Patrick [nhoj.patr...@gmail.com] Gesendet: Dienstag, 9. Juli 2013 18:50 An: Maven Users List Betreff: Maven and JPA/EclipseLink

Re: Maven and JPA/EclipseLink Configuration...

2013-07-11 Thread Stephen Connolly
Von: John Patrick [nhoj.patr...@gmail.com] Gesendet: Dienstag, 9. Juli 2013 18:50 An: Maven Users List Betreff: Maven and JPA/EclipseLink Configuration... I'm working on a project that uses JPA EclipseLink, everything started of fine with Jetty

AW: Maven and JPA/EclipseLink Configuration...

2013-07-11 Thread christofer.d...@c-ware.de
here knows how to do so, I would be glad for some Input on this ;-) Chris Von: Stephen Connolly [stephen.alan.conno...@gmail.com] Gesendet: Donnerstag, 11. Juli 2013 11:14 An: Maven Users List Betreff: Re: Maven and JPA/EclipseLink Configuration

Re: Maven and JPA/EclipseLink Configuration...

2013-07-11 Thread Stephen Connolly
[stephen.alan.conno...@gmail.com] Gesendet: Donnerstag, 11. Juli 2013 11:14 An: Maven Users List Betreff: Re: Maven and JPA/EclipseLink Configuration... That looks like a Spring only solution I wonder is there a pure JavaEE counterpart On 11 July 2013 09:56, christofer.d...@c-ware.de christofer.d

Re: Maven and JPA/EclipseLink Configuration...

2013-07-11 Thread Stephen Connolly
An: Maven Users List Betreff: Re: Maven and JPA/EclipseLink Configuration... That looks like a Spring only solution I wonder is there a pure JavaEE counterpart On 11 July 2013 09:56, christofer.d...@c-ware.de christofer.d...@c-ware.dewrote: You could have a look at my Wiki article about

Re: Maven and JPA/EclipseLink Configuration...

2013-07-10 Thread John Patrick
On 10 Jul 2013, at 06:05, Baptiste MATHUS bmat...@batmat.net wrote: If those properties are specific to eclipselink, then I think it's ok and simpler to just leave them in the persistence.xml even if they're actually not used when EclipseLink isn't the provider. Then package only one ear.

Re: Maven and JPA/EclipseLink Configuration...

2013-07-10 Thread Stephen Connolly
Well the first thing I would look towards is whether you can use an application server specific deployment descriptor to tweak the effective persistence.xml at deployment time. I am not saying that the above is possible, but if it is, then that is obviously the way to go as you then can just

Re: Maven and JPA/EclipseLink Configuration...

2013-07-10 Thread Ron Wheeler
Where does an installer fit in this vision? It seems to me, having installed thousands of programs as a Windows user and Linux system administrator, that a lot of the discussion about deployment issues seem to ignore the role of installers (rpm, msi, izPack, etc.). They are specifically

Re: Maven and JPA/EclipseLink Configuration...

2013-07-10 Thread Stephen Connolly
Well if it is an interactive installer then it can do the configuration for you... But with a JavaEE application you don't know: 1. What application container they have 2. What database they have 3. Where the application container picks up deployed apps 4. How the user wants the app deployed in

Re: Maven and JPA/EclipseLink Configuration...

2013-07-10 Thread Ron Wheeler
On 10/07/2013 10:06 AM, Stephen Connolly wrote: Well if it is an interactive installer then it can do the configuration for you... It needs to be interactive in some way if you want to handle a variety of environments. ./configure make install (you hope that you don't end up with something

Re: Maven and JPA/EclipseLink Configuration...

2013-07-10 Thread Stephen Connolly
On 10 July 2013 15:52, Ron Wheeler rwhee...@artifact-software.com wrote: On 10/07/2013 10:06 AM, Stephen Connolly wrote: Well if it is an interactive installer then it can do the configuration for you... It needs to be interactive in some way if you want to handle a variety of

Re: Maven and JPA/EclipseLink Configuration...

2013-07-10 Thread Ron Wheeler
I agree with a lot of the JCP description of the deployer role. I also think that they are oriented to a small portion of the deployment world. Most of the time the person doing deployments has a third party product from a vendor and does not have the source code and does not even have any

Maven and JPA/EclipseLink Configuration...

2013-07-09 Thread John Patrick
I'm working on a project that uses JPA EclipseLink, everything started of fine with Jetty for developers development and WebLogic and Oracle proper ear deployments. EclipseLink has two values that need to be set in persistence.xml depending upon your Application Server and Database;

Re: Maven and JPA/EclipseLink Configuration...

2013-07-09 Thread Richard Vowles
On Wed, Jul 10, 2013 at 4:50 AM, John Patrick nhoj.patr...@gmail.comwrote: I'm working on a project that uses JPA EclipseLink, everything started of fine with Jetty for developers development and WebLogic and Oracle proper ear deployments. People still do that? Wow, thats educational in and

Re: Maven and JPA/EclipseLink Configuration...

2013-07-09 Thread Baptiste MATHUS
If those properties are specific to eclipselink, then I think it's ok and simpler to just leave them in the persistence.xml even if they're actually not used when EclipseLink isn't the provider. Then package only one ear. Cheers 2013/7/9 John Patrick nhoj.patr...@gmail.com I'm working on a