the21st centurymodel im Überblick - accordsystems.de · 10 g adf –productivitywithchoice adf uix...

101
The 21st Century Model im Überblick

Upload: lekhanh

Post on 01-Aug-2018

252 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

The 21st Century Model im Überblick

Page 2: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10gHochverfügbarkeit durch …

SOA

RACGrid

ApplicationServer

Portal

Netzwerk

Storage

B&R

WebServices

Page 3: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

... my.oracle.com ...

Page 4: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

OracleBusinessRules

Page 5: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10gOracle Fusion Middleware

• Addresses key business challenges– Rapid business change– Greater systems agility– With lower technology costs

• Differentiators– Comprehensive– Hot Pluggable– Unbreakable– Proven

Page 6: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

XDB 10g ADF 10g AS 10g eRezept

The 21st Century Model im Überblick

Page 7: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

Desktop mit vollständiger Applikation

Datenbank zur Datenhaltung

DB

Applikationskonzepte - klassisch

• Klassisch:Viele Applikationen in Client/Server-Umgebung

� Ein potentieller Ausfall betrifft nur wenige Punkte:

Page 8: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

Applikationskonzepte - heute

Desktop mit Browser-basiertem Frontend

Datenbank zur Datenhaltung

Applikationsserver in der Middle-Tier

DB

• Heute:Applikationen auf mehrere Schichten (Tiers) verteilt = Multi-Tier

� Mehrere potentielle Schwachstellen

Page 9: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

Applikationskonzepte - morgen

GridControl

Storage Grid

Database Grid

Application

Server Grid

Service

Virtualisierung von Ressourcen

Page 10: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

Oracle Grid Computing

Grid Control

DatabaseGrid

StorageGrid

Application Server Grid

Page 11: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

Enterprise Grid Computing

Schnelle und ökonomische Anpassung der Ressourcen

an die aktuellen Gegebenheiten

Koordinierte Nutzung vieler kleinerRessourcen, die sich wie eine große

Ressource verhalten.

Database Grid Application Server GridStorage Grid

Grid

Control

Page 12: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

XDB 10g ADF 10g AS 10g eRezept

The 21st Century Model im Überblick

Page 13: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

Entwickeln oder kaufen?

•Die meissten Teams verstricken sich imDevelopment und Support ihren eigenen Applikations-spezifischen Frameworks

• Andere investieren in den Lernprozess off-the-shelf Frameworks zu benutzen

Page 14: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

Java IDE Historie

Stage 1 Stage 1 –– 19971997� Editor� Compiler� Debugger

Stage 2 Stage 2 –– 20002000� GUI Editor� Editor v2� Compiler� Debugger � Deployment� Standards

Stage 3 Stage 3 –– nownow� UML� GUI Editor v2� Editor v3� Compiler v2� Debugger � Deployment v2� Profiling� Audit/Metrics� Standards� Extensibility� SCM Integration

Page 15: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

• Wählen Sie Ihren Entwicklungsansatz– UML Modellierung, Kodierung, deklarativeEntwicklung

– Wählen Sie Ihre Deployment Umgebung– Jeden J2EE Application Server

– Jede SQL92 Datenbank

• Wählen Sie Ihre Technologie– MyJDeveloper

– Projektbezogene Technologieauswahl

Productivity with Choice

Neuer Entwicklungsansatz

Page 16: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10gSimplifying Choice (eRezept)

“My JDeveloper”

� UML

� HTML � JSP� Apache Struts� EJBs� BC4J� Ant, JUnit� CVS � Oracle AS� BPEL� WebServices

� JSP

� UIX� Struts

UI Project

� BC4J

Model Project

Tech

nology S

copes

Visual & Declarative

� UML� Swing, HTML� JSP� JSF� Apache Struts� ADF Controller� ADF BC� EJBs� BC4J� Ant, JUnit� CVS� Clearcase � Oracle SCM� Oracle AS � JBoss, WLS� BPEL � WebServices

Exte

nsio

n M

anager

CHOICES

Page 17: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

Applikations-entwicklung

InfrastrukturEntwicklung

Änderung des Entwicklungs-Paradigma

