Developing an ADF 11g client for Agile PLM. Developing an ADF 11g client for Agile PLM

Similar documents
ADF Code Corner How-to build a reusable toolbar with Oracle ADF Declarative Components. Abstract: twitter.com/adfcodecorner

ADF Code Corner How-to bind custom declarative components to ADF. Abstract: twitter.com/adfcodecorner

Oracle ADF: The technology behind project fusion. Lynn Munsinger Principal Product Manager Application Development Tools Oracle Corporation

Oracle Fusion Middleware 11g: Build Applications with ADF I

Departamento de Engenharia Informática. Systems Integration. Web Services and BPEL Tutorial

ADF Code Corner. 70. How-to build dependent list boxes with Web Services Business Services. Abstract: twitter.com/adfcodecorner

Oracle Retail Accelerators for WebLogic Server 11g

Oracle Middleware 12c: Build Rich Client Applications with ADF Ed 1 LVC

Tutorial 2 : Invoking a CICS transaction through the Oracle AS Adapter

4 Connecting to Composites

Oracle Fusion Middleware 11g: Build Applications with ADF I

H. Adding BAM Activity Sensors

ADF Code Corner. 048-How-to build XML Menu Model based site menus and how to protect them with ADF Security and JAAS. Abstract:

CIS 764 Tutorial. By Vamsee Raja Jarugula.

Customizing Oracle Identity Governance: Populating Request Attributes

Enterprise Integration

1 Getting Started with Oracle Service Bus

Enterprise Integration

Tutorial 6 : Receiving Siebel Integration Object through the Oracle AS Adapter

Oracle Developer Day

ADF Hands-On. Understanding Task Flow Activities / 2011 ADF Internal Enterprise 2.0 Training. Abstract:

3 Connecting to Applications

<Insert Picture Here> The Oracle Fusion Development Platform: Oracle JDeveloper and Oracle ADF Overview

<Insert Picture Here> The Latest E-Business Suite R12.x OA Framework Rich User Interface Enhancements

Building Multi-Language Portals. Copyright 2011, Oracle and/or its affiliates. All rights reserved.

Oracle 1Z Oracle Application Development Framework 12c Essentials. Download Full Version :

Just Get it Written: Deploying Applications to WebLogic Server Using JDeveloper and WLS Console. Don t get it right, just get it written.

Don t get it right, just get it written.

Oracle WebCenter Hands-On Practices. A Practical Introduction to Oracle WebCenter

Oracle Application Development Framework Overview

Oracle Fusion Middleware

Contract Information Management System (CIMS) Technical System Architecture

Oracle Fusion Middleware

ORACLEAS PORTAL 10g (10.1.4) INTEGRATE YOUR ENTERPRISE CONTENT MANAGEMENT SYSTEMS INTO ORACLE PORTAL

Oracle Fusion Middleware

Oracle Developer Day

Rich Web UI made simple Building Data Dashboards without Code

Overview. Principal Product Manager Oracle JDeveloper & Oracle ADF

Oracle Fusion Middleware

<Insert Picture Here> Accelerated Java EE Development: The Oracle Way

Just Get it Written: Deploying Applications to WebLogic Server Using JDeveloper and WLS Console. Don t get it right, just get it written.

edocs Home > BEA AquaLogic Service Bus 3.0 Documentation > Accessing ALDSP Data Services Through ALSB

Build Mobile Apps for Oracle E-Business Suite with Oracle Mobile Platform Part 2

Tutorial 5 : Invoking Siebel Business Object through the Oracle AS Adapter

CIS 764 Tutorial: Log-in Application

Departamento de Engenharia Informática. Systems Integration. SOA Adapters Tutorial. 1. Open SQL*Plus in order to run SQL commands.

Oracle BPM 11g: Implement the Process Model

ADF Code Corner How-to enforce LOV Query Filtering. Abstract: twitter.com/adfcodecorner

Oracle WebCenter Portal 11g Developer Workshop

OES Permission Checks in ADF Task Flows

User s Guide 12c (12.2.1)

Oracle Fusion Middleware

Oracle Web Service Manager 11g Component Level Role Authorization (in SOA Suite) March, 2012

Oracle Cloud. Using Oracle Eloqua Adapter Release E

Understanding Oracle ADF and its role in the Oracle Fusion Platform

Oracle WebCenter Suite Integrating Secure Enterprise Search

BPEL Orchestration. 4.1 Introduction. Page 1 of 31

How Do I Inspect Error Logs in Warehouse Builder?

Oracle Fusion Middleware 11g: Build Applications with ADF Accel

Lyudmil Pelov, A-Team, Oracle December Development Lifecycle for Task Flows in Oracle WebCenter Portal 11gR1 version

