I am migrating a CORBA -based system to j2ee using jboss, and not sure what the j2ee equivalent is for one component type. I have several components that asynchronously perform tasks. These components aren't associated with user sessions, so I don't believe any of the ejb types are the right things to use. I want these components to start up when jboss is started, have a thread of background processing, be able to access my application's entity beans, and be accessed from session beans when a user is configuring the system.
I think the j2ee component type that fits this best is a mbean, but I am unable to find an mbean "hello world" example to use as a starting point. Does anyone know of one?