0

I have written http client using camel http connector. Currently JBoss is chosen as my application server. I would like to write a HttpService that should run on JBoss which can receive and process the payload from client.

Any pointers would be much appreciated.

Thanks in advance

Nageswara Rao
  • 954
  • 1
  • 10
  • 32

1 Answers1

0

You can have a REST service running on the Jboss server which can be easily built using jersey or resteasy frameworks. Other REST libraries can be used too.

The http service can be built using the plain servlet too. But REST libraries provide a lot of builtin support.

techuser soma
  • 4,766
  • 5
  • 23
  • 43
  • How about EJB/DAO which is exposed via JNDI? The client access the service using JNDI. Problem uncovered is whether JNDI supports streaming data, means posting reasonable size of content. – Nageswara Rao Jul 02 '13 at 16:38
  • You said you wanted to build an HTTP Service? – techuser soma Jul 04 '13 at 02:02
  • Ideally HTTP Service is what I thought a standard way. Earlier I have used JNDI for authentication but not for posting content to a HttpService way. Wanted to clear my doubt. Thanks for the answer – Nageswara Rao Jul 04 '13 at 03:28
  • I am sorry. But i dont see why you need JNDI to post to the HttpServcie. If you are using camel it will take care of posting to the http url. – techuser soma Jul 04 '13 at 21:57