简体   繁体   中英

Accessing data between jar files with two different processes

I have 4 applications in running websphere application server,one as ear file and other 3 based on message driven beansas jar files . Now i am trying to add one more application ie jar file this application will start up on server and keep all the data in hashmap object. i want to read this hashmap object using 4th application api through one of the message driven bean code.

Is it possible to read 4th application hashmap object without RMI call?

It sounds like you want some sort of singleton service which will be utilized by the other apps on the app server. You can implement this as a @Singleton ejb, which can then be accessed by other apps using standard ejb invocation methods.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM