> so you can look at the implementations of some of those for ideas.  This
> is a big task, though, so you may be better served by just executing a
> query against your DB to retrieve the next key (for example, "select
> sequence.nextval from dual" on Oracle).  That is, you may want to just do
> that in your EJB. The MBean approach would be more generic (it could work
> for a number of EJBs with independent key sequences), but more complex
> too.

I'm sorry to hear that it turns out to be a big task... the JMX spec gives
the idea that it's suppossed to be quite easy for a Java class / component
to be an MBean.

Kyle Cordes
[EMAIL PROTECTED]
www.kylecordes.com





--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to