A Managed Bean.  It's a JMX (Java Management eXtensions)
construct.  Everything you load in the conf/jboss.conf file is an MBean,
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.

Aaron

On Wed, 18 Oct 2000, Bjarne Olsen wrote:
> Thanks for your answer, but what is an MBean ? (or just a typing mistake?)



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

Reply via email to