Community articleThe FCI Sample Application
Added by IBM contributorIBM on July 26, 2013
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

The API includes two different samples that demonstrate the FCI, depending on whether you are working in C or Java.
The FCI sample application for C uses the FCI methods to create a function called multiply that can be called from within XFDL forms. This function multiplies two values and returns the result.
The FCI sample application for Java uses the FCI methods to create a function called convertDate. The convertDate function takes two arguments, the date and the locale, and converts the date into the language and format of the selected locale. The application displays the converted date as a value for the Converted Date label.