Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How to send Java POJO object as request to RESTful Web Service?

user-image
Question added by Deleted user
Date Posted: 2014/08/28
Yatesh  Chauhan
by Yatesh Chauhan , Java Developer , Prutech Solution

you can produce object in form of XML of JSON using 'jackson-binding' jar file which helps u to make your POJO object into JSON format while returning automatically.

Deleted user
by Deleted user

Most of RESTfull Web Service frameworks support JSON Post as a request for example JAX-RS

 

Try to serialize your object using Jackson or GSON to serialize you POJO to JSON and use POST to send them as request to RESTfull Web Service specific method URL

More Questions Like This