Hello Dustin,

you can use generators in your applications. For example:

InitialContext ic = new InitialContext();

// get generator factory from JNDI
IDGeneratorFactory keyGeneratorFactory = (IDGeneratorFactory)ic.lookup(idFactoryName);


// get generator instance (perhaps, should be made a
// @jmx.managed-operation)
idGenerator = keyGeneratorFactory.getIDGenerator();

alex

Barlow, Dustin wrote:

Is there a way to use the UUID or the HiLoID generator outside of JDO or
CMP?  Can I call this service from a SSB, or another JMX component?

I looked in the jmx-console for what methods were exposed in the
UUIDGeneratorFactory, but didn't see anything other then the default start,
stop, init methods.

Dustin


------------------------------------------------------- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user




------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to