20%

80%

Work

Harder

Work

Smarter

Applikations-entwicklung

InfrastrukturEntwicklung

80%

20%

Schnellere Anwendungsentwicklung

Page 18: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10gOracle Application Development

Framework (ADF)End-to-End J2EE Framework

• Implementiert Standard J2EE Best Practices

• Model-View-Controller (MVC) Design Pattern

• Konzentration auf die Business Logik der Applikation, nicht auf die Technik

• Konsolidierung und Weiterentwicklung der bestehenden und erprobten Frameworks

Page 19: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

Browser:http://

Hollywood XAction Edit Block Filed

+Customers:

Oracle Designer JDeveloper

Oracle SCM

Oracle – ADF Tools

XML DB XML DB XML DB XML DB

Page 20: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

ADF – Productivity With Choice

ADF UIX

ADF Controller

ADF Bindings

ADF Data Control

ADF Business ComponentsService Object

ADF Business ComponentsQuery Object

ADF Business ComponentsEntity Object

Swing / JClient

ADF Metadata Services

Swing / JClient JSP ADF UIX JSF

Rich Client Web / Wireless

Struts ADF Controller

ADF Bindings

ADF Data Control

JavaClasses

EJBSessionBeans

WebServices

ADF Business ComponentsService Object

JDBCEJB

FindersTopLinkQueries

ADF Business ComponentsQuery Object

DataAccess

ADF Business ComponentsEntity Object

Java Classes EJB Entity Beans

TopLink Mapping

PersistentBusinessObjects

ADF Metadata Services

View

Controller

Model

BusinessServices

Page 21: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

ADF Business Components

• J2EE und XML Framework für die Entwicklung derGeschäftslogik und Persistenz

• Implementiert J2EE Design Patterns• Best practice Lösungen für:

– Geschäftslogik-Implementierung– Skalierbarkeit und Performance– Optimierte Databank Interaktion Auftrag

KundeAuftrag

Kunde

Auftrag

WichtigerAuftrag

Kunde

VOs

EOs

Präsentation

BC4J

Page 22: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

ADF Model

• Abstraktion von Business Services Technologie

– EJB, Web Services, JCA (J2EE Connector

Architecture) , ADF Business Components, Java Classes

• Data Binding, Data Controls

• JSR-227: “A Standard Data Binding & Data Access Facility for J2EE”

Web Service

TopLink

EJB

JavaClass

BusinessComponent

ModelModel

Page 23: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

ADF JClient

• Rich Client UI (JFC/Swing)

• Allgemeines data binding

– ADF Business Components

– TopLink

– Enterprise Java Beans

– Webservices

– Java Beans

• WYSIWYG Editor

• UI Debugging

Page 24: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

UI Entwicklung

• Visuelle Editoren

– JSP und HTML

– JavaServer Faces (ADF UIX)

– Swing (ADF JClient)

• Universal ADF Databinding

– Toplink, EJB, BC4J

– Web Services

• Komponenten Palette

• Property inspector

• Structure pane

Page 25: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

Web Services

• J2EE Web Services• Interoperabilität mit .NET • Entwicklungs-Produktität

• UML Modeler• TCP packet monitor• PL/SQL Web Services• WS-I compliance tester

• ADF Data Control Binding

Page 26: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

XDB 10g ADF 10g AS 10g eRezept

The 21st Century Model im Überblick

Page 27: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

• SOA beschreibt eine Software Infrastruktur, in der heterogene Anwendungen als Services implementiert und über standardisierte Schnittstellen erreichbar sind.

• Services können beliebig verteilt sein und lassen sich dynamisch und flexibel zu Geschäftsprozessen verbinden.

• Vorteile für Unternehmen:

– Flexible Anpassung der Anwendungslandschaft an sich ändernde Anforderungen

– Reduzierung der Wartungskosten

Service Oriented Architecture I

Page 28: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

PersistenceLayer

BusinessLayer

BusinessComponent

BusinessComponent

JavaClasses

EJB

PresentationLayer

JSP JSF

ViewController

Process Layer

ServiceLayer

Data Binding

Interface (WSDL)

