Re: xdoclet-user Digest, Vol 13, Issue 6

Konstantin Priblouda <[email protected]> Wed, 27 Jun 2007 23:28:17 -0700 (PDT)
Newsgroups gmane.comp.java.xdoclet.user
Message-ID <[email protected]>
--- John Doe <[email protected]> wrote:

> Konstantin, what yaour counter bean looks like? Is
> it just increment the
> last ID in table or what?

just an entity bean, keyed with string, with
incrementing
counter - throw in decent transaction handlng and you
are fine. 

eiteher use one instance for all, or instance per
entity
( use EJB name as primary key )

regards,

----[ Konstantin Pribluda http://www.pribluda.de ]----------------
JTec quality components: http://www.pribluda.de/projects/


       
____________________________________________________________________________________
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
http://farechase.yahoo.com/

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/