摘要
提出了序列块模式和全局惟一标识符模式的EJB主键生成策略,给出了这两种模式的生成算法.采用这两种模式生成EJB的主键,可使EJB的应用更具有可移植性、可维护性和可靠性.
Sequence block pattern and UUID for EJB for EJB's primary key generation strategies are put forward and then the building algorithms of these two patterns are provided. By adopting these two stragegies, good primary key can be generated and EJB's application can be made more protable, scalable and reliable.
出处
《上海理工大学学报》
EI
CAS
北大核心
2006年第2期201-204,共4页
Journal of University of Shanghai For Science and Technology
关键词
主键生成策略
设计模式
EJB
序列块
UUID
primary key generation strategies
design patterns
EJB
sequence block
UUID