Service Oriented Architecture (SOA)

Oracle SOA Suite is a complete set of service infrastructure components for creating, deploying and managing SOAs. It enables services to be created, managed and orchestrated into composite applications and business processes.

Page 29: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10gService Oriented Architecture II

A Service Oriented Architecture is a “build once, use many”approach that makes existing Systems transparently available as Services, each with a well defined interface and callable anywhere on the network.

Benefits:• Increase IT Response and Alignment to Business• Increase IT Efficiency• Automate End-to-End Processes• Reduce Integration Cost

Page 30: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10gThe nature of a service I

What is a service? Within a business environment, that means:

• business functions - examples of business functions might be getStockQuote, getCustomerAddress, or checkCreditRating.

• business transactions - Examples of business transactions might be commitInventory, sellCoveredOption, or scheduleDelivery.

• system services - Examples of system services might be logMessageIn, getTimeStamp, or openFile.

Page 31: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

Note the difference in the types of services:

• Business functions are, from the application's perspective, non-system functions that are effectively atomic.

• Business transactions might seem like a simple function to the invoking application, but they might be implemented as composite functions covered by their own transactional context. They mightinvolve multiple lower-level functions, transparent to the caller.

• System services are generalized functions that can be abstracted out to the particular platform, for instance, Windows or Linux. A generic function such as openFile might be provided by the application framework to effectively virtualize the data source and used regardless of the type and location of the real source of the data.

The nature of a service II

Page 32: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

SubmitPurchaseOrder

CheckInventory

CheckCredit

SendResult to

User

Portal

SAP

Java Web App

Mainframe

FormulateFulfillment

Offer

FormulateRejection

CanFulfill?

TransformOrder/

Customer

DetermineDiscount

Business Process Integration

Page 33: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

Service Development and Composition

Portlets

JDeveloperJDeveloper

MetadataMetadata ServicesServices

JSP

WS

BINDINGS

JDBC

XML

EJB

WSRPWSRP

J2EE Application J2EE Application ServerServer ((OracleASOracleAS 1010gg))

XMLXML

Metadata

Messaging

Pkg Apps

Databases

Mainframes

TP Monitors

Files (CSV)

External Systems

XML

iFS

Calendar

Email

Ult.Search

Data SourcesServlet

JCA

Rich Client

Portals

Mobile

Browser

JSF

ControllerController ViewView

Clients

EnterpriseEnterprise SOA SOA FoundationFoundation

Page 34: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10gService Orchestration

J2EE Application Server (OracleAS 10J2EE Application Server (OracleAS 10gg))

IntegrationIntegrationManagerManager

SOA Events

Routing & Delivery

Transformation

BPEL4WS

Business Rules

Correlation

Canonical Business FlowsCanonical Business Flows

TPM, Mainframe, Legacy Sys

Applications

Databases

B2B Partners

SOA ToolsService Orchestration

Modeler

Page 35: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10gService Access

Interaction ManagerInteraction Manager

Channel ManagerChannel Manager

ConnectedConnected

SynchronizedSynchronized

Access ModesAccess Modes

Services ManagerServices Manager

Workplace ManagerWorkplace Manager

Resource Resource CatalogCatalog

Service BindingService Binding

TPM, Mainframe, Legacy Sys

Applications

Databases

B2B Partners

WS-RP

ServiceRegistry

Page 36: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

Apache, .NET, IBMApache, .NET, IBM

Web ServicesWeb Services

Secure Services

LDAPLDAPDirectoryDirectory

Application ServerApplication Server

Web ServicesWeb ServicesAccess ManagerAccess Manager

Identity ManagerIdentity Manager

Policy ManagerPolicy Manager

SAMLSAML

Service ProviderService Provider

Page 37: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

Oracle Application Server 10g

Print Prescription

Generate PFs

Flexible zusammenfügbare App.

Authentication Service

Diagnosis Validation Service

Print Prescription

Generate PFs

Therapy Verification 1

Diagnosis Validation 1

Patient Authentication 1

Monolitische Applikationen

Create CDA

Therapy Verification 2

Diagnosis Validation 2

Patient Authentication 2

