List/Grid Tag Archives: EJB

java-interview-questions-answers

How to build and clear a reference data cache with singleton EJBs, Ehcache and MBeans

In this post I will present how to build a simple reference data cache in Java EE, using singleton EJBs and Ehcache. The cache will reset itself after a given period of time, and can ...
java-interview-questions-answers

How to build and clear a reference data cache with singleton EJBs and MBeans

In one of my projects I had a requirement to load reference data from several sources in a Java EE 6 WebLogic environment, with EclipseLink as ORM framework. Since I couldn’t find ...
java-interview-questions-answers

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

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 ...
java-interview-questions-answers

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 ...
java-interview-questions-answers

Stateless EJBs: Pooling and Lifecycle

A summarized view (notes) of the Stateless EJB pooling and life-cycle. Useful for newbies . . . . . EJB Pooling: Quick OverviewEJB instances are stored in a location known as the ...
java-interview-questions-answers

EJB passivation and activation example

In this tutorial we are going to see how activation and passivation works in a Stateful Java Enterprise Session Bean. 1. Introduction Stateful Session Beans usually hold information ...
java-interview-questions-answers

Java EE Stateful Session Bean (EJB) example

In this article we are going to see how you can use Stateful Session Beans to keep track of state across a client Session in a simple Web Application. 1. Introduction Stateful Session ...
java-interview-questions-answers

Java EE EJB Interceptors tutorial and example

In this example we are going to see how to use Interceptors in an EJB and test it using a simple Web Application. 1. Introduction Interceptors are used, as the name suggests, when you ...
jboss-logo

JBoss AS7 JNDI & EJB 3.1 Naming changes

As a result of the “feature train” continuing to march on and us not keeping our software stack up-to-date, our team finds ourselves in the un-enviable position of having ...
java-interview-questions-answers

EJB Inheritance is Different From Java Inheritance

Despite the fact that EJB inheritance sometimes uses Java inheritance — they’re not always the same. Just as you could read in my previous post, EJB doesn’t have to implement ...
Java Code Geeks and all content copyright © 2010-2014, Exelixis Media Ltd | Terms of Use | Privacy Policy | Contact
All trademarks and registered trademarks appearing on Java Code Geeks are the property of their respective owners.
Java is a trademark or registered trademark of Oracle Corporation in the United States and other countries.
Java Code Geeks is not connected to Oracle Corporation and is not sponsored by Oracle Corporation.
Do you want to know how to develop your skillset and become a ...
Java Rockstar?

Subscribe to our newsletter to start Rocking right now!

To get you started we give you two of our best selling eBooks for FREE!

Get ready to Rock!
You can download the complementary eBooks using the links below:
Close