[Resteasy-users] RestEasy and EJB injection

2013-04-26 Thread Mike Miller
I just read the Jax-rs spec version 1.1and was reading Section 6.2 where it talked about additional support to be provided by the EE container. This prompted me to try to turn one of our Stateless sessionbeans into a resource code, to see that works. Using resteasy 1.1.GA, with JBoss 4.2.3.G

[Resteasy-users] test

2013-04-26 Thread Mike Miller
test -- Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, &

[Resteasy-users] JAXB marshalling problem

2013-05-02 Thread Mike Miller
I am running on JBoss 4.2.3.GA with RestEasy 1.1.GA My problem is that when I return an object from my resource method, it goes thru the Jettison provider and I don't get a full result marshaled back. For example, I have an object name PposTerminalBean and the method Produces "application/jso

Re: [Resteasy-users] Contents of Resteasy-users Digest, Vol 36, Issue 2 :JAXB marshalling problem

2013-05-03 Thread Mike Miller
y-users-ow...@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Resteasy-users digest..." Today's Topics: 1. Re: ExceptionMapper not catching an exception (Stein, Eric) 2. JAXB marshalling problem (Mike Miller) 3

[Resteasy-users] Invalid JSON namespace

2013-05-06 Thread Mike Miller
Running JBoss 4.2.3.GA with RestEasy 1.1.GA and am/was getting 'Invalid JSON namespace..." error. I am trying to return a bean that has a collection in it. Without the JAXB annotation, it runs fine, but I am missing the data for that collection. After reading the docs, I added the below ann

[Resteasy-users] Want to return common object from all our services

2013-06-03 Thread Mike Miller
Running JBoss 4.2.3.GA with RestEasy 1.0.0 We are looking at exposing many of our EJB services thru RestEasy. One of our thoughts is to return a common object that contains a reference to the resource or list of resources. The object would look like below, where the resource or list of reso

Re: [Resteasy-users] Want to return common object from all our services

2013-06-03 Thread Mike Miller
common object from all our services On 6/3/2013 12:55 PM, Mike Miller wrote: > Running JBoss 4.2.3.GA with RestEasy 1.0.0 I'm sorry, but I will not resolve problems from a 4.5 year old release of Resteasy. If you want help you're going to have to upgrade to at least 2.3.x.

[Resteasy-users] Want to return common object with reference to list of resources or the resource

2013-06-05 Thread Mike Miller
Running RestEasy 2.3.5 We are looking at exposing many of our EJB services thru RestEasy. One of our thoughts is to return a common object that contains a reference to the resource or list of resources. The object would look like below, where the resource or list of resources would be save

[Resteasy-users] Confused on handling response containing collections in json

2013-09-04 Thread Mike Miller
We are building a restful api, using 2.3.5 (although I don't think the release level matters) and I am a bit confused on response handling within RestEasy: Right or wrong, we made most of our resource methods return Response, using the GenericEntity when we wanted to return a collection of objec

Re: [Resteasy-users] Confused on handling response containing collections in json

2013-09-04 Thread Mike Miller
Sorry - we are JBoss 4.2.3.GA (still) with RestEasy 2.3.5. -Original Message- From: Bill Burke [mailto:bbu...@redhat.com] Sent: Wednesday, September 04, 2013 3:06 PM To: Mike Miller Cc: resteasy-users@lists.sourceforge.net Subject: Re: [Resteasy-users] Confused on handling response

Re: [Resteasy-users] Confused on handling response containing collections in json

2013-09-04 Thread Mike Miller
ore... But you are right, Jettison produces different JSON. On 9/4/2013 3:27 PM, Mike Miller wrote: > We are building a restful api, using 2.3.5 (although I don't think the > release level matters) and I am a bit confused on response handling > within RestEasy: > > Right or wrong

Re: [Resteasy-users] Confused on handling response containing collections in json

2013-09-04 Thread Mike Miller
be consistent output for a set of data? -Original Message- From: Bill Burke [mailto:bbu...@redhat.com] Sent: Wednesday, September 04, 2013 3:50 PM To: Mike Miller Cc: resteasy-users@lists.sourceforge.net Subject: Re: [Resteasy-users] Confused on handling response containing collections in

Re: [Resteasy-users] reducing chattiness of

2013-10-21 Thread Mike Miller
Have you tried reducing the log level for the 'org.apache' package, like setting it to ERROR or WARN? From: andrew simpson [mailto:andrew10...@gmail.com] Sent: Monday, October 21, 2013 11:34 AM To: resteasy-users@lists.sourceforge.net Subject: [Resteasy-users] reducing chattiness of Any tips for

[Resteasy-users] CORS support needed?

2013-10-28 Thread Mike Miller
We are using RestEasy 2.3.5. I read thru a couple threads on the mailing list and trying to figure out if we need CORS support for our usage. Just looking for some verification or validation. We are exposing a lot of our services thru resteasy and the expectation is that our resources will

Re: [Resteasy-users] CORS support needed?

2013-10-28 Thread Mike Miller
eeded? Not really hard to add yourself: Read this: http://www.html5rocks.com/en/tutorials/cors/ What we could add to resteasy is a filter that takes a list of allowed origins and handles preflight and simple requests. But, it would be really simple to add it yourself. On 10/28/2013 11:01 A

[Resteasy-users] How do I find out which version of JAXRS a version of RestEasy supports?

2013-10-31 Thread Mike Miller
For example, we are running RestEasy 2.3.5 - so how can I tell which version of JAX-RS that supports? Where do I look? -- Android is increasing in popularity, but the open development platform that developers love is als

Re: [Resteasy-users] CORS support needed?

2013-11-06 Thread Mike Miller
ut, it would be really simple to add it yourself. On 10/28/2013 11:01 AM, Mike Miller wrote: > We are using RestEasy 2.3.5. > > I read thru a couple threads on the mailing list and trying to figure > out if we need CORS support for our usage. Just looking for some > verification or v