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
Tag Archives: cdi
CDI (2.0) Async Events
Glassfish 5 builds for Java EE 8 are rolling along… here is another Docker based example on Github. This time it’s asynchronous events in CDI 2.0 (JSR 365) Steps Just follow the README… just a bunch of docker commands to get … Continue reading
Posted in Docker, Java, Java EE
Tagged asynchronous, cdi, concurrency, events, glassfish, javaee8, jsr365, managed executor service, Server Sent Events, websocket
Leave a comment
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
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
WebSocket and CDI integration.. again..
In one of my older blog posts, I had written about what does not work as far as WebSocket and CDI integration within the Java EE Platform 😉 This one talks about what’s possible with CDI in terms of Dependency Injection Interceptors … Continue reading
CDI freebies a.k.a built-in beans
Generally speaking, The CDI programming model has pre-requisite requirements for beans which are lucky enough to leverage its services (DI, contextual state management etc.). This ranges from typical Java EE Managed Beans, EJB (session) beans etc. (I’ll leave the details … Continue reading
Dynamic event qualifiers in CDI
CDI Events CDI events allow your application components to communicate with each other in a loosely coupled manner. Those more familiar with JMS can also think of CDI events as a Synchronous equivalent of JMS (with Java EE 8, CDI … Continue reading
Native CDI Qualifiers: @Any and @Default
Let’s take a look at the out-of-the-box qualifiers in CDI There are three qualifiers declared by the CDI specification – @Any, @Default, @New @Any: Think of it as an omnipresent qualifier. It’s there even if its not 😉 @Default: As … Continue reading
Posted in Java, Java EE
Tagged cdi, context and dependency injection, Java EE, Qualifiers
Leave a comment
Simplifying JAX-RS caching with CDI
This post explains (via a simple example) how you can use CDI Producers to make it a little easier to leverage cache control semantics in your RESTful services The Cache-Control header was added in HTTP 1.1 as a much needed … Continue reading
Posted in Java, Java EE
Tagged Caching, cdi, CDI Producer, HTTP 1.1, JAX-RS, quickbyte, REST
4 Comments
Valid CDI scopes for Session (EJB) beans
CDI enriches the EJB specification (Session beans to be specific) by providing contextual life cycle management. Session beans are not ‘contextual’ instances in general. If you are comfortable with CDI in general, the idea of ‘being contextual’ should be pretty … Continue reading