Model-based integration of business logic implemented in enterprise javabeans into a UI framework
First Claim
Patent Images
1. A method executed by one or more processors, the method comprising:
- calling, during runtime by a model-oriented application at an application server, a first Enterprise JavaBean (EJB) that was imported into the model-oriented application at design time, the first EJB having a model representation that was created and persisted, along with additional metadata of the modeled EJB, at design time, the model representation of the EJB having been declaratively bound to a user interface of the application, and typed classes having been generated at design time to provide access to the modeled EJB from application code;
accessing, during runtime by the model-oriented application at an application server, a second EJB, the second EJB having been deployed but not imported into the model-oriented application during design time, the second EJB having been at least one of modified and extended relative to an originally imported EJB, a generic model component providing dynamic access to the second EJB during runtime;
detecting, by the generic model component at runtime, at least one new field of the second EJB, the at least one new field being added as part of the modification or extension to the second EJB;
adding, by the generic model component at runtime, the at least one new field to a table of metadata provided by a metadata provider, the metadata provider providing adaptability, field labels, and field lengths for types used by the second EJB; and
consuming, by the model-oriented application at runtime, the second EJB without re- importing or re-compiling the second EJB.
2 Assignments
0 Petitions
Accused Products
Abstract
A system and method for integrating business logic implemented in Enterprise JavaBeans (EJBs) into a user interface framework are disclosed. A design-time environment includes an analyzer that analyzes selected EJBs and generates a model representation of the selected EJBs, and further includes a metadata provider to provide additional metadata to the model representation. A runtime environment has a generic model component to access the selected EJBs based on their model representation, and executes the selected EJBs in the user interface framework.
38 Citations
13 Claims
-
1. A method executed by one or more processors, the method comprising:
-
calling, during runtime by a model-oriented application at an application server, a first Enterprise JavaBean (EJB) that was imported into the model-oriented application at design time, the first EJB having a model representation that was created and persisted, along with additional metadata of the modeled EJB, at design time, the model representation of the EJB having been declaratively bound to a user interface of the application, and typed classes having been generated at design time to provide access to the modeled EJB from application code; accessing, during runtime by the model-oriented application at an application server, a second EJB, the second EJB having been deployed but not imported into the model-oriented application during design time, the second EJB having been at least one of modified and extended relative to an originally imported EJB, a generic model component providing dynamic access to the second EJB during runtime; detecting, by the generic model component at runtime, at least one new field of the second EJB, the at least one new field being added as part of the modification or extension to the second EJB; adding, by the generic model component at runtime, the at least one new field to a table of metadata provided by a metadata provider, the metadata provider providing adaptability, field labels, and field lengths for types used by the second EJB; and consuming, by the model-oriented application at runtime, the second EJB without re- importing or re-compiling the second EJB. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A non-transitory computer readable medium embodying computer program instructions that, when executed by one or more processors, cause the one or more processors to perform operations comprising:
-
calling, during runtime by a model-oriented application at an application server, a first Enterprise JavaBean (EJB) that was imported into the model-oriented application at design time, the first EJB having a model representation that was created and persisted, along with additional metadata of the modeled EJB, at design time, the model representation of the EJB having been declaratively bound to a user interface of the application, and typed classes having been generated at design time to provide access to the modeled EJB from application code; accessing, during runtime by the model-oriented application at an application server, a second EJB, the second EJB having been deployed but not imported into the model-oriented application during design time, the second EJB having been at least one of modified and extended relative to an originally imported EJB, a generic model component providing dynamic access to the second EJB during runtime; detecting, by the generic model component at runtime, at least one new field of the second EJB, the at least one new field being added as part of the modification or extension to the second EJB; adding, by the generic model component at runtime, the at least one new field to a table of metadata provided by a metadata provider, the metadata provider providing adaptability, field labels, and field lengths for types used by the second EJB; and consuming, by the model-oriented application at runtime, the second EJB without re-importing or re-compiling the second EJB. - View Dependent Claims (8, 9, 10, 11)
-
-
12. A system comprising:
-
one or more processors; and a non-transitory computer readable medium embodying computer program instructions that, when executed by the one or more processors, cause the one or more processors to perform operations comprising; calling, during runtime by a model-oriented application at an application server, a first Enterprise JavaBean (EJB) that was imported into the model-oriented application at design time, the first EJB having a model representation that was created and persisted, along with additional metadata of the modeled EJB, at design time, the model representation of the EJB having been declaratively bound to a user interface of the application, and typed classes having been generated at design time to provide access to the modeled EJB from application code; accessing, during runtime by the model-oriented application at an application server, a second EJB, the second EJB having been deployed but not imported into the model-oriented application during design time, the second EJB having been at least one of modified and extended relative to an originally imported EJB, a generic model component providing dynamic access to the second EJB during runtime; detecting, by the generic model component at runtime, at least one new field of the second EJB, the at least one new field being added as part of the modification or extension to the second EJB; adding, by the generic model component at runtime, the at least one new field to a table of metadata provided by a metadata provider, the metadata provider providing adaptability, field labels, and field lengths for types used by the second EJB; and consuming, by the model-oriented application at runtime, the second EJB without re- importing or re-compiling the second EJB. - View Dependent Claims (13)
-
Specification