Remote aspect advising for an aspect-oriented program
AssigneeInternational Business Machines Corporation
InventorsCheng-chieh Cheng, Teresa Chung Kan, Jian Tang
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsCheng-chieh Cheng, Teresa Chung Kan, Jian Tang
Estimating the term…
An aspect-oriented system includes a way to access both local and remote advice that is consistent with the modularity concerns of an aspect-oriented program. During compilation of the aspect-oriented program, a weaver determines whether advice referenced by an aspect is local or remote. If the advice is local, the weaver applies the local advice to the base program. If the advice is remote, the weaver generates remote invocation code that may include client stubs and server code to handle the marshalling and unmarshalling of parameters. Invocations to the client stub are then inserted into the join points of the base program. At run-time, the server name and number that has the remote aspect is determined. When the client stub is invoked, the remote advice on the specified server may be accessed. The result is an improved weaver that may generate code to access remote advice in a different JVM.
An apparatus comprising:
A networked computer system comprising:
A computer-implemented method for weaving advice referenced by an aspect into a base program in a distributed environment, the method comprising the steps of:
A computer-readable program product residing on recordable media, the program product comprising:
Dependencies are inferred from the claim text.