File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes EJB3 global data storage Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB3 global data storage" Watch "EJB3 global data storage" New topic

EJB3 global data storage

Zdenek Obst

Joined: Mar 19, 2009
Posts: 13

I'm looking for best solution for my app. I'm implementing EJB3 module, where I need to manage some global data, which are dynamically changed during application run. For example lets say this is ejb module for IM server. So I need to store some collections with actually logged users (with various info like status and so on). And then approach to that data from web module.

- What solution would you recommend for implementation on the server?
- If using EJB3, is there any choice how to use something like observer design pattern between web and ejb module? Or ejb is just request/response so I need polling method? E.g. I need to send some kind of notifications between users.

Thanks everyone:-)
Zdenek Obst

Joined: Mar 19, 2009
Posts: 13
I heard that JMX MBeans are be good for storing data like that. Is it right? I dont know that api..
subject: EJB3 global data storage
Similar Threads
EJB3 Bean Monitoring
ejb-jar.xml a clear definition for EJB3
hibernate search - webapp compilation problem
Design Help
How to access an EJB session bean outside of EAR in the same app server?