Hands-On Lab. Developing BI Applications. Lab version: Last updated: 2/23/2011

The End of the Beginning: Deploying Applications to WebLogic Server Using JDeveloper and WLS Console. Don t get it right, just get it written.

Oracle Utilities Customer Self Service Release Whitepaper: Consuming OUCSS Taskflows in Custom Portals E October 2011

Oracle Fusion Middleware

Oracle Fusion Developer Guide (ISBN: ) Preview Chapter 1. The Quick Lerner s Guide to Oracle Fusion Web Application Development PREVIEW

Apps Exception Problem Building Schema Jdeveloper

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

<Insert Picture Here> JDeveloper Treasure Hunt

Oracle Fusion Middleware. Using Ariba Adapter Release 12c ( ) E

ADF Code Corner How-to further filter detail queries based on a condition in the parent view using ADF BC. Abstract: twitter.

Just Get It Written: Deploying Applications to WebLogic Server Using JDeveloper and WLS Console Hands on Practice

Oracle ADF Faces Cookbook

Building an Application to Dynamically Execute Partner Process Flows

OIG 11G R2 Field Enablement Training

Setup Real-Time Integration Business Insight using a native installation For AstraTeq Help Desk Tutorial

Oracle WebCenter Portal 11g Developer Workshop

Oracle Fusion Middleware

Extensibility Guide Oracle Financial Services Lending and Leasing Release [October] [2013] Part No. E

Oracle WebCenter Portal 11g Developer Workshop

Oracle Developer Day

ADF OAF Who Cares? You Do! Oracle Applications Framework / Application Development Framework - Which way do I go?

Receiving PeopleSoft Message (PeopleTools 8.17) through the Oracle AS PeopleSoft Adapter. An Oracle White Paper September 2008

ADF Code Corner. 016-How-to customize the ADF Faces Table Filter. Abstract: twitter.com/adfcodecorner

Dreamweaver MX The Basics

Chapter. An Introduction to Oracle JDeveloper and Oracle ADF

Oracle BPEL Tutorial

Oracle Fusion Middleware

Oracle Fusion Middleware

Oracle Developer Day

Oracle Fusion Middleware

ADF Code Corner. 64. How-to implement a Select Many Shuttle with pre- selected values. Abstract: twitter.com/adfcodecorner

Oracle Fusion Middleware

Lab 1 - Getting started with OIM 11g

What's New in ActiveVOS 7.1 Includes ActiveVOS 7.1.1

Oracle Enterprise Pack for Eclipse

Learning More About NetObjects Matrix Builder 1

An Oracle White Paper April Oracle Application Express 5.0 Overview

BEAWebLogic. Portal. Tutorials Getting Started with WebLogic Portal

Oracle Fusion Middleware

ADF Code Corner How-to use the af:autosuggestbehavior component tag with ADF bound data sources. Abstract: twitter.

Transcription:

Table of Contents 1 LAB OVERVIEW... 3 2 GETTING STARTED... 4 2.1 Starting Oracle JDeveloper 11gR1... 4 3 CREATE THE ADF CLIENT... 5 3.1 Create the ADF Application... 5 3.2 Create the Web Service Data Control... 8 3.3 Create the JSF Page... 11 4 TESTING... 19 5 APPENDIX: USING HARDCODED VALUES... 21

1 Lab Overview This lab shows how to develop an ADF 11g based UI for Agile PLM. Agile 9.3 exposes several key PLM functionalities as web services, which allow easy integration with existing applications. The core web services enable access to Agile Business Objects, Collaboration, Metadata, Attachments, Search, Tables, Product Collaboration (PC) and Engineering Collaboration (EC) services for integration with existing ERP, CRM and SCM applications. The Web Service Data Control in ADF 11g provides an easy and convenient interface to incorporate web services in an ADF application. The data control abstracts the implementation of a business service (such as a web service), thus providing a consistent mechanism for the ADF pages to access the data. Additional information: ADF 11g http://www.oracle.com/technology/products/adf/index.html Agile and Fusion Middleware Best Practice Center on Oracle Technology Network: http://www.oracle.com/technology/tech/fmw4apps/agile In this exercise: 1. Create an ADF 11g application that uses the Agile WSDL to create a web service data control. 2. Design a JSF page and integrate the web service data control that was created in step 1. 3. Deploy and test the page on the integrated WebLogic Server. Software Used: Agile PLM 9.3 Oracle JDeveloper and ADF 11g (available for download from OTN) Questions: Srikant Subramaniam srikant.subramaniam@oracle.com 3

