Re: JAX-RS 2.0: Client API

2015-01-24 Thread jieryn
It looks like: dependency groupIdorg.apache.cxf/groupId artifactIdcxf-rt-rs-client/artifactId version3.0.3/version scopetest/scope /dependency does the trick, now I can javax.ws.rs.client.ClientBuilder.newClient().target() and have implementation agnostic

Dumb Question about the Jersey client

2015-01-24 Thread Jonathan Fisher
After encountering, then prompting and callously disabling TomEE's heartfelt warning against using the Jersey client (see here: http://tomee.apache.org/tip-jersey-client.html), I was wondering why *does* the jersey-core jar include said classes? (This isn't a rhetorical question in case anyone

Re: JAX-RS 2.0: Client API

2015-01-24 Thread jieryn
Damn, spoke too soon: java.lang.NoSuchMethodError: org.apache.cxf.bus.managers.BindingFactoryManagerImpl.setMapProvider(Lorg/apache/cxf/configuration/spring/MapProvider;)V at org.apache.openejb.server.cxf.transport.util.CxfUtil.initDefaultBus(CxfUtil.java:88) at

Re: JAX-RS 2.0: Client API

2015-01-24 Thread Romain Manni-Bucau
If you use tomee remote adapter you dont need cxf 2 at all abd just need to set jaxrs 2 api before javaee 6 one in your pom Yep, looks like it.. TomEE depends on: cxf.version2.6.16/cxf.version So am I out of luck? On Sat, Jan 24, 2015 at 4:35 PM, jieryn jie...@gmail.com wrote: Damn, spoke

Re: JAX-RS 2.0: Client API

2015-01-24 Thread jieryn
embedded On Sat, Jan 24, 2015 at 6:22 PM, Romain Manni-Bucau rmannibu...@gmail.com wrote: If you use tomee remote adapter you dont need cxf 2 at all abd just need to set jaxrs 2 api before javaee 6 one in your pom Yep, looks like it.. TomEE depends on: cxf.version2.6.16/cxf.version So

Re: JAX-RS 2.0: Client API

2015-01-24 Thread Romain Manni-Bucau
Hi TomEE 2 already packages CXF one. For tests I like to use CXF client - even if not portable - cause you can go from proxy to HTTP pretty easily and it makes code really easier than having to stick on string (path, param name etc...). Romain Manni-Bucau @rmannibucau

dir of tomee where jms store the messages.

2015-01-24 Thread mauro2java2011
i know that for defalut the messages JMS are persistent. + What it is the default dir into tomee where jms store the messages ? -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/dir-of-tomee-where-jms-store-the-messages-tp4673513.html Sent from the TomEE Users

Re: dir of tomee where jms store the messages.

2015-01-24 Thread Andy Gumbrecht
It is activemq, but you can set a system property activemq.store.dir to change the location. Andy. http://www.tomitribe.com - @AndyGeeDe - On a mobile device, and I have fat fingers. Sorry for typos. On 24 Jan 2015 11:25, mauro2java2011 mauro2java2...@gmail.com wrote: i know that for defalut

Re: tomee jcache question

2015-01-24 Thread hwaastad
BTW, is JSr107 annotiations supported in tomee? And @Romain, another question, do you happen to know if jcache-jcs will become 2.0.0 anytime in the near future? br hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/tomee-jcache-question-tp4673495p4673515.html Sent

Re: tomee jcache question

2015-01-24 Thread Romain Manni-Bucau
Tomee 2 yes and jcs vote is still in progress Le 24 janv. 2015 13:57, hwaastad he...@waastad.org a écrit : BTW, is JSr107 annotiations supported in tomee? And @Romain, another question, do you happen to know if jcache-jcs will become 2.0.0 anytime in the near future? br hw -- View

Re: Dumb Question about the Jersey client

2015-01-24 Thread Romain Manni-Bucau
Absolutely. This has been done for last spec version but no idea why jersey 1 was so broken in term of packaging. Le 24 janv. 2015 18:07, Jonathan Fisher jonat...@springventuregroup.com a écrit : After encountering, then prompting and callously disabling TomEE's heartfelt warning against using

JAX-RS 2.0: Client API

2015-01-24 Thread jieryn
What is the preferred Apache / Apache TomEE dependency to start using JAX-RS 2.0 Client API? I want to write tests using the 2.0 client code without hard depending on specific implementation (currently Apache Wink).

Re: JAX-RS 2.0: Client API

2015-01-24 Thread jieryn
Yep, looks like it.. TomEE depends on: cxf.version2.6.16/cxf.version So am I out of luck? On Sat, Jan 24, 2015 at 4:35 PM, jieryn jie...@gmail.com wrote: Damn, spoke too soon: java.lang.NoSuchMethodError: