One of the new features introduced with Spring Framework 3.2 release is Spring MVC Test Framework. It is an improvement from the previous versions and added more testing capabilities. For a web application developer, unit testing the web applications are always a challenging point. Getting a real time test environment for web applications require lot …
@PathVariable – URI Template Patterns in Spring MVC
This tutorial explains how to customize / template pattern on request URI for Spring MVC web application. @RequestMapping annotation used for defining the request URL for the class level and method levels. It is generic annotation where developer can configure the relative paths inside application context. However, it doesn’t offer flexible URI patterns on its own. …
How To Build Spring MVC Web Application With Maven?
In my previous tutorial I have explained about how to create a web application using the Maven tool. This tutorial explains how to build your web application project using the Maven artifacts. What is artifacts?. Every framework developer have the repository to store their packages where maven would download from the given artifact id. This …
Create Web Application Project With Maven
This is a simple tutorial explaining how to set up your Web Application Project With Maven and then how it can be converted to the eclipse project. If you have earlier used ANT tool for building the Java projects, it is little difficult to understand the working method for the Maven at first. Maven is …
Spring MVC Annotations
Annotations are introduced from the Java 5.o release. Annotations brought one of the major change to the Java programming style by eliminating the XML configurations and replaced with @ symbol annotations for everything. Since then, all the major Java frameworks have started implementing the annotations support for their release. Spring Framework has started using the …
Spring MVC Example
This tutorial explains simple Hello World Example for start learning Spring MVC. We have published several tutorials on advanced concepts using spring framework, including spring mvc examples. However, this post is just re-post for the beginners just want to write a bare minimum code for setting up the spring mvc project. If you have any …
JAXB Tutorial
This tutorial is introduction to Java Architecture for XML Binding (JAXB). JAXB tutorial is based on the Java 6.0 and later versions. JAXB is XML Binding API which defines the API for reading and writing the XML files from Java objects. As the binding word defines, XML and Java objects are binded together for the …
Use dojo/keys For Key Press Events in DOJO
If you are working in JavaScript, getting the key press events is necessary to perform any user initiated operations. DOJO provides dojo/keys module to perform all the key events. dojo/keys module defines the constants for each type of key with the corresponding key code. This helps us to import this module and directly use it …