Home » Archives for Abhishek Gupta » Page 4

Author Archives: Abhishek Gupta

What’s up with Java EE 8 ? (part 2)

java-interview-questions-answers

Work on Java EE 8 is still in the initial phases and expected to catch pace in the upcoming year wherein we would see completion of Expert Group formation, more discussions around use cases/features, lots of JIRAs, and draft versions of various specifications (this would be quite interesting!). In part 1, we looked at the new specs which are in ...

Read More »

Updates on CDI 2.0

java-interview-questions-answers

CDI 2.0 is the next version of Contexts and Dependency Injection for the Java EE Platform and a candidate for inclusion in Java EE 8. It is being worked upon since September 2014 and moving pretty rapidly !                 Major goals for CDI 2.0 Alignment with Java SE 8 (of course!) Support for ...

Read More »

What’s up with Java EE 8 ?

java-interview-questions-answers

Work on Java EE 8 is well on it’s way. Time to catch up! Dive in without further ado… Don’t forget Java EE 7 just yet….. Revolved around three important themes HTML 5 alignment – Java API for WebSocket (JSR 356), JSON Processing (JSR 353), JAX-RS 2.0 (JSR 339) Developer productivity – CDI 1.x , JMS 2.0 (JSR 343) Meeting ...

Read More »

Optional and Objects: Null Pointer Saviours!

No one loves Null Pointer Exceptions ! Is there a way we can get rid of them ? Maybe . . .                    Couple of techniques have been discussed in this post: Optional type (new in Java 8) Objects class (old Java 7 stuff !) Optional type in Java 8 What is it? A ...

Read More »

JVM PermGen – where art thou?

This post covers some basics of JVM memory structure and quickly peeks into PermGen to find out where it has disappeared since advent of Java SE 8. Bare Basics The JVM is just another process running on your system and the magic begins with the java command. Like any OS process, it needs memory for its run time operations. Remember – the JVM ...

Read More »

EJB 3.x : Lifecycle and Concurrency models (part 2)

java-interview-questions-answers

This is the second post of the two part series. The first part covered the life cycle and the concurrency behavior of Stateful and Stateless EJBs. I’ll cover Singleton EJBs in this post. The Singleton pattern is arguably the most used (some times misused!) pattern out there.         Java EE frees us from writing explicit code (like one on the above ...

Read More »

EJB 3.x : Lifecycle and Concurrency models (part 1)

java-interview-questions-answers

Java EE component life cycle and concurrency related details might not be new for seasoned professionals, but it is something which can take time to sink in for beginners.                 As far as EJBs are concerned, understanding their life cycle (and related concurrency scenarios) is extremely critical in order to ensure appropriate usage and solution ...

Read More »

Java EE: Asynchronous constructs and capabilities

java-interview-questions-answers

Introduction Java EE has a number of APIs and constructs to support Asynchronous execution. This is vital from a scalability and performance stand point. Let us assume 2 modules which are interacting with each other. When moduleA (the sender) sends a message to moduleB (the receiver) in a Synchronous fashion, the communication takes place in the context of a Single thread ...

Read More »

A closer look at Oracle IDM Auditing

java-interview-questions-answers

Reporting is a vital functionality in any product which deals with sensitive information. Same applies to Identity & Access Management tools. Oracle IDM’s Auditing module acts as a foundation for its OOTB Reporting capabilities. Let’s take a quick look at Auditing engine and how it facilitates the Reporting functionality within OIM. The use case presented here is simple – change to a ...

Read More »