aspose file tools*
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
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..
I agree. Here's the link:
subject: EJB3 global data storage
Similar Threads
ejb-jar.xml a clear definition for EJB3
EJB3 Bean Monitoring
How to access an EJB session bean outside of EAR in the same app server?
Design Help
hibernate search - webapp compilation problem