In PowerBuilder 8, you can use the EAServer Component Wizard to create a custom class user object that contains the methods and properties in an existing EAServer component's interface. You can then implement the methods in PowerScript and build and deploy the PBD that contains the implementation to EAServer.
You can use this technique to create a PowerBuilder implementation of any existing EAServer component, but its primary use is to implement components whose methods and properties support a standard API such as the Open Financial Exchange (OFX) protocol for online banking, and the Financial Information eXchange (FIX) and Society for Worldwide Interbank Financial Telecommunications (SWIFT) protocols for securities trading.
Use the EAServer Component Wizard on the Target or PB Object tab in the New dialog box to create a PowerBuilder implementation of a remote interface. The Specify Interface Implementation page in the wizard lets you choose between new and existing interfaces: