We have now configured the persistence layer of our Spring application. We are finally ready to create our first Spring Data JPA repository. This blog post describes how we can create a repository that provides CRUD operations for todo entries. Let’s get started. Additional Reading: If you are not familiar with Spring Data JPA, you […] Read More about Spring Data JPA Tutorial: CRUD
Blog (88 / 94)
Spring Data JPA Tutorial: Configuration
After we have declared the required dependencies in our POM file, we have to configure the application context of our Spring application. This blog post describes how we can configure the persistence layer of a Spring application that uses Spring Data JPA and Hibernate. Let’s get started. Additional Reading: If you are not familiar with […] Read More about Spring Data JPA Tutorial: Configuration
There Are No Small Projects
How often have your heard one of the following phrases: This is a small project so we will just have to put something together and FAST. Big projects need to be designed in a totally different manner than small ones. This is just a campaign product / prototype which is used only once. We can […] Read More about There Are No Small Projects
Creating RESTful Urls with Spring MVC 3.1 Part Three: UrlRewriteFilter
This blog entry describes how you can create RESTful url addresses to your web application with Spring MVC 3.1 and UrlRewriteFilter. In other words, the url addresses of your application must fulfill following requirements: An url address must have a suffix in it (in other words, an url address most not contain a suffix like […] Read More about Creating RESTful Urls with Spring MVC 3.1 Part Three: UrlRewriteFilter
Creating RESTful Urls with Spring MVC 3.1 Part Two: Dispatcher Servlet Url Mappings
The first part of this series described how you can create RESTful urls with Spring MVC 3.1 and default-servlet-handler element of the MVC namespace. This blog entry will describe how you can use the dispatcher servlet url mappings for the same purpose. As you might remember from my previous blog entry, a RESTful url must […] Read More about Creating RESTful Urls with Spring MVC 3.1 Part Two: Dispatcher Servlet Url Mappings
Creating RESTful Urls with Spring MVC 3.1 Part One: default-servlet-handler
This blog entry describes how you can create a web application which has restful url addresses by using Spring MVC 3.1 and the default-servlet-handler element of MVC XML namespace. The requirements for RESTful urls are given in following: An url address must no have suffix in it (in other words, an url address most not […] Read More about Creating RESTful Urls with Spring MVC 3.1 Part One: default-servlet-handler