×

Executing cross-cutting concerns for client-server remote procedure calls

  • US 9,723,107 B1
  • Filed: 08/07/2015
  • Issued: 08/01/2017
  • Est. Priority Date: 07/31/2012
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method of executing cross-cutting actions across a plurality of remote procedure calls in an interactive application, comprising:

  • processing, by a computer system, a source file defining a remote procedure call class specifying a plurality of remote procedure call methods, the source file comprising a decorator annotation annotating the remote procedure call class with a plurality of decorators such that each of the plurality of decorators applies to each of the plurality of remote procedure call methods specified in the remote procedure call class, each of the plurality of decorators specifying one or more cross-cutting actions for the interactive application;

    receiving, by the computer system from a client device, a remote procedure call request to invoke a first remote procedure call method from the plurality of remote procedure call methods; and

    executing, by the computer system based on the remote procedure call request, the cross-cutting actions specified in each of the plurality of decorators in conjunction with executing the requested first remote procedure call method from the plurality of remote procedure call methods, wherein a second remote procedure call method from the plurality of remote procedure call methods is not executed based on the remote procedure call request and wherein executing cross-cutting actions specified in a decorator from the plurality of decorators comprises;

    prior to executing the requested first remote procedure call method, executing a before method indicated by the decorator from the plurality of decorators; and

    subsequent to the execution of the requested first remote procedure call method, executing an after method indicated by the decorator from the plurality of decorators.

View all claims
  • 4 Assignments
Timeline View
Assignment View
    ×
    ×