2 Getting Started 2.1 Starting Oracle JDeveloper 11gR1 1. Select Start > Oracle Fusion Middleware 11.1.1.1.0 > JDeveloper Studio 11.1.1.1.0. 4

3 Create the ADF Client 3.1 Create the ADF Application 1. Choose File > New. 2. In Categories, select Applications and select Fusion Web Application (ADF) in Items. 3. Click OK. 5

4. In Application Name field, type AgileADF and click Next. 5. In Project Technologies > Available, select Web Services and move it to the Selected box. Ensure your screen looks as follows and click Next. 6

6. Accept default settings and click Next to advance through Steps 3 and 4. 7. Click Finish. The AgileADF application is created with two Projects (Model and ViewController). 7

3.2 Create the Web Service Data Control 1. In the Application Navigator, right click on the Model project and select New. 2. In New Gallery, select Business Tier > Web Services > Web Service Data Control and then click OK. 8

3. In Create Web Service Data Control wizard, select Data Source and do as follows: a. In Name field, type AgileGetObjectDC. b. In URL field, type the URL for your Agile web services WSDL. This example uses: http://93demo/coreservice/services/businessobject?wsdl c. Click Next. 9

4. In Data Control Operations page, move the getobject web service method from the Available column to the Selected column and then click Next. 5. Accept default settings and click Next to advance through Steps 3 and 4. Click Finish. 6. File > Save All to save your work. 10

3.3 Create the JSF Page 1. In the Application Navigator, right click on the ViewController project and then select New. 2. In Categories column, select Web Tier > JSF. 3. In Items column, select JSF Page and then click OK. 11

4. In Create JSF Page dialog do as follows: a. In File Name field, type AgileGetObject.jspx, b. Mark the check box next to Create as XML document c. In Page Template drop down list, select Oracle Three Column Layout d. Click OK. 5. The new page opens up in the Editor. In the right most column, right click and select Delete. 12

6. In the left pane, expand the AgileGetObjectDC node under Data Controls. 7. Drag and drop the classidentifier node to the first column of the page on the right. 8. Choose Texts > ADF Input Text w/label from the menu. 9. Repeat steps 7-8 for the following nodes: objectnumber (requests objectnumber) id (warningresolution id) resolution (warningresolution resolution) tableidentifer (requests tablerequests tableidentifier) 10. Drag and drop the timestamp node (request timestamp) to the first column of the page on the right and select Dates > ADF Input Date w/label from the displayed menu. 13

11. Ensure that page contains all the input fields shown in the following illustration. 12. Drag and drop the getobject(object) node under Data Controls to the first column of the page on the right (under the previously created fields). 13. Select Methods > ADF Button in the drop down menu. 14

14. In Edit Action Binding dialog, select El Expression Builder from the Value drop down list. 15. Navigate to ADFBindings bindings requestiterator currentrow and choose dataprovider. 16. Click on OK. 15

17. Click OK. The following page appears. Note the recently added getobject button. 16

18. Expand the getobject(object) Return node in the Data Controls palette on the left as shown. 19. Drag and drop the statuscode node to the second column of the page on the right. Choose Texts > ADF Output Text w/label from the displayed menu. 20. Repeat above step for the objectid node (Return response responses agileobject objectidentifier objectid). 17

This completes the JSF page creation and integration with the web service data control. Your page should include the following input and output fields. 21. File > Save All. 18

4 Testing 1. Right click on the page and select Run. This starts the embedded WebLogic Server within JDeveloper to deploy the application. You can monitor the progress at the bottom of the screen (in the Running: DefaultServer - Log tab). Deployment is complete when the Target URL is displayed as shown below. Upon successful deployment, the page will automatically load into a browser window. If this doesn t happen, click on the Target URL (shown above) to view the page. 19

2. Type the input data as shown below (use the calendar icon to select a date for the timestamp field). 3. Click on getobject. The results from the web service call are displayed to the right, indicating a successful call to obtain the objectid. 20

5 Appendix: Using hardcoded values Using hardcoded values for some of the input fields can be especially optimal if the underlying web service invocation requires a number of inputs, but many of them have static values. In this tutorial, since objectnumber and timestamp are the only two fields that vary, we can hardcode the other inputs as shown and eliminate the need for the user to input the static values for every invocation. Implementation 1. Follow the steps in the tutorial, up to and including Chapter 3. 2. Click on the classidentifier label in the design window to bring up the property inspector. 3. Enter #{ Part } in the Value field as shown. 4. Repeat steps 2 and 3 for the other fields (id, resolution, tableidentifier) and assign the individual values as shown. 21

5. File > Save All and continue with Section 4 in the tutorial to test. The only inputs required are objectnumber and timestamp. 22