Spring Data JPA Tutorial Part Two: CRUD

by Petri on January 24, 2012

The first part of my Spring Data JPA tutorial described, how you configure Spring Data JPA. This blog entry goes a bit deeper and describes how you can use Spring Data JPA for creating a simple CRUD application. The requirements of the application are following: The person must have a first name and last name. [...]

{ 1 comment }

Read the full article...

Spring Data JPA is a project which aims both to simplify the creation of JPA based repositories and to reduce the amount of code needed to communicate with a database. I have been using it for a while at my work and in my personal hobby projects and it has indeed make things a lot [...]

{ 0 comments }

Read the full article...

There Are No Small Projects

by Petri on January 15, 2012

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 [...]

{ 0 comments }

Read the full article...

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 [...]

{ 0 comments }

Read the full article...

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 [...]

{ 0 comments }

Read the full article...