Create CDA

Therapy Verification Service

Dienste erleichtern Wiederverwendbarkeit

Page 38: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10gBPEL Process Manager Architektur

BPEL Console

MANAGE

DEHYDRATE

J2EE Application Server

(WebLogic, Oracle AS, JBoss, WebSphere)

Core BPEL Engine

WSDL Binding Built-in Integration Services

JCA

Web Service

JMS

Email

XQuery XSLT User

Tasks

BPEL

Eclipse, JDeveloper

BPEL Designer

Oracle DB

BPEL Process Manager

...

Infrastruktur für das Design, den Ablauf unddas Management von BPEL-basierten Geschäftsprozessen

• Vollständige und nativeBPEL Implementierung

• Leicht zu benutzendesModellierungswerkzeug

• Hohe Skalierbarkeitund Verfügbarkeit

• Flexibles “Binding Framework”

• Management und Monitoring

• Unterstützung für OracleApplication Server 10g, WebLogic, WebSphere, JBoss

• In weniger als 15 Minuteninstalliert

Oracle Database

Page 39: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10gJDeveloper BPEL Designer

• Native BPEL Support

• Drag-and-drop process modeler

• UDDI and WSIL service browser

• Visual XPATH editor

• Visual Assign editor

• One-click build and deploy

Page 40: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10gJDeveloper BPEL Console

• Visual Monitoring

• Auditing

• BPEL Debugging

• In-flight Instance Administration

• Performance Tuning

• Partitioning/Domains

Page 41: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10gZusammenspiel von Services

Application Server

Portal

UI

Components and Beans

Message Queues

Web Services (Sync and Async)

Legacy ApplicationsOrchestration

Business Rules and decisions services

Data virtualization

Workflow Services

Page 42: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10gOracle Application Server 10g Components

Security

& Identity Management

Systems and Applications Management

Grid Computing

Enterprise Application Server

Events RulesWeb Services

J2EE

Business Integration

B2B BAMBPELEnterprise Service Bus

Business Intelligence

ETL ReportingQuery Analysis / OLAP

Data Mining

Mobile & WirelessPortal

Information Access

Integrated Development Tools and FrameworkApplication Development Framework

Integrated Development Environment

Page 43: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10gOracle Business Rules

• Oracle Business Rules and Oracle Fusion Middleware

• Oracle Business Rules Components

• Rules enabling applications with Oracle Business Rules

• Roadmap

Page 44: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10gOracle Business Rules Components

Rules enabled Java Application

Applicationrun-time logic

results

facts Rules

Engine

RuleSessionClass

Rulesrepository Rules

customizing application

Rule AuthorGUI

facts Facts can be Java objects or XML

Rules SDK

Page 45: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10gOracle Business Rules Engine

• Fast and efficient with modest use of resources– Implemented as a Java callable library– Performance / Resources for modest numbers of Rules

• Based on Sandia Labs' Jess– Highly reliable, thousands of users– Industry standard Rete algorithm

• Java integration– Java Objects or XML used as facts– Can call Java methods directly– JSR-94 compliant

• CPU memory < 2M• CPU time < 1 millisecond

ApplicationLogic

results

facts Rules

Engine

directcall

Page 46: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10gRules SDK

• For use by application suites to create and update Rules

– Allows applications to provide alternative Rules defining GUIs

– Provides a Rule repository API– Define and update Rulesets, facts and actions– Generates Rules Language for use by Rules Engine

Applicationrun-time logic

results

factsRules

Engine Rulesrepository

Rules defining application

Rules SDK

Page 47: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10gRule Authoring GUI

• Rules Authoring and customization tool– A high level interface for authoring rules suitable for Business

analysts

– Provides a business dialect for Rules creation and modification

– Uses Rules SDK

Rulesrepository

Page 48: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

Rulesrepository

Rule Enabled Application Lifecycle

Rules

Engine

Rule Author

results

facts

application

3. Analysts define and test Rules- feedback toprogrammers

5. Production deployment

6. Future policy changes made directly by Analysts

4. System testBusiness logic

Other logic

Policy/rules1. Programmers and

Business Analysts separate policy logic from other logic

