"[EMAIL PROTECTED]" wrote : lifecycle in JMX is a jboss specific addition.
I'm not following...(you mean JBoss Services and their design pattern?) "bill" wrote : Since you already want to use jboss specific extensions, why not @Service? | | Add a start/stop method to your @Service's @Management interface and you are ready to go. Well Bill, thanks but the point is I DON'T WANT to use JBoss specific extensions (I admit that this maybe hard) and rather it be a platform agnostic. I really like JBoss but in the end I still want to be platform neutral with my app. The @Service notation is the right idea (a higher level of abstraction above the EJB3 stuff) but it doesn't quite fit my needs exactly though its close. (why does it have to be a singleton anyway?). I had no idea about the @Management interface but I will assume it allows you to define some lifecycle methods around your @Service object (which seems to me that there is room for custom lifecycle around an EJB). Can I get something very similar with a @Stateless bean encapsulated by a JMX object? I mean if this was a loose ESB like substance, I suppose notifications and lifecycle management could be done all through custom messages but this isn't what I really want at this stage of the game. I just want to be able to manage properties of an EJB that represents some service (i.e. business domain logic) and provides scale (many clients talking to it). Again, thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932680#3932680 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932680 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
