1.1 Set Up REST Services EJB Application

This topic explains the methods of to set up REST Services EJB Application.

Create the following RestEJB property files before building the application:
  • GW_RESTEJB_Prop.properties
  • gw_restejb_logger.properties
Follow the steps to build EAR file for RestEJB Application given below:
  1. Start Oracle FLEXCUBE Universal Installer.
    The Oracle FLEXCUBE Universal Installer is displayed.

    Figure 1-1 Oracle FLEXCUBE Universal Installer



  2. On Oracle FLEXCUBE Universal Installer screen, enter the following details.
    Refer to the table for JDK and Oracle Home path.

    Table 1-1 JDK and Oracle Home path

    Field Description
    JDK Path

    Provide Home folder path of JDK1.8.

    Oracle Home

    Provide home folder path of Oracle Client or Database.

    Application Server Home

    Provide home folder path of Application Server.

    Application Server Location

    Select location of the application server either local or remote.

  3. Click Next to select the option for installation.
  4. Select Oracle FLEXCUBE Gateway from the lists of Oracle FLEXCUBE options.
    The available options for installation are displayed.

    Figure 1-2 Oracle FLEXCUBE_Oracle FLEXCUBE Gateway



  5. Click Next to choose Oracle FLEXCUBE component for installation.
  6. Select Build Application.
    The available options Property File, Database, Build Application, and Deploy Application are displayed.
  7. Specify the operating system in which you are creating the property file. Choose the appropriate one from the drop-down list.
  8. Specify the application server in which you are creating the property file. Choose the appropriate one from the drop-down list.
  9. Specify the database server in which you are creating the property file. Choose the appropriate one from the drop-down list.
  10. Select FC home and specify the SMS schema details.

    Note:

    This is the FC HOME folder that needs to be set. Also, it should point to SMS schema. Those versions less than or equal to the current environment are allowed.
  11. Click Test Connection to test the connection with the Application server.
    On successful connection, the following message is displayed.

    Figure 1-5 Information Message on Successful Connection



  12. Click Next to specify the patch list details.
  13. Select REST Services EJB from Gateway application type.
    The following screen is displayed.
  14. Click Next to specify destination Directory.
    The following screen is displayed.

    Figure 1-8 Destination and Application Details



  15. On Build Process screen, enter the following details.
    Refer to the table for Destination Directory and Application Name.

    Table 1-2 Destination Directory and Application Name

    Field Description
    Destination Directory

    Specify the destination directory path.

    Application Name

    Specify the required application name.

  16. Click Next to specify the property file for RestEJB.
    The following screen is displayed.

    Figure 1-9 Property File Path with RESTEJB



  17. On Property File screen, enter the following details.
    Refer to the table for Destination Directory and Application Name.

    Table 1-3 Property File

    Field Description
    Load Property File

    Specify the property file path.

    Symmetric Key

    Specify the symmetric key details.

  18. Click Next to view the status of sources being copied.
    The following screen is displayed.

    Figure 1-10 Status of Sources being Copied



  19. Click Copy button.
    The installer copies the files.
  20. Click Next to view the status of sources being built.
    The following screen is displayed.

    Figure 1-11 Status of Sources being Built



  21. Click Build button to start the build process.
    The installer builds the source files.
This completes the EAR file generation process. The EAR file will be saved to the destination directory.