Using Encoder With WebSocket in Java EE 7

java-jee

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 […]

Using Decoder With WebSocket In Java EE 7

java-jee

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 […]

Creating JSON Data Using The Java JSON API (JSR 353)

JSON

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 […]

JSON Processing in JavaEE 7- Using Object Model API

java-jee

In my previous post about JSON processing I introduced you to the sample application and then showed how one can make use of the Streaming API to parse the JSON data. The JSON Streaming API was not suited for scenarios explained in my previous post. In such scenarios one can make use of the Object […]

JSON Processing in JavaEE 7- Using Streaming API

java-jee

If you are wondering what JSON is (Read : What is JSON?), you might want to read this article of mine. Java didn’t have a support for JSON processing out of the box. Developers had to include external libraries to enable JSON processing. But with JSR 353 we have support for JSON processing in Java […]

WebSocket Support in Java EE 7

java

I am going to divide this post into following topics for ease of understanding to the readers: What is a WebSocket? JavaEE 7 Support for creating WebSocket end points Javascript support to create WebSocket client end point What is a WebSocket? It is a feature being introduced as part of the HTML5 specification. It introduces […]

Asynchronous Servlet – A new feature in Servlet 3.0 and Java EE 6

java-jee

When Java EE 6 was announced with a new servlet specification i.e Servlet 3.0 – Asynchronous servlet was a very important feature added to the new specification. Suppose your servlet does a long running task like making a JDBC call or invoking a web service, such operations generally take up a lot of CPU time […]

How to create bounded taskflows in ADF using JDeveloper?

JSF-Thumbnail

Taskflows are a very useful feature in Oracle ADF which provide a modular approach for defining control flow in an application. It allows to create application flow graphs which can be tied together to build the complete application. So instead of considering an application as a collection of different JSF pages, in ADF we would […]

Book Review: Pro Java 7 NIO.2

The Pro Java 7 NIO.2 book is all about the latest enhancements to the File NIO APIs added as part of Java 7. The book covers New Path and Paths API: A brief overview of the Path and Paths classes and how these can be used to represent a file/directory. Also explained are the different […]

Reading file asynchronously in Java

java-thumbnail

We all are familiar with reading/writing file in a synchronous way. In Java 7 a new API was added to read/write the contents of the file asynchronously. The API is AsynchronousFileChannel. also read: Java 7.0 Tutorials New Features in Java 7.0 G1 Garbage Collector in Java 7.0 In this example lets look at how to […]

Close
Please support the site
By clicking any of these buttons you help our site to get better