Patent ID: 6999964

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 underlying EJB database table; and mapping an interface name for a particular EntityBean to a deployed primary key class during configuration; associating said domain key class to particular business applications within which said EntityBean object is being utilized; wherein said primary key class and associated home may be utilized across different business applications, each utilizing the domain key class, while ensuring uniqueness across said different applications of said primary key via said domain key class and attributes of a context object assigned to each particular business application; and isolating business application code from an exact class of both the primary key and the domain key of said EntityBean object to enable a deployer of the EntityBean object to determine the actual key classes utilized for the EntityBean object, wherein reusability of said EntityBean object is enabled.