@PathVariable annotation is one of the Spring MVC features that allows creating RESTful Web application much easier. It indicates that a handler method parameter should be bound to a URI template. In this post I will present two useful tips for working with this annotation.
Codeleak.pl
Monday, April 8, 2013
Spring MVC @PathVariable Tips
Sunday, April 7, 2013
HOW-TO: Custom error pages in Tomcat with Spring MVC
Tuesday, May 8, 2012
HOW-TO: Improve content assist for types with static members while creating JUnit tests in Eclipse
Usually while creating JUnit tests we statically import org.junit.Assert, org.hamcrest.Matchers, org.mockito.Mockito, org.mockito.Matchers when we want to use static members of these types.
To make that Eclipse proposes members of mentioned types (or any other) without explicit static import we need to define the list in Eclipse's content assist configuration
Monday, March 5, 2012
HOW-TO: Method-level validation in Spring 3.1 with @Validated annotation
@Validated annotation. The annotation is a Spring's specific variant of JSR-303's javax.validation.Valid, supporting the specification of validation groups. @Validated may be used either with Spring's @Controller method arguments or with with method-level validation.Wednesday, January 11, 2012
Spring MVC 3.1 Quickstart Maven Archetype
If you have any suggestions or you would like to join this project, please let me know.
Tuesday, December 20, 2011
How to find the right balance in between functionality and technology
The fundamental goal of each software developer is to build and deliver the right software that satisfies their customers. A software developer that wants to succeed, must be a professional focusing on a positive outcome of the project. He needs to find the right balance between building the right software and building the software right.
Read my article here: http://blog.goyello.com/2011/12/20/software-development-balancefunctionality-technology/
Friday, December 16, 2011
(My) Top 5 enhancements of Spring MVC 3.1
After many months of development Spring 3.1 has been released. The release is shipped with some exciting features like caching abstraction, bean profiles and container configuration simplifications. This release introduced also many useful enhancments to Spring MVC.
Read my full article at GOYELLO blog here: http://blog.goyello.com/2011/12/16/enhancements-spring-mvc31