Category Archives: Spring

Charts with jqPlot, Spring REST, AJAX and JQuery

One of the most notable features of HTML5 is Canvas API which provides a rectangular region for custom drawing. There are several uses of it like: building games, image compositions, animations but this time we will see how to use … Continue reading

Posted in AJAX, Java, Spring | Tagged , , , , , , | 1 Comment

Integrating Hibernate with Spring

When building a web application, we will sooner or later need to somehow store data entered by users and retrieve it later. In most cases the best place to keep such data is a database because it additionally provides many … Continue reading

Posted in Hibernate, Java, Java EE, Spring | Tagged , , , , , | 1 Comment

Custom bean validation constraints

Bean Validation API defines several built-in constraint annotations which are very useful in many situations. However, there are still some cases where these standard constraints are not enough and you have to create your own custom constraint. With Bean Validation … Continue reading

Posted in Java, Java EE, Spring | Tagged , , , | 4 Comments

Validating HTML forms in Spring using Bean Validation

Validating input is a crucial part to ensure data integrity and proper function of the whole application. JSR-303 also known as Bean Validation is a very convenient way to perform such validation at different levels of the application. In this … Continue reading

Posted in Java, Spring | Tagged , , | 4 Comments

Using JPA and JTA with Spring

When building a web application, we will sooner or later need to somehow store data entered by users and retrieve it later. In most cases the best place to keep this data is a database because it additionally provides many … Continue reading

Posted in Java, Java EE, JPA, JTA, Spring | Tagged , , , , , , | 15 Comments

How to handle HTML forms in Spring

Spring MVC is a part of Spring Framework which main purpose is to simplify development of web applications. In this article I would like to explain how to handle HTTP requests, render the web page and process simple HTML forms … Continue reading

Posted in Java, Spring | Tagged , , , , , , | 6 Comments