In this blog post I am going to share with you a way to create a RESTful Web Service to: Create a new user profile, Generate and save in database a user secure user password rather than an actual password provided by user, Return back as a response a custom user profile object(JSON) with information that…Read More RESTful Web Service to Save a New User in Database
Hibernate is a great framework to use to persist data into a database when building RESTful Web Services for your mobile application with Jersey and JAX-RS. In most of the projects I have participated when designing RESTful Web Services for Mobile App we used MySQL database server and Hibernate framework to store user data which…Read More Persist Java Object in MySQL Database With Hibernate
Earlier I have shared with you how to use JAX-RS to access HTTP GET Request and how extract URI Query Parameters and how to read Path Parameters. In this blog post I am going to share with you how to handle HTTP POST request and how to read the content of HTTP Request Body as…Read More Jersey HTTP Post Example
In this blog post I am going to share with you how to handle HTTP GET request in your Java Web Service created with Jersey framework and how to response back with XML or JSON Response. If you do not have your Java RESTful Web Service created yet please follow the below link to a…Read More Jersey HTTP GET Example
Learning how to convert Java objects into JSON and JSON into Java will help you a lot in your work as a full stack mobile app developer. In this blog post I will share with you code examples which will help you do most of the tasks you will even need to do when working with JSON and…Read More Convert Java into JSON and JSON into Java. All Possible Examples.
In this blog post I will share with you how to use Maven to generate a very simple Jersey application which you can then use to build RESTful web services for your mobile app. I will also show you how to edit pom.xml file to add needed dependencies, so that your Jersey app is able…Read More Create Jersey JAX-RS Project with Maven