You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by "sensudha@gmail.com" <se...@gmail.com> on 2015/02/19 17:26:04 UTC
Tomee 1.7.1 compatible in Java 8
Hi all,
Is Tomee 1.7.1 is compatible in Java 8?
Thanks
Kayal
--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/Tomee-1-7-1-compatible-in-Java-8-tp4673794.html
Sent from the TomEE Users mailing list archive at Nabble.com.
Re: Tomee 1.7.1 compatible in Java 8
Posted by Vincenzo D'Amore <v....@gmail.com>.
Hi Kayal,
I have created a Vagrant project useful to automatically deploy Tomee into
a virtual machine.
Usually Vagrant is used with VirtualBox, but I have successfully used it
with AWS, Azure and Google Computer Engine.
During the provisioning process Java 8 is installed... so Tomee runs in
Java 8.
This is perfect for a developer that needs to create easily a development
environment from scratch (may be in the cloud).
If you're interested take a look at https://github.com/freedev/vagrant-tomee
Re: Tomee 1.7.1 compatible in Java 8
Posted by ka...@gmail.com.
I also use it with no issues
Skickat från min iPhone
> 19 feb 2015 kl. 17:59 skrev Romain Manni-Bucau <rm...@gmail.com>:
>
> Just a side note: it works while you don't abuse of it in JPA entities
> (it is only tolerated here)
>
>
> Romain Manni-Bucau
> @rmannibucau
> http://www.tomitribe.com
> http://rmannibucau.wordpress.com
> https://github.com/rmannibucau
>
>
> 2015-02-19 17:54 GMT+01:00 Jean-Louis Monteiro <jl...@tomitribe.com>:
>> Thx for the feedback Vincenzo.
>>
>> Very cool to see users answering questions from other users. That's very
>> important.
>>
>> and btw, you are right. All the bytecode processing has been updated to
>> support Java 8
>>
>> --
>> Jean-Louis Monteiro
>> http://twitter.com/jlouismonteiro
>> http://www.tomitribe.com
>>
>> On Thu, Feb 19, 2015 at 5:40 PM, Vincenzo D'Amore <v....@gmail.com>
>> wrote:
>>
>>> Hi, yes, I'm actively using it with Java 8.
>>>
>>> On Thu, Feb 19, 2015 at 5:26 PM, sensudha@gmail.com <se...@gmail.com>
>>> wrote:
>>>
>>>> Hi all,
>>>>
>>>> Is Tomee 1.7.1 is compatible in Java 8?
>>>>
>>>> Thanks
>>>> Kayal
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>> http://tomee-openejb.979440.n4.nabble.com/Tomee-1-7-1-compatible-in-Java-8-tp4673794.html
>>>> Sent from the TomEE Users mailing list archive at Nabble.com.
>>>
>>>
>>>
>>> --
>>> Vincenzo D'Amore
>>> email: v.damore@gmail.com
>>> skype: free.dev
>>> mobile: +39 349 8513251
>>>
Re: Tomee 1.7.1 compatible in Java 8
Posted by Romain Manni-Bucau <rm...@gmail.com>.
For JPA 2.1 yes, that said I'm not yet fully convinced it can be
needed for something else than geek reasons ;)
About DS: no link to CDI so why DS? :p. Then issue doing before before
specs is there is often a mismatch afterwards and you managed to use
EE to get vendor locked :) (see @Tx for instance)
Romain Manni-Bucau
@rmannibucau
http://www.tomitribe.com
http://rmannibucau.wordpress.com
https://github.com/rmannibucau
2015-02-19 19:50 GMT+01:00 jieryn <ji...@gmail.com>:
> It's a quick fix.. DeltaSpike should do it *cough cough*
>
> https://weblogs.java.net/blog/montanajava/archive/2014/06/17/using-java-8-datetime-classes-jpa
>
> On Thu, Feb 19, 2015 at 1:47 PM, Romain Manni-Bucau
> <rm...@gmail.com> wrote:
>> yes but JPA doesnt support it even in JavaEE 7
>>
>>
>> Romain Manni-Bucau
>> @rmannibucau
>> http://www.tomitribe.com
>> http://rmannibucau.wordpress.com
>> https://github.com/rmannibucau
>>
>>
>> 2015-02-19 19:43 GMT+01:00 Howard W. Smith, Jr. <sm...@gmail.com>:
>>> Agreed. Should not be too hard, since tomee has jodatime 1.6.2 dependency
>>> for years now. Right?
>>>
>>> Java 8 new Date time API = jodatime
>>> On Feb 19, 2015 1:24 PM, "cchacin" <cc...@gmail.com> wrote:
>>>
>>>> Also we need to make some hacks to use new Date & Time API.
>>>>
>>>> On Thu, Feb 19, 2015, 10:13 AM Romain Manni-Bucau [via TomEE & OpenEJB] <
>>>> ml-node+s979440n4673801h89@n4.nabble.com> wrote:
>>>>
>>>> > OpenJPA just tolerate java 8 bytecode but doesn't support new Java 8
>>>> > API so if you use them entity lifecycle can be broken. typically if
>>>> > you modify a collection using stream API instead of Collection API
>>>> > then the relationship will not get updated as exepected in the
>>>> > database. Rarely an issue in practise but abusing of JPA as domain
>>>> > objects with java 8 can lead to such issues.
>>>> >
>>>> >
>>>> > Romain Manni-Bucau
>>>> > @rmannibucau
>>>> > http://www.tomitribe.com
>>>> > http://rmannibucau.wordpress.com
>>>> > https://github.com/rmannibucau
>>>> >
>>>> >
>>>> > 2015-02-19 19:08 GMT+01:00 Suzanne Genod <[hidden email]
>>>> > <http:///user/SendEmail.jtp?type=node&node=4673801&i=0>>:
>>>> >
>>>> > > Hi,
>>>> > >
>>>> > > Would you please expand on what are TomE 1.7.1 limitations with JPA
>>>> > > entities when running with Java 8?
>>>> > >
>>>> > > Thanks,
>>>> > > Suz
>>>> > >
>>>> > > On Thu, Feb 19, 2015 at 5:59 PM, Romain Manni-Bucau <[hidden email]
>>>> > <http:///user/SendEmail.jtp?type=node&node=4673801&i=1>>
>>>> > > wrote:
>>>> > >
>>>> > >> Just a side note: it works while you don't abuse of it in JPA entities
>>>> > >> (it is only tolerated here)
>>>> > >>
>>>> > >>
>>>> > >> Romain Manni-Bucau
>>>> > >> @rmannibucau
>>>> > >> http://www.tomitribe.com
>>>> > >> http://rmannibucau.wordpress.com
>>>> > >> https://github.com/rmannibucau
>>>> > >>
>>>> > >>
>>>> > >> 2015-02-19 17:54 GMT+01:00 Jean-Louis Monteiro <[hidden email]
>>>> > <http:///user/SendEmail.jtp?type=node&node=4673801&i=2>>:
>>>> > >> > Thx for the feedback Vincenzo.
>>>> > >> >
>>>> > >> > Very cool to see users answering questions from other users. That's
>>>> > very
>>>> > >> > important.
>>>> > >> >
>>>> > >> > and btw, you are right. All the bytecode processing has been updated
>>>> > to
>>>> > >> > support Java 8
>>>> > >> >
>>>> > >> > --
>>>> > >> > Jean-Louis Monteiro
>>>> > >> > http://twitter.com/jlouismonteiro
>>>> > >> > http://www.tomitribe.com
>>>> > >> >
>>>> > >> > On Thu, Feb 19, 2015 at 5:40 PM, Vincenzo D'Amore <[hidden email]
>>>> > <http:///user/SendEmail.jtp?type=node&node=4673801&i=3>>
>>>> > >> > wrote:
>>>> > >> >
>>>> > >> >> Hi, yes, I'm actively using it with Java 8.
>>>> > >> >>
>>>> > >> >> On Thu, Feb 19, 2015 at 5:26 PM, [hidden email]
>>>> > <http:///user/SendEmail.jtp?type=node&node=4673801&i=4> <[hidden email]
>>>> > <http:///user/SendEmail.jtp?type=node&node=4673801&i=5>
>>>> > >> >
>>>> > >> >> wrote:
>>>> > >> >>
>>>> > >> >> > Hi all,
>>>> > >> >> >
>>>> > >> >> > Is Tomee 1.7.1 is compatible in Java 8?
>>>> > >> >> >
>>>> > >> >> > Thanks
>>>> > >> >> > Kayal
>>>> > >> >> >
>>>> > >> >> >
>>>> > >> >> >
>>>> > >> >> > --
>>>> > >> >> > View this message in context:
>>>> > >> >> >
>>>> > >> >>
>>>> > >>
>>>> >
>>>> http://tomee-openejb.979440.n4.nabble.com/Tomee-1-7-1-compatible-in-Java-8-tp4673794.html
>>>> > >> >> > Sent from the TomEE Users mailing list archive at Nabble.com.
>>>> > >> >> >
>>>> > >> >>
>>>> > >> >>
>>>> > >> >>
>>>> > >> >> --
>>>> > >> >> Vincenzo D'Amore
>>>> > >> >> email: [hidden email]
>>>> > <http:///user/SendEmail.jtp?type=node&node=4673801&i=6>
>>>> > >> >> skype: free.dev
>>>> > >> >> mobile: +39 349 8513251
>>>> > >> >>
>>>> > >>
>>>> >
>>>> >
>>>> > ------------------------------
>>>> > If you reply to this email, your message will be added to the discussion
>>>> > below:
>>>> >
>>>> >
>>>> http://tomee-openejb.979440.n4.nabble.com/Tomee-1-7-1-compatible-in-Java-8-tp4673794p4673801.html
>>>> > To start a new topic under TomEE Users, email
>>>> > ml-node+s979440n979441h29@n4.nabble.com
>>>> > To unsubscribe from TomEE Users, click here
>>>> > <
>>>> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=979441&code=Y2NoYWNpbkBnbWFpbC5jb218OTc5NDQxfDE2NzcwMDYzOTY=
>>>> >
>>>> > .
>>>> > NAML
>>>> > <
>>>> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
>>>> >
>>>> >
>>>>
>>>>
>>>>
>>>>
>>>> -----
>>>> Carlos Chacin
>>>> http://github.com/cchacin
>>>> --
>>>> View this message in context:
>>>> http://tomee-openejb.979440.n4.nabble.com/Tomee-1-7-1-compatible-in-Java-8-tp4673794p4673802.html
>>>> Sent from the TomEE Users mailing list archive at Nabble.com.
Re: Tomee 1.7.1 compatible in Java 8
Posted by jieryn <ji...@gmail.com>.
It's a quick fix.. DeltaSpike should do it *cough cough*
https://weblogs.java.net/blog/montanajava/archive/2014/06/17/using-java-8-datetime-classes-jpa
On Thu, Feb 19, 2015 at 1:47 PM, Romain Manni-Bucau
<rm...@gmail.com> wrote:
> yes but JPA doesnt support it even in JavaEE 7
>
>
> Romain Manni-Bucau
> @rmannibucau
> http://www.tomitribe.com
> http://rmannibucau.wordpress.com
> https://github.com/rmannibucau
>
>
> 2015-02-19 19:43 GMT+01:00 Howard W. Smith, Jr. <sm...@gmail.com>:
>> Agreed. Should not be too hard, since tomee has jodatime 1.6.2 dependency
>> for years now. Right?
>>
>> Java 8 new Date time API = jodatime
>> On Feb 19, 2015 1:24 PM, "cchacin" <cc...@gmail.com> wrote:
>>
>>> Also we need to make some hacks to use new Date & Time API.
>>>
>>> On Thu, Feb 19, 2015, 10:13 AM Romain Manni-Bucau [via TomEE & OpenEJB] <
>>> ml-node+s979440n4673801h89@n4.nabble.com> wrote:
>>>
>>> > OpenJPA just tolerate java 8 bytecode but doesn't support new Java 8
>>> > API so if you use them entity lifecycle can be broken. typically if
>>> > you modify a collection using stream API instead of Collection API
>>> > then the relationship will not get updated as exepected in the
>>> > database. Rarely an issue in practise but abusing of JPA as domain
>>> > objects with java 8 can lead to such issues.
>>> >
>>> >
>>> > Romain Manni-Bucau
>>> > @rmannibucau
>>> > http://www.tomitribe.com
>>> > http://rmannibucau.wordpress.com
>>> > https://github.com/rmannibucau
>>> >
>>> >
>>> > 2015-02-19 19:08 GMT+01:00 Suzanne Genod <[hidden email]
>>> > <http:///user/SendEmail.jtp?type=node&node=4673801&i=0>>:
>>> >
>>> > > Hi,
>>> > >
>>> > > Would you please expand on what are TomE 1.7.1 limitations with JPA
>>> > > entities when running with Java 8?
>>> > >
>>> > > Thanks,
>>> > > Suz
>>> > >
>>> > > On Thu, Feb 19, 2015 at 5:59 PM, Romain Manni-Bucau <[hidden email]
>>> > <http:///user/SendEmail.jtp?type=node&node=4673801&i=1>>
>>> > > wrote:
>>> > >
>>> > >> Just a side note: it works while you don't abuse of it in JPA entities
>>> > >> (it is only tolerated here)
>>> > >>
>>> > >>
>>> > >> Romain Manni-Bucau
>>> > >> @rmannibucau
>>> > >> http://www.tomitribe.com
>>> > >> http://rmannibucau.wordpress.com
>>> > >> https://github.com/rmannibucau
>>> > >>
>>> > >>
>>> > >> 2015-02-19 17:54 GMT+01:00 Jean-Louis Monteiro <[hidden email]
>>> > <http:///user/SendEmail.jtp?type=node&node=4673801&i=2>>:
>>> > >> > Thx for the feedback Vincenzo.
>>> > >> >
>>> > >> > Very cool to see users answering questions from other users. That's
>>> > very
>>> > >> > important.
>>> > >> >
>>> > >> > and btw, you are right. All the bytecode processing has been updated
>>> > to
>>> > >> > support Java 8
>>> > >> >
>>> > >> > --
>>> > >> > Jean-Louis Monteiro
>>> > >> > http://twitter.com/jlouismonteiro
>>> > >> > http://www.tomitribe.com
>>> > >> >
>>> > >> > On Thu, Feb 19, 2015 at 5:40 PM, Vincenzo D'Amore <[hidden email]
>>> > <http:///user/SendEmail.jtp?type=node&node=4673801&i=3>>
>>> > >> > wrote:
>>> > >> >
>>> > >> >> Hi, yes, I'm actively using it with Java 8.
>>> > >> >>
>>> > >> >> On Thu, Feb 19, 2015 at 5:26 PM, [hidden email]
>>> > <http:///user/SendEmail.jtp?type=node&node=4673801&i=4> <[hidden email]
>>> > <http:///user/SendEmail.jtp?type=node&node=4673801&i=5>
>>> > >> >
>>> > >> >> wrote:
>>> > >> >>
>>> > >> >> > Hi all,
>>> > >> >> >
>>> > >> >> > Is Tomee 1.7.1 is compatible in Java 8?
>>> > >> >> >
>>> > >> >> > Thanks
>>> > >> >> > Kayal
>>> > >> >> >
>>> > >> >> >
>>> > >> >> >
>>> > >> >> > --
>>> > >> >> > View this message in context:
>>> > >> >> >
>>> > >> >>
>>> > >>
>>> >
>>> http://tomee-openejb.979440.n4.nabble.com/Tomee-1-7-1-compatible-in-Java-8-tp4673794.html
>>> > >> >> > Sent from the TomEE Users mailing list archive at Nabble.com.
>>> > >> >> >
>>> > >> >>
>>> > >> >>
>>> > >> >>
>>> > >> >> --
>>> > >> >> Vincenzo D'Amore
>>> > >> >> email: [hidden email]
>>> > <http:///user/SendEmail.jtp?type=node&node=4673801&i=6>
>>> > >> >> skype: free.dev
>>> > >> >> mobile: +39 349 8513251
>>> > >> >>
>>> > >>
>>> >
>>> >
>>> > ------------------------------
>>> > If you reply to this email, your message will be added to the discussion
>>> > below:
>>> >
>>> >
>>> http://tomee-openejb.979440.n4.nabble.com/Tomee-1-7-1-compatible-in-Java-8-tp4673794p4673801.html
>>> > To start a new topic under TomEE Users, email
>>> > ml-node+s979440n979441h29@n4.nabble.com
>>> > To unsubscribe from TomEE Users, click here
>>> > <
>>> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=979441&code=Y2NoYWNpbkBnbWFpbC5jb218OTc5NDQxfDE2NzcwMDYzOTY=
>>> >
>>> > .
>>> > NAML
>>> > <
>>> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
>>> >
>>> >
>>>
>>>
>>>
>>>
>>> -----
>>> Carlos Chacin
>>> http://github.com/cchacin
>>> --
>>> View this message in context:
>>> http://tomee-openejb.979440.n4.nabble.com/Tomee-1-7-1-compatible-in-Java-8-tp4673794p4673802.html
>>> Sent from the TomEE Users mailing list archive at Nabble.com.
Re: Tomee 1.7.1 compatible in Java 8
Posted by Romain Manni-Bucau <rm...@gmail.com>.
yes but JPA doesnt support it even in JavaEE 7
Romain Manni-Bucau
@rmannibucau
http://www.tomitribe.com
http://rmannibucau.wordpress.com
https://github.com/rmannibucau
2015-02-19 19:43 GMT+01:00 Howard W. Smith, Jr. <sm...@gmail.com>:
> Agreed. Should not be too hard, since tomee has jodatime 1.6.2 dependency
> for years now. Right?
>
> Java 8 new Date time API = jodatime
> On Feb 19, 2015 1:24 PM, "cchacin" <cc...@gmail.com> wrote:
>
>> Also we need to make some hacks to use new Date & Time API.
>>
>> On Thu, Feb 19, 2015, 10:13 AM Romain Manni-Bucau [via TomEE & OpenEJB] <
>> ml-node+s979440n4673801h89@n4.nabble.com> wrote:
>>
>> > OpenJPA just tolerate java 8 bytecode but doesn't support new Java 8
>> > API so if you use them entity lifecycle can be broken. typically if
>> > you modify a collection using stream API instead of Collection API
>> > then the relationship will not get updated as exepected in the
>> > database. Rarely an issue in practise but abusing of JPA as domain
>> > objects with java 8 can lead to such issues.
>> >
>> >
>> > Romain Manni-Bucau
>> > @rmannibucau
>> > http://www.tomitribe.com
>> > http://rmannibucau.wordpress.com
>> > https://github.com/rmannibucau
>> >
>> >
>> > 2015-02-19 19:08 GMT+01:00 Suzanne Genod <[hidden email]
>> > <http:///user/SendEmail.jtp?type=node&node=4673801&i=0>>:
>> >
>> > > Hi,
>> > >
>> > > Would you please expand on what are TomE 1.7.1 limitations with JPA
>> > > entities when running with Java 8?
>> > >
>> > > Thanks,
>> > > Suz
>> > >
>> > > On Thu, Feb 19, 2015 at 5:59 PM, Romain Manni-Bucau <[hidden email]
>> > <http:///user/SendEmail.jtp?type=node&node=4673801&i=1>>
>> > > wrote:
>> > >
>> > >> Just a side note: it works while you don't abuse of it in JPA entities
>> > >> (it is only tolerated here)
>> > >>
>> > >>
>> > >> Romain Manni-Bucau
>> > >> @rmannibucau
>> > >> http://www.tomitribe.com
>> > >> http://rmannibucau.wordpress.com
>> > >> https://github.com/rmannibucau
>> > >>
>> > >>
>> > >> 2015-02-19 17:54 GMT+01:00 Jean-Louis Monteiro <[hidden email]
>> > <http:///user/SendEmail.jtp?type=node&node=4673801&i=2>>:
>> > >> > Thx for the feedback Vincenzo.
>> > >> >
>> > >> > Very cool to see users answering questions from other users. That's
>> > very
>> > >> > important.
>> > >> >
>> > >> > and btw, you are right. All the bytecode processing has been updated
>> > to
>> > >> > support Java 8
>> > >> >
>> > >> > --
>> > >> > Jean-Louis Monteiro
>> > >> > http://twitter.com/jlouismonteiro
>> > >> > http://www.tomitribe.com
>> > >> >
>> > >> > On Thu, Feb 19, 2015 at 5:40 PM, Vincenzo D'Amore <[hidden email]
>> > <http:///user/SendEmail.jtp?type=node&node=4673801&i=3>>
>> > >> > wrote:
>> > >> >
>> > >> >> Hi, yes, I'm actively using it with Java 8.
>> > >> >>
>> > >> >> On Thu, Feb 19, 2015 at 5:26 PM, [hidden email]
>> > <http:///user/SendEmail.jtp?type=node&node=4673801&i=4> <[hidden email]
>> > <http:///user/SendEmail.jtp?type=node&node=4673801&i=5>
>> > >> >
>> > >> >> wrote:
>> > >> >>
>> > >> >> > Hi all,
>> > >> >> >
>> > >> >> > Is Tomee 1.7.1 is compatible in Java 8?
>> > >> >> >
>> > >> >> > Thanks
>> > >> >> > Kayal
>> > >> >> >
>> > >> >> >
>> > >> >> >
>> > >> >> > --
>> > >> >> > View this message in context:
>> > >> >> >
>> > >> >>
>> > >>
>> >
>> http://tomee-openejb.979440.n4.nabble.com/Tomee-1-7-1-compatible-in-Java-8-tp4673794.html
>> > >> >> > Sent from the TomEE Users mailing list archive at Nabble.com.
>> > >> >> >
>> > >> >>
>> > >> >>
>> > >> >>
>> > >> >> --
>> > >> >> Vincenzo D'Amore
>> > >> >> email: [hidden email]
>> > <http:///user/SendEmail.jtp?type=node&node=4673801&i=6>
>> > >> >> skype: free.dev
>> > >> >> mobile: +39 349 8513251
>> > >> >>
>> > >>
>> >
>> >
>> > ------------------------------
>> > If you reply to this email, your message will be added to the discussion
>> > below:
>> >
>> >
>> http://tomee-openejb.979440.n4.nabble.com/Tomee-1-7-1-compatible-in-Java-8-tp4673794p4673801.html
>> > To start a new topic under TomEE Users, email
>> > ml-node+s979440n979441h29@n4.nabble.com
>> > To unsubscribe from TomEE Users, click here
>> > <
>> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=979441&code=Y2NoYWNpbkBnbWFpbC5jb218OTc5NDQxfDE2NzcwMDYzOTY=
>> >
>> > .
>> > NAML
>> > <
>> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
>> >
>> >
>>
>>
>>
>>
>> -----
>> Carlos Chacin
>> http://github.com/cchacin
>> --
>> View this message in context:
>> http://tomee-openejb.979440.n4.nabble.com/Tomee-1-7-1-compatible-in-Java-8-tp4673794p4673802.html
>> Sent from the TomEE Users mailing list archive at Nabble.com.
Re: Tomee 1.7.1 compatible in Java 8
Posted by "Howard W. Smith, Jr." <sm...@gmail.com>.
Agreed. Should not be too hard, since tomee has jodatime 1.6.2 dependency
for years now. Right?
Java 8 new Date time API = jodatime
On Feb 19, 2015 1:24 PM, "cchacin" <cc...@gmail.com> wrote:
> Also we need to make some hacks to use new Date & Time API.
>
> On Thu, Feb 19, 2015, 10:13 AM Romain Manni-Bucau [via TomEE & OpenEJB] <
> ml-node+s979440n4673801h89@n4.nabble.com> wrote:
>
> > OpenJPA just tolerate java 8 bytecode but doesn't support new Java 8
> > API so if you use them entity lifecycle can be broken. typically if
> > you modify a collection using stream API instead of Collection API
> > then the relationship will not get updated as exepected in the
> > database. Rarely an issue in practise but abusing of JPA as domain
> > objects with java 8 can lead to such issues.
> >
> >
> > Romain Manni-Bucau
> > @rmannibucau
> > http://www.tomitribe.com
> > http://rmannibucau.wordpress.com
> > https://github.com/rmannibucau
> >
> >
> > 2015-02-19 19:08 GMT+01:00 Suzanne Genod <[hidden email]
> > <http:///user/SendEmail.jtp?type=node&node=4673801&i=0>>:
> >
> > > Hi,
> > >
> > > Would you please expand on what are TomE 1.7.1 limitations with JPA
> > > entities when running with Java 8?
> > >
> > > Thanks,
> > > Suz
> > >
> > > On Thu, Feb 19, 2015 at 5:59 PM, Romain Manni-Bucau <[hidden email]
> > <http:///user/SendEmail.jtp?type=node&node=4673801&i=1>>
> > > wrote:
> > >
> > >> Just a side note: it works while you don't abuse of it in JPA entities
> > >> (it is only tolerated here)
> > >>
> > >>
> > >> Romain Manni-Bucau
> > >> @rmannibucau
> > >> http://www.tomitribe.com
> > >> http://rmannibucau.wordpress.com
> > >> https://github.com/rmannibucau
> > >>
> > >>
> > >> 2015-02-19 17:54 GMT+01:00 Jean-Louis Monteiro <[hidden email]
> > <http:///user/SendEmail.jtp?type=node&node=4673801&i=2>>:
> > >> > Thx for the feedback Vincenzo.
> > >> >
> > >> > Very cool to see users answering questions from other users. That's
> > very
> > >> > important.
> > >> >
> > >> > and btw, you are right. All the bytecode processing has been updated
> > to
> > >> > support Java 8
> > >> >
> > >> > --
> > >> > Jean-Louis Monteiro
> > >> > http://twitter.com/jlouismonteiro
> > >> > http://www.tomitribe.com
> > >> >
> > >> > On Thu, Feb 19, 2015 at 5:40 PM, Vincenzo D'Amore <[hidden email]
> > <http:///user/SendEmail.jtp?type=node&node=4673801&i=3>>
> > >> > wrote:
> > >> >
> > >> >> Hi, yes, I'm actively using it with Java 8.
> > >> >>
> > >> >> On Thu, Feb 19, 2015 at 5:26 PM, [hidden email]
> > <http:///user/SendEmail.jtp?type=node&node=4673801&i=4> <[hidden email]
> > <http:///user/SendEmail.jtp?type=node&node=4673801&i=5>
> > >> >
> > >> >> wrote:
> > >> >>
> > >> >> > Hi all,
> > >> >> >
> > >> >> > Is Tomee 1.7.1 is compatible in Java 8?
> > >> >> >
> > >> >> > Thanks
> > >> >> > Kayal
> > >> >> >
> > >> >> >
> > >> >> >
> > >> >> > --
> > >> >> > View this message in context:
> > >> >> >
> > >> >>
> > >>
> >
> http://tomee-openejb.979440.n4.nabble.com/Tomee-1-7-1-compatible-in-Java-8-tp4673794.html
> > >> >> > Sent from the TomEE Users mailing list archive at Nabble.com.
> > >> >> >
> > >> >>
> > >> >>
> > >> >>
> > >> >> --
> > >> >> Vincenzo D'Amore
> > >> >> email: [hidden email]
> > <http:///user/SendEmail.jtp?type=node&node=4673801&i=6>
> > >> >> skype: free.dev
> > >> >> mobile: +39 349 8513251
> > >> >>
> > >>
> >
> >
> > ------------------------------
> > If you reply to this email, your message will be added to the discussion
> > below:
> >
> >
> http://tomee-openejb.979440.n4.nabble.com/Tomee-1-7-1-compatible-in-Java-8-tp4673794p4673801.html
> > To start a new topic under TomEE Users, email
> > ml-node+s979440n979441h29@n4.nabble.com
> > To unsubscribe from TomEE Users, click here
> > <
> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=979441&code=Y2NoYWNpbkBnbWFpbC5jb218OTc5NDQxfDE2NzcwMDYzOTY=
> >
> > .
> > NAML
> > <
> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >
> >
>
>
>
>
> -----
> Carlos Chacin
> http://github.com/cchacin
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/Tomee-1-7-1-compatible-in-Java-8-tp4673794p4673802.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
Re: Tomee 1.7.1 compatible in Java 8
Posted by cchacin <cc...@gmail.com>.
Also we need to make some hacks to use new Date & Time API.
On Thu, Feb 19, 2015, 10:13 AM Romain Manni-Bucau [via TomEE & OpenEJB] <
ml-node+s979440n4673801h89@n4.nabble.com> wrote:
> OpenJPA just tolerate java 8 bytecode but doesn't support new Java 8
> API so if you use them entity lifecycle can be broken. typically if
> you modify a collection using stream API instead of Collection API
> then the relationship will not get updated as exepected in the
> database. Rarely an issue in practise but abusing of JPA as domain
> objects with java 8 can lead to such issues.
>
>
> Romain Manni-Bucau
> @rmannibucau
> http://www.tomitribe.com
> http://rmannibucau.wordpress.com
> https://github.com/rmannibucau
>
>
> 2015-02-19 19:08 GMT+01:00 Suzanne Genod <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=4673801&i=0>>:
>
> > Hi,
> >
> > Would you please expand on what are TomE 1.7.1 limitations with JPA
> > entities when running with Java 8?
> >
> > Thanks,
> > Suz
> >
> > On Thu, Feb 19, 2015 at 5:59 PM, Romain Manni-Bucau <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=4673801&i=1>>
> > wrote:
> >
> >> Just a side note: it works while you don't abuse of it in JPA entities
> >> (it is only tolerated here)
> >>
> >>
> >> Romain Manni-Bucau
> >> @rmannibucau
> >> http://www.tomitribe.com
> >> http://rmannibucau.wordpress.com
> >> https://github.com/rmannibucau
> >>
> >>
> >> 2015-02-19 17:54 GMT+01:00 Jean-Louis Monteiro <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=4673801&i=2>>:
> >> > Thx for the feedback Vincenzo.
> >> >
> >> > Very cool to see users answering questions from other users. That's
> very
> >> > important.
> >> >
> >> > and btw, you are right. All the bytecode processing has been updated
> to
> >> > support Java 8
> >> >
> >> > --
> >> > Jean-Louis Monteiro
> >> > http://twitter.com/jlouismonteiro
> >> > http://www.tomitribe.com
> >> >
> >> > On Thu, Feb 19, 2015 at 5:40 PM, Vincenzo D'Amore <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=4673801&i=3>>
> >> > wrote:
> >> >
> >> >> Hi, yes, I'm actively using it with Java 8.
> >> >>
> >> >> On Thu, Feb 19, 2015 at 5:26 PM, [hidden email]
> <http:///user/SendEmail.jtp?type=node&node=4673801&i=4> <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=4673801&i=5>
> >> >
> >> >> wrote:
> >> >>
> >> >> > Hi all,
> >> >> >
> >> >> > Is Tomee 1.7.1 is compatible in Java 8?
> >> >> >
> >> >> > Thanks
> >> >> > Kayal
> >> >> >
> >> >> >
> >> >> >
> >> >> > --
> >> >> > View this message in context:
> >> >> >
> >> >>
> >>
> http://tomee-openejb.979440.n4.nabble.com/Tomee-1-7-1-compatible-in-Java-8-tp4673794.html
> >> >> > Sent from the TomEE Users mailing list archive at Nabble.com.
> >> >> >
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> Vincenzo D'Amore
> >> >> email: [hidden email]
> <http:///user/SendEmail.jtp?type=node&node=4673801&i=6>
> >> >> skype: free.dev
> >> >> mobile: +39 349 8513251
> >> >>
> >>
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://tomee-openejb.979440.n4.nabble.com/Tomee-1-7-1-compatible-in-Java-8-tp4673794p4673801.html
> To start a new topic under TomEE Users, email
> ml-node+s979440n979441h29@n4.nabble.com
> To unsubscribe from TomEE Users, click here
> <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=979441&code=Y2NoYWNpbkBnbWFpbC5jb218OTc5NDQxfDE2NzcwMDYzOTY=>
> .
> NAML
> <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
-----
Carlos Chacin
http://github.com/cchacin
--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/Tomee-1-7-1-compatible-in-Java-8-tp4673794p4673802.html
Sent from the TomEE Users mailing list archive at Nabble.com.
Re: Tomee 1.7.1 compatible in Java 8
Posted by Romain Manni-Bucau <rm...@gmail.com>.
OpenJPA just tolerate java 8 bytecode but doesn't support new Java 8
API so if you use them entity lifecycle can be broken. typically if
you modify a collection using stream API instead of Collection API
then the relationship will not get updated as exepected in the
database. Rarely an issue in practise but abusing of JPA as domain
objects with java 8 can lead to such issues.
Romain Manni-Bucau
@rmannibucau
http://www.tomitribe.com
http://rmannibucau.wordpress.com
https://github.com/rmannibucau
2015-02-19 19:08 GMT+01:00 Suzanne Genod <su...@gmail.com>:
> Hi,
>
> Would you please expand on what are TomE 1.7.1 limitations with JPA
> entities when running with Java 8?
>
> Thanks,
> Suz
>
> On Thu, Feb 19, 2015 at 5:59 PM, Romain Manni-Bucau <rm...@gmail.com>
> wrote:
>
>> Just a side note: it works while you don't abuse of it in JPA entities
>> (it is only tolerated here)
>>
>>
>> Romain Manni-Bucau
>> @rmannibucau
>> http://www.tomitribe.com
>> http://rmannibucau.wordpress.com
>> https://github.com/rmannibucau
>>
>>
>> 2015-02-19 17:54 GMT+01:00 Jean-Louis Monteiro <jl...@tomitribe.com>:
>> > Thx for the feedback Vincenzo.
>> >
>> > Very cool to see users answering questions from other users. That's very
>> > important.
>> >
>> > and btw, you are right. All the bytecode processing has been updated to
>> > support Java 8
>> >
>> > --
>> > Jean-Louis Monteiro
>> > http://twitter.com/jlouismonteiro
>> > http://www.tomitribe.com
>> >
>> > On Thu, Feb 19, 2015 at 5:40 PM, Vincenzo D'Amore <v....@gmail.com>
>> > wrote:
>> >
>> >> Hi, yes, I'm actively using it with Java 8.
>> >>
>> >> On Thu, Feb 19, 2015 at 5:26 PM, sensudha@gmail.com <sensudha@gmail.com
>> >
>> >> wrote:
>> >>
>> >> > Hi all,
>> >> >
>> >> > Is Tomee 1.7.1 is compatible in Java 8?
>> >> >
>> >> > Thanks
>> >> > Kayal
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > View this message in context:
>> >> >
>> >>
>> http://tomee-openejb.979440.n4.nabble.com/Tomee-1-7-1-compatible-in-Java-8-tp4673794.html
>> >> > Sent from the TomEE Users mailing list archive at Nabble.com.
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Vincenzo D'Amore
>> >> email: v.damore@gmail.com
>> >> skype: free.dev
>> >> mobile: +39 349 8513251
>> >>
>>
Re: Tomee 1.7.1 compatible in Java 8
Posted by Suzanne Genod <su...@gmail.com>.
Hi,
Would you please expand on what are TomE 1.7.1 limitations with JPA
entities when running with Java 8?
Thanks,
Suz
On Thu, Feb 19, 2015 at 5:59 PM, Romain Manni-Bucau <rm...@gmail.com>
wrote:
> Just a side note: it works while you don't abuse of it in JPA entities
> (it is only tolerated here)
>
>
> Romain Manni-Bucau
> @rmannibucau
> http://www.tomitribe.com
> http://rmannibucau.wordpress.com
> https://github.com/rmannibucau
>
>
> 2015-02-19 17:54 GMT+01:00 Jean-Louis Monteiro <jl...@tomitribe.com>:
> > Thx for the feedback Vincenzo.
> >
> > Very cool to see users answering questions from other users. That's very
> > important.
> >
> > and btw, you are right. All the bytecode processing has been updated to
> > support Java 8
> >
> > --
> > Jean-Louis Monteiro
> > http://twitter.com/jlouismonteiro
> > http://www.tomitribe.com
> >
> > On Thu, Feb 19, 2015 at 5:40 PM, Vincenzo D'Amore <v....@gmail.com>
> > wrote:
> >
> >> Hi, yes, I'm actively using it with Java 8.
> >>
> >> On Thu, Feb 19, 2015 at 5:26 PM, sensudha@gmail.com <sensudha@gmail.com
> >
> >> wrote:
> >>
> >> > Hi all,
> >> >
> >> > Is Tomee 1.7.1 is compatible in Java 8?
> >> >
> >> > Thanks
> >> > Kayal
> >> >
> >> >
> >> >
> >> > --
> >> > View this message in context:
> >> >
> >>
> http://tomee-openejb.979440.n4.nabble.com/Tomee-1-7-1-compatible-in-Java-8-tp4673794.html
> >> > Sent from the TomEE Users mailing list archive at Nabble.com.
> >> >
> >>
> >>
> >>
> >> --
> >> Vincenzo D'Amore
> >> email: v.damore@gmail.com
> >> skype: free.dev
> >> mobile: +39 349 8513251
> >>
>
Re: Tomee 1.7.1 compatible in Java 8
Posted by Romain Manni-Bucau <rm...@gmail.com>.
Just a side note: it works while you don't abuse of it in JPA entities
(it is only tolerated here)
Romain Manni-Bucau
@rmannibucau
http://www.tomitribe.com
http://rmannibucau.wordpress.com
https://github.com/rmannibucau
2015-02-19 17:54 GMT+01:00 Jean-Louis Monteiro <jl...@tomitribe.com>:
> Thx for the feedback Vincenzo.
>
> Very cool to see users answering questions from other users. That's very
> important.
>
> and btw, you are right. All the bytecode processing has been updated to
> support Java 8
>
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>
> On Thu, Feb 19, 2015 at 5:40 PM, Vincenzo D'Amore <v....@gmail.com>
> wrote:
>
>> Hi, yes, I'm actively using it with Java 8.
>>
>> On Thu, Feb 19, 2015 at 5:26 PM, sensudha@gmail.com <se...@gmail.com>
>> wrote:
>>
>> > Hi all,
>> >
>> > Is Tomee 1.7.1 is compatible in Java 8?
>> >
>> > Thanks
>> > Kayal
>> >
>> >
>> >
>> > --
>> > View this message in context:
>> >
>> http://tomee-openejb.979440.n4.nabble.com/Tomee-1-7-1-compatible-in-Java-8-tp4673794.html
>> > Sent from the TomEE Users mailing list archive at Nabble.com.
>> >
>>
>>
>>
>> --
>> Vincenzo D'Amore
>> email: v.damore@gmail.com
>> skype: free.dev
>> mobile: +39 349 8513251
>>
Re: Tomee 1.7.1 compatible in Java 8
Posted by Jean-Louis Monteiro <jl...@tomitribe.com>.
Thx for the feedback Vincenzo.
Very cool to see users answering questions from other users. That's very
important.
and btw, you are right. All the bytecode processing has been updated to
support Java 8
--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com
On Thu, Feb 19, 2015 at 5:40 PM, Vincenzo D'Amore <v....@gmail.com>
wrote:
> Hi, yes, I'm actively using it with Java 8.
>
> On Thu, Feb 19, 2015 at 5:26 PM, sensudha@gmail.com <se...@gmail.com>
> wrote:
>
> > Hi all,
> >
> > Is Tomee 1.7.1 is compatible in Java 8?
> >
> > Thanks
> > Kayal
> >
> >
> >
> > --
> > View this message in context:
> >
> http://tomee-openejb.979440.n4.nabble.com/Tomee-1-7-1-compatible-in-Java-8-tp4673794.html
> > Sent from the TomEE Users mailing list archive at Nabble.com.
> >
>
>
>
> --
> Vincenzo D'Amore
> email: v.damore@gmail.com
> skype: free.dev
> mobile: +39 349 8513251
>
Re: Tomee 1.7.1 compatible in Java 8
Posted by Vincenzo D'Amore <v....@gmail.com>.
Hi, yes, I'm actively using it with Java 8.
On Thu, Feb 19, 2015 at 5:26 PM, sensudha@gmail.com <se...@gmail.com>
wrote:
> Hi all,
>
> Is Tomee 1.7.1 is compatible in Java 8?
>
> Thanks
> Kayal
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/Tomee-1-7-1-compatible-in-Java-8-tp4673794.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>
--
Vincenzo D'Amore
email: v.damore@gmail.com
skype: free.dev
mobile: +39 349 8513251