Category Archives: Java EE

Configuring WebSocket server endpoints

WebSocket Server endpoint configuration Before we dive into the details, here is a quick snapshot of the related interfaces Class/Interface Description ServerEndpointConfig A derivative of EndpointConfig interface which is specific for configuration related to server side WebSocket endpoints ServerEndpointConfig.Configurator An … Continue reading

Posted in Java, Java EE | Tagged , , , , | Leave a comment

Difference b/w Cache Writer and Cache entry listener

In one of my previous blogs, I gave an overview of Cache Loader+Writer as well as Cache entry listeners. The difference b/w a Cache Loader and Cache create/update entry listener is obvious and their roles are clearly differentiated a loader pulls the … Continue reading

Posted in Java, Java EE | Tagged , , , , , , | 2 Comments

Deploying WebSocket annotated & programmatic server endpoints together

One of my previous blog post discussed Programmatic WebSocket endpoints and their deployment methodology using the javax.server.ServerApplicationConfig class. When annotated and programmatic endpoints co-exist… you have to make use of the a custom implementation of ServerApplicationConfig and explicitly return set … Continue reading

Posted in Java EE | Tagged , , , | Leave a comment

Using JCache event listeners + loaders & writers

This blog will zoom through JCache events, loaders and writers look at scenarios when they are used together You can download the sample maven project from this Github repo. It consists of simple Listener, read through, write through examples along with … Continue reading

Posted in Java EE | Leave a comment

CI/CD using Oracle Developer Cloud service

Here is another blog which I published on the Oracle Cloud Developer Solutions portal – Continuous Deployment to App Container Cloud using Developer Cloud service . If you’re interested in exploring how Oracle Cloud solutions can help you seamlessly manage your application (a lightweight fat JAR … Continue reading

Posted in Cloud, Java, Java EE, Oracle Application Container Cloud, Oracle Cloud | Tagged , , | Leave a comment

Java EE microservices with Oracle Application Container Cloud and Wildfly Swarm

  Just wanted to drop a note regarding one of the blogs I recently published on the Oracle Cloud Developer Solutions portal – Building ‘right sized’ Java EE applications with Oracle Application Container Cloud and Wildfly Swarm . You should check it out ! … Continue reading

Posted in Java, Java EE | Tagged , , , , , , | Leave a comment

My picks for Java EE track @ JavaOne 2016

Its time for JavaOne 2016 with a great line up of Java EE talks… Here are my favorite picks, filed into three categories. You should definitely consider attending few of these if you are one of the lucky JavaOne attendees ! 🙂 Java … Continue reading

Posted in Java EE | Tagged , , , | Leave a comment

JSON-B test drive using JAX-RS

This is a quick post about JSON-B specification which is due in Java EE 8. It’s main purposes are Provide JSON binding i.e. marshalling and un-marshalling to and from Java objects Eclipselink will server as Reference Implementation Supports Java object … Continue reading

Posted in Java, Java EE | Tagged , , , , , , | Leave a comment

Nuances of JAX-RS client side async callback

Going async with JAX-RS JAX-RS provides client side asynchronous behavior to complement its server side counterpart. It’s powered by the AysncInvoker interface – the best part if that you do not need to get hold of it explicitly. The fluent … Continue reading

Posted in Java, Java EE | Tagged , , , | Leave a comment

Java Websocket containers: the possibilities

The Java Websocket API (JSR 356) specification supports different containers Good old Java EE 7 app servers – since Websocket API is integrated directly into the Java EE 7 Platform Servlet 3.1 containers Standalone containers – for runtimes which are … Continue reading

Posted in Java EE | Tagged , , , , , | Leave a comment