System and method for navigating beans using filters and container managed relationships
First Claim
1. A method, in a data processing system, for deploying at least two beans, comprising:
- defining a relationship between the at least two beans in a deployment descriptor;
defining, in the deployment descriptor, a filter on the relationship between the at least two beans; and
deploying the at least two beans based on the deployment descriptor, wherein at least one method is generated during deployment that implements the filter defined in the deployment descriptor.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and method for navigating relationships between beans using filters and container managed relationships are provided. With the system and method, filters are specified in the relationship definition of a deployment descriptor of a bean. The filters generate additional predicates to the WHERE clauses in SQL SELECT statements generated based on the contents of the deployment descriptor. Moreover, these filters may be defined such that method parameters may be passed into the resulting deployed code to thereby make them more flexible. Therefore, with the system and method, rather than defining filters programmatically in methods of a bean'"'"'s implementation class, filters are defined declaratively in the deployment descriptor of the bean. Since these filters are specified in the deployment descriptor of the bean, they are accessible to clients of the bean through the local interface.
20 Citations
20 Claims
-
1. A method, in a data processing system, for deploying at least two beans, comprising:
-
defining a relationship between the at least two beans in a deployment descriptor;
defining, in the deployment descriptor, a filter on the relationship between the at least two beans; and
deploying the at least two beans based on the deployment descriptor, wherein at least one method is generated during deployment that implements the filter defined in the deployment descriptor. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer program product comprising a computer useable medium having a computer readable program, wherein the computer readable program, when executed on a computing device, causes the computing device to:
-
define a relationship between the at least two beans in a deployment descriptor;
define, in the deployment descriptor, a filter on the relationship between the at least two beans; and
deploy the at least two beans based on the deployment descriptor, wherein at least one method is generated during deployment that implements the filter defined in the deployment descriptor. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. A system for deploying at least two beans, comprising:
-
a processor; and
a memory coupled to the processor, wherein the memory includes instructions executable by the processor to;
define a relationship between the at least two beans in a deployment descriptor;
define, in the deployment descriptor, a filter on the relationship between the at least two beans; and
deploy the at least two beans based on the deployment descriptor, wherein at least one method is generated during deployment that implements the filter defined in the deployment descriptor.
-
Specification