Caching with periodic updates using EJB 3.1 Singleton and Timer

With the introduction of Singleton beans in EJB 3.1, implementing a cache in the business-tier has become easy. Only one instance of a singleton bean is created per JVM (in case the application server runs in multiple clusters) by the EJB container. The singleton beans also provide other features of EJB – transaction and concurrency management, security, remote access, life cycle callbacks, interceptors and dependency injection.

Topics: EJB Scheduler EJB 3.1 JVM Java Caching singleton bean Timer Schedule Technology

e-Zest Solutions is digital experience engineering company with facilities in the United States (Detroit & San Jose), Germany (Hannover), United Kingdom (London UK) and India (Pune) with global clientele. Our services include custom software development, offshore software development, UX consulting, BigData, Managed cloud Services (Azure & AWS), SharePoint consulting/Migration, Enterprise Java application development, Automated software testing services.