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
Category: Programming (35 / 37)
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
Implementing a Custom Naming Strategy With Hibernate
As all of you who are familiar with Hibernate know, not all entity annotations are mandatory. These non mandatory annotations include @Table and @Column annotations. However, even though these annotations are not required, leaving them out has never been an option for me. I simply don't like the table and column names which are generated […] Read More about Implementing a Custom Naming Strategy With Hibernate
Why You Should Keep Your Build Green
Continuous integration has established its place among the good software development practices. However, setting up a continuous integration server and configuring it to run your tests automatically does not mean that you are really doing continuous integration. It only means that you have installed a continuous integration server and it run your tests automatically. Martin […] Read More about Why You Should Keep Your Build Green
Testing that All Service Methods Are Annotated with @Transactional Annotation
A common method of setting transaction boundaries in Spring Framework is to use its annotation driven transaction management and annotate service methods with @Transactional annotation. Seems pretty simple, right? Yes and no. Even though the annotation driven transaction management of Spring Framework is easy to setup and use, there are a few things which you […] Read More about Testing that All Service Methods Are Annotated with @Transactional Annotation