Java EE eBooks on Leanpub
DZone Java Caching Refcard
-
Join 128 other subscribers
-
Recent Posts
- Basics of Kubernetes Volumes – Part 1 September 24, 2019
- Using Azure Disk to add persistent storage for your Kubernetes apps on Azure September 23, 2019
- “Kubernetes in a Nutshell” — blog series September 21, 2019
- My Tweets
Categories
- Books (6)
- Caching (1)
- Cloud (7)
- Docker (5)
- Java (136)
- Knowledge (1)
- kubernetes (8)
- NoSQL (2)
- Oracle Cloud (5)
- Oracle Directory Services (1)
- Oracle Identity & Access Management (1)
- Oracle Identity Governance (12)
- Oracle Identity Manager (17)
- Oracle Priviledged Account MAnager (1)
- Oracle Privileged Account Manager (2)
- Oracle Unified Directory (1)
- Productivity (1)
- serverless (2)
- Uncategorized (2)
- Follow Head in the clouds on WordPress.com
Category Archives: Java
Glassfish 5: JAX-RS SSE quickstart
Latest Glassfish 5 build 08 was announced today which includes JAX-RS 2.1 (JSR 370) integration. I am fond of Server Sent Events (SSE), so let’s take it for a test ride – here is a Docker based quick start on Github … Continue reading
Posted in Java, Java EE
Tagged glassfish, javaee8, jaxrs, jsr370, REST, Server Sent Events
2 Comments
Validate JAX-RS query parameters
It’s easy to validate parameters in JAX-RS using filters – ContainerRequestFilter to be specific. There are other options at your disposal e.g. using (CDI or EJB) interceptors, or injecting (HttpServletRequest using @Context) Scenario – Validate query parameter passed in by the … Continue reading
Accessing HTTP Session in WebSocket endpoint
It’s possible to obtain a reference to the HttpSession within a WebSocket application using a custom implementation of ServerEndpointConfig.Configurator Here is an example application on Github Steps… Override the modifyHandshakeRequest method call the getHttpSession method on the HandshakeRequest object which is passed into the … Continue reading
kafEEne #2: Kafka & Concurrency Utilities
Yet another blog post of the kafEEne series – this time, its Java EE Concurrency Utilities in action along with Kafka. As usual, the code is on Github and you can refer to the README on how to get this up … Continue reading
Posted in Java EE
Tagged concurrency utilities, docker, ejb, executor service, javaee, kafEEne, kafka
Leave a comment
kafEEne #1: Websocket & Kafka
Say hello to kafEEne ! A blog series which will show Kafka and Java EE examples This one is about Kafka + (Java EE) Websocket API. Code is on Github and you can refer to the README on how to get this … Continue reading
Redis CDI example….
Here is an example of a CDI producer for Redis using the Jedis (Java) client for Redis. Check out the project README to get this up and running…. Below is a quick summary Use of CDI Qualifier Two types of … Continue reading
Handling ‘state’ in Java WebSocket applications
By and large, there are two kinds of states in a WebSocket application User/client specific: related to a connected user/Session e.g. user ID, list of subscriptions, last message received etc. Global: state which is relevant across your application and something … Continue reading
Using CDI with Java EE Concurrency Utilities
This blog post explores usage of CDI along with Java EE Concurrency Utilities – specifically using CDI beans as managed tasks. Here is the sample application on Github Lets begin with a quick overview Java EE Concurrency Utilities provides APIs … Continue reading
Posted in Java, Java EE
Tagged cdi, concurrency, concurrency utilties, javaee7, jaxrs, managed task, REST
5 Comments
Trending Meetup groups with Redis and Java EE
This is an application which displays the currently trending Meetup groups based on their (live) RSVPs feed. It’s built using Java EE 7 (uses WebSocket client & server APIs, Singleton EJB timers and CDI events to wire things up) and … Continue reading