Re: Lazy loading from remote context

2016-10-07 Thread ict
Tank so much! -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Lazy-loading-from-remote-context-tp4680313p4680319.html Sent from the TomEE Users mailing list archive at Nabble.com.

Re: Lazy loading from remote context

2016-10-07 Thread Romain Manni-Bucau
Le 7 oct. 2016 20:23, "ict" a écrit : > > ok, I understand, but there is a way to do a lazy load from a remote context > ??? > Doing another remote call or request only if tou think to it. > > > -- > View this message in context:

Re: Lazy loading from remote context

2016-10-07 Thread ict
ok, I understand, but there is a way to do a lazy load from a remote context ??? -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Lazy-loading-from-remote-context-tp4680313p4680317.html Sent from the TomEE Users mailing list archive at Nabble.com.

Re: Lazy loading from remote context

2016-10-07 Thread Romain Manni-Bucau
Romain Manni-Bucau @rmannibucau | Blog | Old Wordpress Blog | Github | LinkedIn | Tomitriber

Re: Lazy loading from remote context

2016-10-07 Thread ict
Maybe I'm wrong, but I have already tried so unsuccessfully... Method in PersonEntityManager: @TransactionAttribute(TransactionAttributeType.MANDATORY) @Override public Person getPerson(int id){return personPu.find(Person.class, id);} Method in remote SessionBean:

Re: Lazy loading from remote context

2016-10-07 Thread Romain Manni-Bucau
Hi not sure I got it all right but the constraint for lazy loading to work is to have a single transaction so ensure the transactionality of your code is the one you expect. Romain Manni-Bucau @rmannibucau | Blog | Old

Lazy loading from remote context

2016-10-07 Thread ict
Hi, a simple question, how do I make a Lazy loading of a field, a course @Entity, after having requested through a remote interface of a session bean (OpenEjb, Tomee 1.7.4, OpenJPA): APP_A: @Embedd public class EmbeddCustomClass{...} @Entity public class Person{ .. //Default Lazy private List

Re: default json provider

2016-10-07 Thread chongma
no it still doesn't seem to work with @XmlElementWrapper so i will stick with the xml route for now... -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/default-json-provider-tp4680054p4680312.html Sent from the TomEE Users mailing list archive at Nabble.com.

Re: default json provider

2016-10-07 Thread chongma
by the way i came back to this after a while and i missed your note about getting rid of the hyphen in jax-rs and using cxf.jaxrs.providers = org.apache.cxf.jaxrs.provider.json.JSONProvider.providers in system properties instead of cxf.jax-rs.providers =

Re: johnzon

2016-10-07 Thread Romain Manni-Bucau
think I sent it some time ago (on dev@) we are waiting on tomcat+cxf basically as blockers. Tomcat is under vote ATM, I know CXF should next week probably so this month is still the target. We can also get bval if the time allows in the upgrades which would solve some perf boost when using bean

Re: johnzon

2016-10-07 Thread hwaastad
Hi, Yeah, I've noticed that. So what do you think is ETA on 7.0.2? If it's not to far away I can start testing snapshot in my containers, but if it'll take som time I need to wait.(have a limited time before going in production) (TW, I'll give it a shot anyway :-)) /hw -- View this message

Re: johnzon

2016-10-07 Thread Romain Manni-Bucau
Hi master uses 0.9.5 since some weeks ( https://github.com/apache/tomee/blob/master/pom.xml#L102) Romain Manni-Bucau @rmannibucau | Blog | Old Wordpress Blog | Github

johnzon

2016-10-07 Thread hwaastad
Hi, was just wondering if there's a plan for bumping johnzon version in tomee 7. There's a couple of feature I'd like to have (@anyjohnzon for one) /hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/johnzon-tp4680307.html Sent from the TomEE Users mailing list