Calling a REST Service from a Session Bean
Hello,
I'd like to call a REST service out of a session bean in my application running in a eap 6.2.
What's the best way to do this? A lot of Resteasy jars are also part of eap. Does someone has an example?
Thanks,
Mike
Responses
Hi Mike
Are you asking how to to use RESTEasy within EAP or do you need a concrete example of how to implement a JAX-RS client? I'm going to presume the latter in which case please take a look at the documentation here [1]. There is also an example of the jax-rs client in our quickstarts.
[1] http://docs.jboss.org/resteasy/docs/2.3.7.Final/userguide/html_single/#RESTEasy_Client_Framework