Connecting RESTful Services to JPA Creating a User Entity and some test Data Let’s create a User entity and a UserRepository so…
web services components
-
-
Implementing Validations for RESTful Services The validation is a common requirement in all the services. We will discuss Java Validation API to…
-
Implementing Basic Authentication with Spring Security In the previous steps, we have created some resources, but none of them is secure yet.…
- Java TechnologyJava Web Services Tutorial
Creating Post Entity and Many to One Relationship with User Entity
Creating Post Entity and Many to One Relationship with User Entity In this section, we will create a Post entity that contains…
-
Enhancing the Hello World Service with a Path Variable The @PathVariable annotation is used to extract the value from the URI. It…
- Java TechnologyJava Web Services Tutorial
Updating POST and DELETE methods on UserResource to use JPA
Updating POST and DELETE methods on UserResource to use JPA In this section, we will convert deleteUser() method and createUser() method to…
-
Content Negotiation Implementing Support for XML In this section, we will discuss another concept of RESTful Web Services that is content negotiation.…
-
Implementing POST Service to Create a Post for a User In this section, we will enable post-operation to create a post for…
- Java TechnologyJava Web Services Tutorial
Implementing a GET service to retrieve all Posts of a User
Implementing a GET service to retrieve all Posts of a User In this section, we will retrieve all the posts of a…
-
Implementing DELETE Method to Delete a User Resource In this section, we will implement a delete method to delete a user resource.…