2. Programmers define Facts, Actions and import to Rule Author

class person {int age;int salary;int retireSalarybooleandisabled; }

Page 49: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g1. Separate Policy from

Other Business Logic

• Objective– Separate volatile policy logic from other business logic– Policy: Implemented in Rules runs on Rules engines– Other business logic: Implemented in Java, runs on JVMs

• Issues– Extra resources often required

for initial implementation– Defining Facts and Actions so that

future policy changes can be made with Rule changes only

– Design allowing business analysts to create/modify rules

Business Applicationlogic separation

Display

Logic

Business logic

Other logic

Policy/rules

Page 50: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g2.a Define Facts and Actions

• Application architecture– Design a Rules-Java partnership– Design initial and future agility– Design for efficiency

• Fact design– Replies can use facts– Fact methods are useful

• Action design– Replies returned in Lists– Direct calls

non-policylogic

results

facts Rules

Engine

Claim

Acceptfraudalert

policylogic

• For normal results• For out of band alerts, etc.

Page 51: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g2.b Import Facts into Rule Author

• Facts and actions and imported into the Rule Author

• Business aliases assigned

• Constants and functions defined

Page 52: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g3. Define Rules

• Objectives– Clearly reflect policy– Efficient and reusable– Design for the future updates

• Issues– Rules are not like Java

– Stateless versus statefull– Iterate with fact/action design

• Automatic iteration• Fact creation, not method calls

Page 53: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10gRules Calls in Applications

results

factsRules

EngineRules

repository

Rule Author

RuleSession rules = new RuleSession();

rules.executeRuleset(<Rule repository reference>);

order.wineName = "Monterichard Violetta";order.quantity = 5;order.shipTo = "Oregon";

rules.callFunctionWithArgument("assert", order);rules.callFunction("run");

Display("Wine Price = " + order.price);

Page 54: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10gRules Usage

• Dominant Rules use is implementation of business policies

• Rules use continues the programming model evolution– Internet/Web separated display from business logic– Rules separates business policy from other business logic

• Policies declared not programmed

• Rules often "consulted" by procedural programming logic

• Examples– What interest rate should be charged?– Should the loan be granted?

Business Applicationlogic separation

Display

Logic

Business logic

Other logic

Policy/rules

Page 55: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

Rulesrepository

Rule Enabled Application Lifecycle

Rules

Engine

Rule Author

results

facts

application

3. Analysts define Rules and test - feedback to programmers

5. Production deployment

6. Future policy changes made directly by Analysts – excellent agility

4. Programmers and Analysts system test

Business logic

Other logic

Policy/rules

1. Programmers and Business Analysts separate policy (Rules) from other logic

2. Programmers define Facts, Actions and import to Rule Author

class person {int age;int salary;int retireSalarybooleandisabled; }

Page 56: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10gRules Integration Within Oracle

• Integration with other Oracle products is a major Rules value add

• Example: BPEL Process Manager• Example: Using Toplink Data Services, Rules can access data

from many sources

Toplink Data Services

Object-RelationalMapping

Object-XMLMapping

Data EventProcessing, etc

EJB WDSL POJO Events SDO

Packaged Apps Legacy SystemsDatabases XML Data

JDeveloper

Oracle Business Rules Other Oracle Application Servercomponents: BPEL, J2EE, etc

Page 57: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

BPEL PMAdapters BAMB2BIC

Oracle Integration 10g

Page 58: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

Web Services

B2B Integration

Application Integration

Any Data Source

Business Intelligence

Wireless & Mobile

Enterprise PortalManagement &

Security

Business Services Framework

Rapid ApplicationDevelopment

Clustering &Caching

Oracle Application Server 10g

Integrierte Middleware Plattform

Page 59: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

• Verschiedene Logon/Security

• Verschiedene UI

• Verschiedene Organisationen

• Ungenaue / verfallene Inhalte

• Zu häufige Kontextwechsel

• Auffinden von Informationen nur, wenn man auch weiß wo?

• Kostenintensive Infrastruktur, geringes ROI

Fluchtort Vernetzung

Page 60: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

