Support for domain level business object keys in EJB
Abstract
A method, system and program product for providing domain level business object keys in Enterprise JavaBeans (EJB) applications. An instance of an EntityBean object is provided with both a primary key and a domain key class. The primary key class is associated with a home selected for the EntityBean object, and the domain key class is associated with a particular business application within which the EntityBean object is being utilized. The EntityBean and associated home is utilized across different business applications, while ensuring uniqueness across the different applications. Also, a common interface for the primary key is introduced that has methods, which (1) provide an initialized instance of associated domain key classes from a concrete primary key subclass, wherein a concrete primary key subclass knows its associated domain key and is able to initialize the domain key from a subset of attributes of the primary key, and (2) creates an initialized instance of a primary key subclass from a given domain key and a context object.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 12.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for providing domain level business components in an Enterprise JavaBeans (EJB) application comprising: providing an instance of an EntityBean object with both a primary key class and a domain key class, wherein said primary key class comprises data and attributes of said domain key class and additional partitioning information that provides uniqueness based on an identity of a context object; associating said primary key class with a home selected for said EntityBean object, said associating of said primary key class comprising: mapping a persistent state of the EntityBean into an un
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (12 of 12 total)
References Cited — Backward Prior Art (6)
Non-Patent Literature (3)
- OMG Business Object and Enterprise Java Beans, Dec. 17, 1999, pp. 1-5.
- Pearson Technology Group, Advanced Java 2 Development for Enterprise Applications 2/e, Clifford j. Berg, Published Dec. 1999, Prentice Hall, chapter 8, p. 602-658. (Retrieved on Oct. 15, 2003, http://www.pearsonptg.com/samplechapter/0130848751).□□.
- Steve Demuth, Client-side Java for EJB's, Jul. 2000, pp. 1-4.