Siebel Web UI Dynamic Developer Kit Guide > Deploying Java Artifacts >

Example of Deploying Java Artifacts (Oracle WebLogic)


This topic gives one example of deploying Web UI DDK using Oracle WebLogic. You may use this feature differently, depending on your business model.

This example assumes that Siebel Web Client and the Siebel Server are installed and running (with the Custom Application Object Manager server component enabled and online) and that the Java EE development environment is Oracle Workshop for WebLogic. It also assumes that the Web UI DDK was generated for a view, as described in Example of Generating Java Artifacts.

To deploy Java artifacts in Oracle Workshop for WebLogic

  1. In the WSDL folder of Web UI DDK output folder, run wsdl2java.bat batch file to generate Java client proxies.

    A new com folder containing java proxy classes is created inside the WSDL folder.

    The wsdl2Java.bat file is a batch file that invokes the Axis proxy generator.

    NOTE:  The DDK output directory is specified during the process of running the DDK Wizard. See Example of Generating Java Artifacts.

  2. Start WebLogic Application Workshop.
  3. After WebLogic has initialized, create a new Application by selecting File, New, and then the Application menu item.

    The New Application dialog box appears.

  4. Select All Application in the left text box.

    Six application types display in the right text box.

  5. Select Default Application.
  6. Enter a application name, such as MyApplication, and then click Create.

    A new Web application is created with 2 projects: a schema project and a MyApplicationWeb project.

  7. Import files from the Web UI DDK output folder into to the appropriate folder in WebLogic as shown in Table 4.

    You can import files into WebLogic by right-clicking a folder, selecting Import from the pop-up menu, and then navigating to the files you want to import

    Table 4. WebLogic Folders and Web UI DDK Files
    Select this Folder in the WebSphere Application
    Import Files from This Folder in the Web UI DDK Output Folder

    MyApplicationWeb\WEB-INF\lib

    lib/*

    MyApplicationWeb\WEB-INF\src

    allaccountsview\src\com

    MyApplicationWeb\WEB-INF\src

    \wsdl\com

    MyApplicationWeb folder

    web\ All_Accounts_List_View

    NOTE:  MyApplication is the name of the application created in Step 6.

  8. Select the Build menu and then select the Build Application option.

    The build dialog displays saying build successful.

  9. Select the Tools Menu and then select Weblogic Server/Start Weblogic Server option.

    Various messages appear as the WebLogic server starts running. The RED dot in the bottom status bar turns to green.

  10. Make sure the Siebel Server is running and the Custom Application Object Manager server component is enabled and online.
  11. Open a new browser and type in the following URL:

    http://localhost:7001/MyApplicationWeb/All_Account_List_View/login.jsp

    The browser window refreshes and displays the login page.

  12. Enter a valid User Name/Password, such as SADMIN/SADMIN, and then click Sign In.

    The All Account List View is displayed. Take some time to navigate through the various screens, create, update and delete records. You can check in the regular Siebel client to see your changes to the data.

Siebel Web UI Dynamic Developer Kit Guide Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.