Top.Mail.Ru
December 22nd, 2005 - Java developers — LiveJournal
? ?

Java developers

December 22nd, 2005
 

02:59 pm - v_earta - How to share POJO under JBoss to another objects and VMs

We got a simple POJO class and also web-application (EAR) under JBoss.
This class should be loaded once at startup of web application and then it should be accessible from anywhere of web-application: servlet, portlet, bean, etc.
Important fact that this object should work on the same VM as JBoss. This object should be "visible" to applications on another VMs.
Could you tell which technologies are best fit to this problem. How we could solve it? Could you call some concrete technologies that has similar application? Which of them to use (JNDI, RMI, SOAP)? We need as simple solution as possible. Better if it would be done using "native" JBoss facilities... (servlet load-on-startup, session bean, mbean??)
Thanks in advance, and excuses for my bad english. ;)
Powered by LiveJournal.com