Oracle 10g AS: Verfügbarkeit

HTTP Server

Client

HTTP Server

HTTP Server

OC4J

OC4J

OC4J

Oracle10g

HTTP Server

Oracle10g

RAC

ApacheServerFarm

RemoteJ2EEFarm

Networkload-

balancer

Oracle10g AS Web Cache

Oracle10g

Page 61: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

XMLXML

HTTP/J2EEHTTP/J2EE

Any Gateway

Any Network

Any Device

DevicesDevices ProtocolProtocol NetworkNetwork GatewaysGateways

Any Protocol

ApplicationApplication10g Wireless Platform & Services

10g Wireless 10g Wireless Platform & Platform & ServicesServices

MarkupMarkup

Any Markup

OracleAS 10g Wireless Lösung

Page 62: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

XDB 10g ADF 10g AS 10g eRezept

The 21st Century Model im Überblick

Page 63: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

INTERNETPatienten Profile

INTRANETPatienten Profile

AmbulanteVorbehandlung

Reha-klinik

AmbulanteNachbehandlung

PräoperativeKardiologie

Postoperative Kardiologie

Herz-Chirurgie

IntensivStation

Haus-arzt

Patientenauswahl& OP-

Planung

Cardiology

Primary Care

Heart Surgery

Hospital

Manager

Patient Cardiology

Healthcare Knowledge Navigation

Page 64: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10gKM –Oracle 10g Portal

Page 65: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

VPNVPNServer

Apotheken

InternetInternet

Technische Vernetzung

VPNVPNServer

Serviceprovider

Kliniken

VPNVPNServer

Hausärzte / Fachärzte

VPNVPNServer

Page 66: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

InternetInternet

Telematikplattform

VPNVPNServer

Service-provider

VPNVPNServer

Apotheken

Kliniken

VPNVPNServer

Hausärzte / Fachärzte

ServerVPNVPN

Vorgangs-bearbeitungInfrastruktur

RezeptServer

AMDok

Primär-systeme

VPNVPNServer

Patient

Page 67: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

�gemeinsamer, integrierter Einstiegspunkt für personalisierten Zugriff auf relevante Informationsquellen im Gesundheitswesen:

• KIS - Applikationen

• “Business Intelligence”

• “Publishing collaborativer Information “

• Internetinhalte und -dienste

• Andere Online Ressourcen

Die Lösung -> e-Gesundheitsportale

Page 68: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10geRezept: Flexible Steuerung

Apotheken-Server

Versicherung

PatientLogin

ArztLogin

PatientLogin

ApothekerLogin

Patienten-postfach

GesundheitsTerminal

CDA / eRezept-Server

AMDok

Page 69: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10geRezept: XML DB & ADF 10g

Page 70: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

<xsd:complexType name="patient-typ"><xsd:sequence>

<xsd:element name="patient.type_cd"><xsd:complexType>

<xsd:attribute name="V" type="xsd:string" use="required" fixed="PATSBJ"/>

<xsd:attribute name="S" type="xsd:string" use="required" fixed="2.16.840.1.113883.5.10285"/>

</xsd:complexType></xsd:element><xsd:element name="person">

<xsd:complexType><xsd:sequence>

<xsd:element name="id" type="id-typ"/><xsd:element name="person_name" type="person-name-typ"/><xsd:element ref="addr"/><xsd:element ref="telecom" minOccurs="0" maxOccurs="5"/>

</xsd:sequence></xsd:complexType>

</xsd:element><xsd:element name="birth_dttm" type="birth-dttm-typ"/><xsd:element name="administrative_gender_cd"><xsd:complexType>

<xsd:attribute name="V" type="sciphox:admin_gender_cd_type" use="required"/>

<xsd:attribute name="S" type="xsd:string" use="required" fixed="2.16.840.1.113883.5.1"/>

</xsd:complexType></xsd:element><xsd:element name="local_header" type="sciphox:local-header-insurance-typ"/>

</xsd:sequence></xsd:complexType>

XML DB: eRezept.xsd

Page 71: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

eRezept: XML DB & ADF 10g

Patienten-KarteeRezept

