# FunctionExecution Example This example illustrates how to execute server side java functions.

Prerequisites

Running

  • Run the following Powershell script which starts the Geode Locator, deploys the jar file containing your function, starts the Geode Server, and creates the region.

    PS> startserver.ps1
    
  • Execute Apache.Geode.Examples.FunctionExecutionCs.exe.

    output:

    Storing id and username in the region
    Getting the user info from the region
    rtimmons = Robert Timmons
    scharles = Sylvia Charles
    Function Execution Results:
       Count = 1
       value = Robert Timmons
       value = Sylvia Charles