Tag Archives: enterprise java beans

MDB != JMS and vice-versa

Basics A Message Driven Bean (further referred to as MDB) is just another EJB like Stateless, Stateful or a Singleton. It’s specified using the @MessageDriven annotation. MDBs are used for asynchronous message processing They are similar to Stateless EJBs since … Continue reading

Posted in Java, Java EE | Tagged , , , , , , | 1 Comment

Where can I run EJBs ?

EJBs are built for more than just a Java EE application server. They can also execute in a Java EE Web Profile container or plain Java SE environment (Java SE ! yeah – Easy Java Beans !). EJB Lite Required … Continue reading

Posted in Java, Java EE | Tagged , , , , , | 1 Comment

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

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 … Continue reading

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

Java EE: Asynchronous constructs and capabilities

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 … Continue reading

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

Book Review: EJB 3 in Action, Second Edition

This is a review of the book EJB 3 in Action, Second Edition What is this book about? This book is essentially about EJB 3 with a prime focus on the latest version i.e. EJB 3.2. The book is aligned with the latest version … Continue reading

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

Stateless EJBs: Pooling and Lifecycle

A summarized view (notes) of the Stateless EJB pooling and life-cycle. Useful for newbies . . . . . EJB Pooling: Quick Overview EJB instances are stored in a location known as the EJB Pool – this is nothing but … Continue reading

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