>>>What we need is a per bean debug log and per bean event (SNMP)
>>>capability from the container (portable).
>
>>No problemo, dude. The bean messages are sent to the internal logging
>>facilities, which in turn is a JMX component which you can register your
>
>I'm not sure Curt's question was really answered. All the JMX based
>configuration and logging in EJBoss is great, but its hardly portable
>between app-servers. An app-server portability is one of the major selling
>points of EJB.
Sorry, I should have been more detailed on the portability side of
things.
There's two parts here:
* The log message creation
* The log message consumption
Now, jBoss (EJBoss is the old name) allows you to do System.out calls
for easy logging. You can also use our server-specific Logger component
(which, OTOH, is a JMX component and hence portable) to do logging,
which is basically the same thing but with more control. However, you
can also do your own logging classes if you want to have this tightly
integrated with your app. Any way you can think of to get hold of
messages is fine.
Then, you need to be able to send these to log consumers (SNMP, syslog,
whatever). This is where JMX comes in, and which is portable (AFAIK,
most servers will support JMX in the not-so-distant future.). jBoss log
message delivery (through our Logger JMX component) is very portable
since we use JMX notifications for log delivery, so if you make a JMX
MBean which gets messages and logs these any way you want, that
component will be portable.
So, the only place where you may want to think closely is in log message
creation. And any of the above is fine really.
That's my take on it. If your particular server does not yet support
JMX, at least it might support "startup classes" to allow you to extend
it, and you could use that to start your own JMX MBeanServer to register
these portable JMX components.
/Rickard
--
Rickard �berg
@home: +46 13 177937
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".