Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Logging (JSR-041)
Security (JAAS, JCE)
Preference (JSR-010)
Assertion (JSR-041)
Exception chaining
New high-performance, scalable IO (JSR-051)
Headless AWT
Regular expression java.util.regex
Cost Reduction(II)
Java pool
Process memory
UGA PGA
stackspace
sessionspace newspace oldspace
Faster Application Execution
JDBC
Java class
JPublisher transparently
Stub takes care of stub generation
Example: to call the following method in the server
public String oracle.sqlj.checker.JdbcVersion.to_string();
Use
jpub -java=oracle.sqlj.checker.JdbcVersion
Extending Database Reach
OS390
(1) COM Clients Natural/
ACI call E
Adabas
OS390
l
4O
N
Natural/ l
Reply
T
ca
OO
Adabas I ORACLE 8i Database C
RP
R
O
E AS400
X
R
Oracle9i c all RPG-DB400
RPC
A
C
ACI call
AS400 A
L
E PL/SQL
RPG-DB400 Reply C
I JDBC call Data Logic
J
S
D XDK for PL/SQL rmi call SAP - JCO
B Reply
E
R
C Reply Gateway
Tandem
ACI call V
I
OracleJVM
COBOL Reply C RPC
E -pure Java Libs call
R eply
ll non-Oracle jdbc jd Tandem
ca bc
BC
COBOL
Re ca
ly
S
JD
p
pl ll
Re
RFC call A J y
P D
SAP J B
Reply C C
O Batch non Oracle
processes RDBMS
(2)
Database Web Services
Database as Service Provider
J2EE
(Business Logic)
Oracle9i/Oracle10i
Database
Oracle9iAS
WebPL/SQL Java
Web Service SOAP Oracle9iAS JDBC
Services
Client Oracle10iAS Data
Framework
SQL/DML DataSQL/Query
Logic
AQ/Streams
Database Web Services
Database as Services Consumer
WSDL
Database as Web Service
Consumer (II)
JPublisher to generate the database client
proxy using the the WSDL file for the
webservice deployed
jpub -proxywsdl=META-INF/HelloServiceEJB.wsdl
-dir=genproxy -package=javacallout -user=scott/scott
-endpoint=http://localhost:8888/javacallout/javacallout
Web Services Data Sources
SELECT city_name, temp, low_temp, high_temp FROM TABLE (Temp_TF)
Table Function
Database Module
(Web Service Client)
HTTP Client
SOAP
Request/Response
Next: Database GRID Services
Esteban Capoccetti
Systems Architect
Tecsis
About TECHINT & TECSIS
ll
ca
ORACLE 8i Database C ly
RP ep AS400
R
call RPG-DB400
P
XDK for PL/SQL RPC y
l
OO4O call R
jars uploaded: Rep
COM Clients EntireX Communicator E
O
API A
Reply C SAP
non Oracle jdbcs I
E rmi call JCO
D Reply Gateway
P
U -> SAP
SQL*PLUS K
Batch R
G RPC
processes E
OCI call
S Rep
ly Tandem
OracleJVM jd COBOL
bc
Re c
pl all
y
non Oracle
rdbms
Java Stored Procedures
calling External Systems
EntireX Comunicator java client within the database
SAP Java Connector via RMI calls from java stored
procedures
Third party pure java jdbc drivers within the database
We created standar PL/SQL wrappers, called EAI_PKG,
for each loaded module
– Allows uniform invocation from the PL/SQL based business
rules
– An application integration guide has been distributed internally
to all PL programmers
It took us just a few days to allow programmers to build
procedures that interact with other platfomrs
External system calling Oracle
Stored Procedures
(1) COM Clients
ACI call E
OS390 N
Natural/
4O
T
ly
Adabas Reply
Rep
I
OO
R ORACLE 8i Database
O
E
R
X
A
C P XDK for PL/SQL
ACI call L R jars uploaded:
AS400 A
E E
RPG-DB400 Reply
C O EntireX Communicator API
I A
J JDBC call C non Oracle jdbcs
D I
S E
B Reply D
E
C P
R
U
ACI call V K
Tandem I R
G
COBOL Reply C E
E
S
ll OracleJVM
ca
s
BC
sql* lu
oci
S D
y
p
J
pl
A J
RFC call
Re
P D
SAP J B
Reply C C
O Batch
processes
(2)
External system calling Oracle
Stored Procedures
Gateway using SAP Java Connector (1)
– sapjco -> Oracle jdbc
ABAP programs call a java connector server which,
in turn, calls the Oracle stored procedure
– 50% API sapjco and 50% oracle jdbc driver
Gateway using Software AG RPC solution (2)
– EntireX Comunicator -> Oracle jdbc
Natural/Adabas; RPG/AS400 and Cobol/Tandem
will place a call to EntireX Comunicator which, in
turn, invokes a Oracle Stored Procedure
– 50 % API EntireX and 50% oracle jdbc driver
Putting Everything Together
OS390 ACI c
Natural/
Tecsis case study
D E M O N S T R A T I O N
Online scenarios
Conclusions
Reminder –
please complete the OracleWorld
online session survey
Thank you.
Q&
QUESTIONS
A
ANSWERS