Category - java

Java Websocket API With Custom Decoder 27 October 2013

Java JEE7 now support Websocket with realtime bidirection communication from server to clients. The websocket API provide extendsible API to build custom decoder to decode message from client.

In this post, you will learn how to use java websocket API to build custom decoder.

Continue read ►


JPA 2.1 Update Criteria That Support Bulk/Partial Update 18 September 2013

JEE 7, the latest relase of JEE now is available with JPA 2.1. JPA 2.1 new features include Store Procedure support, and bulk update via CriteriaUpdate.

In this post I will describe how to get started with JPA 2.1’s CriteriaUpdate to perform bulk update or partial(single field) entity update.

Continue read ►


Deploy Springframeworka and JPA 2 Quickstart to Cloud Foundry in Minutes 09 August 2013

Get started with complex Java Spring Framework and JPA 2 (Hibernate) is slow and time consuming. While Ruby On Rails provide tool to generate project in seconds to quickly start a new Rails application, why not build a Java quick start template that alrady configured all necessary configurations? Getting started with Java web development is tedious and time consuming is not execuse anymore. I will describe how to get started with Java web development in minutes and deploy to Cloud Foundry.

Continue read ►


Java JEE7 JAX-RS 2.0 Client Example 01 June 2013

JEE6 JAX-RS 1.0 only include API for creating RESTful server application but no API for RESTFul client to consume the resources. Jersey, RESTEasy provide different API and make the client code vendor dependent. Now JEE7 JAX-RS 2.0 include Client API, which make the API vendor independent. In this blog, I will write the example of using JAX-RS 2.0.

Continue read ►


Java JEE7 JPA 2.1 Stored Procedure Example 25 May 2013

JEE 7, the next release of Java Enterprice for large application will include a new enchanced JPA 2.1. JPA 2.1 now have native support for stored procedure. Folllow this blog post to know how to use soted procedure in JPA 2.1.

Continue read ►


JEE7 WebSocket Example 18 May 2013

JEE 7, the next release of Java Enterprice for large application will include a standard WebSocket API for create realtime communication channel over a single TCP connection. The realtime communication allow server to push message to clients in realtime. This tutorial will teach step by step to create a realtime chat program using JEE7 WebSocket API. There are two ways to using JEE7’s WebSocket API, one is using annotations and another is using normal OO concept to extend classes. This tutorial will mainly focus on using annotations based API.

Continue read ►


JEE7 JSON API Example 24 April 2013

JEE 7, the next release of Java Enterprice Edition for large application will include a standard JSON API without using third party JSON API such as [JSON.org][jsobn-org]. Is time to use standard API for Java web development.

Continue read ►


Search

Find Me