Page 72: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10gADF BC n-tier Architectur

DB

Page 73: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10geRezept: ADF JDeveloper

Page 74: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10geRezept: Datenmodell

Page 75: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10geRezept: JSP Design

Page 76: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10geRezept: HTML- Design

Page 77: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10g

eGK Rezepttransport

Patienten-Karte

Patienten-postfach

XML DB XML DB XML DB XML DB

GesundheitsTerminal

Page 78: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10gProzessabläufe: Arzt

� Rezepterstellung ( Arzt )

1. HBA-Daten auslesen ( Prüfschritt )

2. PatientDaten von der eGK lesen ( Prüfschritt )

3. RezeptDaten fixieren ( MedKatalog? )

4. Kontraindikationen prüfen

5. Rezept abschließen ( XML-File erzeugen CSS? )

6. Rezept an Infrastruktur übergeben => (RezeptServer)

� Rezepteinlösung ( Apotheker )

� Überstellung ( Patient )

Page 79: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10geRezept: Arzt anmelden

Page 80: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10geRezept: Arzt Daten

Page 81: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10geRezept: Rezept für AMDok erstellen

Page 82: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10geRezept: Arzt Daten Übernahme

Page 83: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10geRezept: Patient anmelden

Page 84: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10geRezept: Patient Daten überprüfen

Page 85: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10geRezept: Patient Daten übernehmen

Page 86: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10geRezept: Arznei Daten überprüfen

Page 87: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10geRezept: Arznei Daten eingeben

Page 88: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10geRezept: Kontraindikation überprüfen

Decision Service(Rules)

Business Process(BPEL)

Page 89: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10geRezept: Arznei Daten übernehmen

Page 90: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10gApothekeAuswahl : BPM & Rules

Business Process Modeling and Execution� Rules Decision Service can be invoked from BPM

� Business analysts specify policiesindependently of process model

� Policy-based approval, routing, etc.

� Automate manual workflow steps

Business Activity Monitoring• Policy-based alerts and KPI

• Automate manual actions for key events

Decision Service(Rules)

Business Process(BPEL)

Page 91: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10gIntegration with Oracle Products

• BPEL Process Manager– Decision Service BPEL component– Rule Author integration with

BPEL wizard

• Toplink

– Provides uniform data model– Access many data sources– Can use in conditions or actions

• BC4J– Model-view-controller design– Database integration

BPEL Decisionservice

Page 92: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10gProzessabläufe: Apotheker

� Rezepterstellung ( Arzt )

� Rezepteinlösung ( Apotheker )

1. HBA-Daten auslesen ( Prüfschritt )

2. PatientDaten von der eGK lesen ( Prüfschritt )

3. RezeptDaten aufrufen ( StyleSheet )

4. Rezept dispensieren ( Statusänderung )

5. Rezept (V2) an Infrastruktur übergeben => (RezeptServer)

6. Rezept in AMD-Server überstellen(PatientEinwilligung ! )

� Überstellung ( Patient )

Page 93: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10geRezept: Apotheker anmelden

Page 94: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10geRezept: Patient anmelden

Page 95: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10geRezept: Rezept einlösen

Page 96: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10gProzessabläufe: Patient

� Rezepterstellung ( Arzt )

� Rezepteinlösung ( Apotheker )

� Überstellung ( Patient freiwillige Anwendung !!! )

• Prüfung der Führung der AMDok ( Master-Detail View )

• RezeptDaten überstellen ( Beratung ? )

• PatientDaten von der AMDok löschen (Beratung ? )

• Prüfung abschließen

Page 97: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10geRezept: Patient anmelden

Page 98: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10geRezept: Patient Rezepte überprüfen

Page 99: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10geRezept: Patient Rezept löschen

Page 100: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

10geRezept: Rezeptpositionen löschen

Page 101: The21st CenturyModel im Überblick - accordsystems.de · 10 g ADF –ProductivityWithChoice ADF UIX ADF Controller ADF Bindings ADF Data Control ADF Business Components Service Object

F R A G E NF R A G E N

A N T W O R T E NA N T W O R T E N

Vielen Dank für Ihre Aufmerksamkeit