In my previous post I wrote about using decoders with WebSocket. In the same post I mentioned about Encoders and that they are used for encoding the Java objects or any data into some string/binary format which is then sent to the client end point of the websocket connection. In this post I will elaborate …
Create CSS Classes For Buttons
This CSS tutorial explains how to create custom CSS classes for buttons with great look and feel. If you are into Web development, very probably you must have ran into some CSS framework like Blueprint , Bootstrap , Green and Pure are some examples. They all have their peculiarities and offer great classes for creating responsive sites and implementation of UI elements, including buttons …
Introduction to Foundation 3 Framework
In this article I’ll give a brief overview of the Foundation 3 Framework, which provides us various styles for formatting various page elements in a practical and elegant way, and allows the development of a responsive layout. Foundation 3 is a framework built with CSS SASS, a CSS pre-processor powerful, allowing us to develop much …
Using Decoder With WebSocket In Java EE 7
This post is part of the series of posts covering different JavaEE 7 features. In the past I wrote about: Creating WebSocket using JavaEE 7 Parsing JSON using the JSR 353 implementation in JavaEE 7- Using the Streaming API. Parsing JSON using the JSR 353 implementation in JavaEE 7- Using the Object Model API. This …
Exception Handling With @ControllerAdvice in Spring 3.2
In my previous article I have explained one of the new feature Spring MVC Test Fraemwork which is introduced as part of the Spring Framework 3.2 release. This tutorial explains another good feature for exception handling on Spring MVC web application. Spring 3.2 introduces new annotation @ControllerAdvice annotation used for defining the exception handler with specific exception …
Introduction To Spring MVC Test Framework
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 …
Creating JSON Data Using The Java JSON API (JSR 353)
JSON has been around for quite sometime now and lot of languages are offering out of the box support for parsing and creating JSON data. The JDK didn’t have support for parsing and creating JSON data out of the box. One had to make use of libraries for parsing and creating JSON data like Google …
@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. …