Howdo you implement the equivalent of an EJB singleton in EAP 4.3

Solution Verified - Updated -

Issue

We have some expensive database operations that we would like to perform once only and store the result in an application scoped Singleton EJB (or the equivalent).

What are the options for implementing something like this?

Environment

  • JBoss-EAP-4.3.0.GA_CP06

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.