Tag Archives: Java EE

Basics of scaling Java EE applications

To be honest, ‘scalability’ is an exhaustive topic and generally not well understood. More often than not, its assumed to be same as High Availability. I have seen both novice programmers and ‘experienced’ architects suggest ‘clustering‘ as the solution for … Continue reading

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

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 , , , | Leave a comment

New in JMS 2.0 . . .

This post lists ALL of the new APIs (interfaces/classes/annotations etc.) introduced in JMS 2.0 (part of the Java EE 7 platform). These have been categorized as follows API simplification Ease of use Exception Handling Miscellaneous Here is a quick summary … Continue reading

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

Random JCache stuff: multiple Providers and JMX beans

JCache (JSR 107) is the Java standard for Caching… enough said. No more introductory stuff. This is a quick fire post which talks about Multiple JCache provider configurations, and Feature: JCache stats via JMX Mbeans Managing multiple JCache providers In … Continue reading

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

Types of JMSContext in JMS 2.0

If you follow Java EE, the simplified API components in JMS 2.0 (Java EE 7) will not be unknown to you. One of the important interfaces which forms a part of the simplified API is the javax.jms.JMSContext interface. JMSContext can … Continue reading

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

Java EE 7 in production . . . so far. . .

This is a quick post for folks who are searching for examples/instances of real world a.k.a production use of Java EE 7 . Please note that this list is courtesy two major sources –  JavaOne Conference (2014) talk delivered by Arun Gupta (check out … Continue reading

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

Handling time outs in Async requests in JAX-RS

JAX-RS 2.0 provides support for asynchronous programming paradigm, both on client as well as on the server end. This post which highlights the time out feature while executing asynchronous REST requests on server side using the JAX-RS (2.0) API Without … Continue reading

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

Quick peek at JAX-RS request to method matching

In this post, let’s look at the HTTP request to resource method matching in JAX-RS. It is one of the most fundamental features of JAX-RS. Generally, the developers using the JAX-RS API are not exposed to (or do not really … Continue reading

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

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

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

Book Review: RESTful Java Patterns and Best Practices

This is review of the book RESTful Java Patterns and Best Practices     What is this book about and how can you possibly benefit from it ? Its primarily geared towards readers who are interested in taking their REST … Continue reading

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