Auto increment primary key can be independent of the J2EE aplication server.
You can download a free PDF of the book "EJB Design Patterns", see the chapter 5 ,"Primary Key Generation Strategies".
Jose Luis Martinez
Thank you so much for your help. The sequence block algorithm works.
Can you post the code example of your implementation in the forum ?..
yes, post your code example please :)