JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework...

Post on 12-Mar-2020

19 views 0 download

Transcript of JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework...

JDeveloper and Oracle Self-Service

Extensions

Dan Roth

Intermountain Healthcare

Salt Lake City

March 7, 2012

Utah Oracle Users Group - UTOUG

Training Days

About this Session

• Most out-of-the-box applications do not fulfill all business

needs. Most end-users will want to add to the standard

functionality.

• JDeveloper with OA Extension allows us to create custom

functionality that uses Oracle Application standards.

• We will show how to use Jdeveloper to create a simple page

form for accepting input and updating records in the

database.

Disclaimers

• The session is a partial Demo – we will be

creating an page, but will not be able to run it

due to not being connected to the database.

• The slides will walk through the steps required

to create a sample page, but ad-hoc questions

may not be able to be demonstrated.

• Oracle Metalink: • Oracle Application Framework Developer's Guide - 1315485.1

• Find the correct version of JDeveloper - 416708.1

Who am I?

• Dan Roth

– Applications Programmer/Developer

• Intermountain Healthcare

• Oracle EBusiness Suite – HR/Payroll

– Started in Release 10

• Working with Oracle Apps since 1999

– Hired first in Operations for the implementation

– Transferred to IT Support for the system in 2006

• Brigham Young University

• MS in Accounting

– emphasis in Information Technology

Intermountain Healthcare

• 23 Hospitals located in Utah and Idaho

• Non-profit integrated healthcare system

• 30,000+ employees

– The largest non-government employer in

Utah

– Payroll processed every two weeks

– Operations run 24/7 with many different

employee types

Why did I choose to do this?

• Volunteer

– Have assisted with UTOUG

– Knew that they were looking for presentations

with an Application focus

• Experience

– I have learned some things

– I’d like to learn more

– Have worked on a recent project – still curious

My Expectations – of You

• Interrupt

– If you have a question, ask it.

– If I am wrong, let me know.

– If you have done something similar, let’s talk

about it.

• Cell Phone

– If it rings, go ahead and answer it.

Agenda

• Java works

• Customization Options and Issues

• Sample Self Service Page

• Q & A

Java Works

• Across platforms

• Many kinds of editors

• Lots of freeware/pre-coded functions

• Similar to other languages

Customization Options and Issues – How

we actually started with java development

• Text Editors – Notepad, MultiEdit, etc.

• Internet searches to find examples or pre-

written code.

• In-house development for features and

functionality.

• Employee self-service triggered the need

and we continued with what we started with.

Customization Options and Issues – Cont.

• Application upgrades would introduce

issues that would require research and

possible re-coding.

• Application upgrades would nullify some of

the custom code that had been working.

• Custom code had to be written for security,

database access, default screen look and

feel, etc.

JDeveloper Setup with OA Extension

• Get the right version – Metalink - Article ID

416708.1 Find the correct version of

JDeveloper.

• Download the correct JDeveloper version

from Metalink and unzip to install.

JDeveloper Setup with OA Extension – Cont.

JDeveloper Setup with OA Extension – Cont.

• Set the system environment variable for

JDeveloper – JDEV_USER_HOME set to

the location where you have unzipped the

JDeveloper program.

• Get the dbc security file from the database

instance that you want to connect to,

usually a development environment, and

copy it to the security folder of the

JDeveloper desktop environment.

JDeveloper Setup with OA Extension – Cont.

• Copy the necessary OA files from the

application server to the JDeveloper

environment.

• Set your folder structure in the JDeveloper

environment to match the file structure on

the application server.

Messages for JSP use

Example: Employee Self-Service

Workflow

• Demonstration – in JDeveloper, we will

create a page with instructions, data entry

fields, submission buttons, etc. to show

what you can do. If possible, we will run the

page from JDeveloper; otherwise, we will

see sample screen shots in the

presentation slides.

Create a new Application Module

Create Application Module Wizard

Naming the Application Module

Link to an Existing Module - Optional

Generate Java Code

Confirmation Screen

New Application Created

New application

Java created with Application Module

Create the Page for the Application

Select New OA Components Page

Name the Page

Project with Page View Item

Property Inspector - Introduction

Reference the application module

for this page.

Add a window title for the page.

Add a page title for the page.

Run the Page

First Run – No Code Written

Add a New Item to the Page

Item Added with Default Properties

New Item and

Item Properties

Our First Item – Instruction Text

Page with the Message Item

Set New Controller

Name the Controller

Java File Created for the Controller

JSP Application Structure

Database Message – Replace Default

Add a Page Region

Region Properties

Region Added with Header

Region Message Area

Region Instruction Text Added

Data Entry Field

Data Entry Item Added

Data Entry Field – Memo Style

Data Entry Item Added – Memo Field

Add a Date Field

Date Field Added

The date selector was added automatically.

Add a Check Box

Check Box Added

Add Submit Button

Submit Button Added

Add Contact Information – Table/Cells

Right click on the parent region

and select new region

Right click on the table region

and select new rowLayout.

Right click on the row layout

and select new cellFormat.

The width is based on screen width.

Add Contact Information - continued

Right click on the cell format

and select new Item.

Added Contact Table

Q / A