From: Coates, D. <David.Coates@West.Boeing.com> - 2001-04-28 18:35:04
|
My service starts up a stream of real-time telemetry data flowing from the Space Station. When our ground engineers have a need to do some analysis of on-orbit systems they will want to start up this data flow so that the data will be available all over the Boeing-NASA intranet for analysis. I want to provide a web interface for them to control the data flow service. So that they can control where the data flows to, start it, stop it, redirect it, etc... Is this not an appropriate job for an EJB? If there's a better way to do this I'd love to know about it. Open to any input. Thanks, David Coates The Boeing Company Mission Support Data Systems, International Space Station -----Original Message----- From: David Jencks [SMTP:dav...@ea...] Sent: Thursday, April 26, 2001 9:01 PM To: jbo...@li... Subject: Re: [JBoss-user] MBean access via JNDI - How to? Hi, Out of curiousity, what kind of thing does your mbean do? How is it appropriate for an ejb to be controlling it? Waiting for the expansion of my horizons, david jencks On 2001.04.26 15:23:21 -0400 "Coates, David" wrote: > I have a custom MBean that adds a service to my JBoss container. Now I > want > to be able to control that MBean/service from an EJB. For example send > it > start(), stop(), restart(), or getStatus() messages. My basic goal is to > be > able to provide a web interface for my users so that they can monitor the > service that the MBean provides, as well as shut it down, restart it, > etc... > > I see that the documentation says that the best way to make an MBean > available to your EJBs is to make it available via JNDI. What is the > best > way to do this? > > Obviously, I need the EJBs to interact with the original instance of my > MBean and not a copy of it recreated via serialization. So is it > possible > to use javax.naming.Reference and just bind that to the JNDI tree, or do > I > have to set up a RMI registry and bind an entire registry to JBoss's > existing JNDI directory, or what? > > I'm using jboss-2.0-FINAL bundled with Tomcat, running on a Win NT box. > > > David Coates > The Boeing Company > Mission Support Data Systems, International Space Station > > > _______________________________________________ > JBoss-user mailing list > JBo...@li... > http://lists.sourceforge.net/lists/listinfo/jboss-user > _______________________________________________ JBoss-user mailing list JBo...@li... http://lists.sourceforge.net/lists/listinfo/jboss-user |