63
JDeveloper and Oracle Self-Service Extensions Dan Roth Intermountain Healthcare Salt Lake City March 7, 2012 Utah Oracle Users Group - UTOUG Training Days

JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

  • Upload
    others

  • View
    19

  • Download
    0

Embed Size (px)

Citation preview

Page 1: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

JDeveloper and Oracle Self-Service

Extensions

Dan Roth

Intermountain Healthcare

Salt Lake City

March 7, 2012

Utah Oracle Users Group - UTOUG

Training Days

Page 2: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

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.

Page 3: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

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

Page 4: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

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

Page 5: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

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

Page 6: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

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

Page 7: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

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.

Page 8: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Agenda

• Java works

• Customization Options and Issues

• Sample Self Service Page

• Q & A

Page 9: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Java Works

• Across platforms

• Many kinds of editors

• Lots of freeware/pre-coded functions

• Similar to other languages

Page 10: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

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.

Page 11: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

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.

Page 12: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

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.

Page 13: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

JDeveloper Setup with OA Extension – Cont.

Page 14: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

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.

Page 15: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

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.

Page 16: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Messages for JSP use

Page 17: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Example: Employee Self-Service

Workflow

Page 18: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

• 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.

Page 19: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Create a new Application Module

Page 20: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Create Application Module Wizard

Page 21: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Naming the Application Module

Page 22: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and
Page 23: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Link to an Existing Module - Optional

Page 24: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Generate Java Code

Page 25: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Confirmation Screen

Page 26: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

New Application Created

New application

Page 27: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Java created with Application Module

Page 28: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Create the Page for the Application

Page 29: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Select New OA Components Page

Page 30: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Name the Page

Page 31: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Project with Page View Item

Page 32: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Property Inspector - Introduction

Reference the application module

for this page.

Add a window title for the page.

Add a page title for the page.

Page 33: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Run the Page

Page 34: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

First Run – No Code Written

Page 35: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Add a New Item to the Page

Page 36: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Item Added with Default Properties

New Item and

Item Properties

Page 37: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Our First Item – Instruction Text

Page 38: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Page with the Message Item

Page 39: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Set New Controller

Page 40: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Name the Controller

Page 41: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Java File Created for the Controller

Page 42: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

JSP Application Structure

Page 43: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and
Page 44: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Database Message – Replace Default

Page 45: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Add a Page Region

Page 46: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Region Properties

Page 47: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Region Added with Header

Page 48: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Region Message Area

Page 49: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Region Instruction Text Added

Page 50: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Data Entry Field

Page 51: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Data Entry Item Added

Page 52: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Data Entry Field – Memo Style

Page 53: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Data Entry Item Added – Memo Field

Page 54: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Add a Date Field

Page 55: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Date Field Added

The date selector was added automatically.

Page 56: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Add a Check Box

Page 57: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Check Box Added

Page 58: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Add Submit Button

Page 59: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Submit Button Added

Page 60: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

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.

Page 61: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Add Contact Information - continued

Right click on the cell format

and select new Item.

Page 62: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Added Contact Table

Page 63: JDeveloper and Oracle Self-Service Extensions · 2019-04-18 · • Oracle Application Framework Developer's Guide - 1315485.1 ... •Employee self-service triggered the need and

Q / A