-
1. Re: Seam compatible version for RESTEasy
lvdberg Apr 5, 2011 11:34 AM (in response to valatharv)Hi,
I changed to a newer version of Seam because of its better RestEasy support.
Leo
-
2. Re: Seam compatible version for RESTEasy
valatharv Apr 5, 2011 12:00 PM (in response to valatharv)Thanks a lot for the quick reply.
I don't have much experience on this...
a) To handle JSON-encoded list best option would be to withRestful webservice using RESTEasy
?b) Do we need to upgrade jboss-4.2.3 version also if we are upgrading seam.
Regards
Vishal -
3. Re: Seam compatible version for RESTEasy
lvdberg Apr 5, 2011 12:19 PM (in response to valatharv)Hi,
I am using a newer version of Seam (we have experience now with 2.1.2 and 2.2), which both should work with JBoss 4.2.3.. I knw there are some issues with the JAXB implementation (used for RestEsay), but that depends also on the java vesrion (we use 6 now).
To be honest, although not necessary, we've found that JBoss 5 is a huge improvement, so if you have some time you coudl do some
parallel research work
to see if such a switch is feasible.Leo
-
4. Re: Seam compatible version for RESTEasy
valatharv Apr 5, 2011 1:07 PM (in response to valatharv)Great thanks for the feedback.. I will explore on this.
-
5. Re: Seam compatible version for RESTEasy
valatharv Apr 6, 2011 4:30 PM (in response to valatharv)Hi,
I had a discussion with other team who is responsible for service...
Here is the client requirement :
They have a service (not in our control) example URL http://<host>/suggest/sample-id?term=abc
Here, I need to send a GET request to "/suggest/sample-id" with a "term" parameter which will return either
(1) a 404 indicating that the service doesn't have any suggestions for you, OR
(2) a JSON-encoded list of suggested terms.
Please guide what will be best way to implement this in already developed Seam application (jboss-seam-2.0.2.SP1, jboss-4.2.3 GA, richfaces 3.3.1.GA).
We plan to use richfaces suggestionBox component.
Thanks a lot in advance.
Regards -
6. Re: Seam compatible version for RESTEasy
valatharv Apr 7, 2011 4:28 PM (in response to valatharv)Hi,
Is it must to upgrade seam version in order to achieve client requirement as in last post.
Please suggest.
Regards
-
7. Re: Seam compatible version for RESTEasy
lvdberg Apr 8, 2011 6:23 AM (in response to valatharv)Hi,
you really should upgrade to a newer version of Seam to get Rest working as it should be.
However, be aware that this will impact the existing application also. If you're Webservice is VERY simple, consider implementing it as a simple service in JBoss.Leo