Oracle E -Business Suite Release 11 Java & Framework

machinebrainySoftware and s/w Development

Jun 8, 2012 (5 years and 5 months ago)

384 views

Oracle E-Business Suite
Oracle E-Business Suite
Release 11i
Release 11i
Java & Framework
Java & Framework
Lance Reedy
Release 11i Workshops
Dallas, TX • Santa Clara, CA
Cincinnati, OH • Denver, CO • Atlanta, GA
Detroit, MI • Las Vegas, NV
www.solutionbeacon.comAre you an OAUG Member?
Are you an OAUG Member?
Global Users. Global Solutions.
Global Users. Global Solutions.
Member Benefits include:
Member Benefits include:
 Advocacy opportunities to influence Oracle on product enhancements, usability,
 Advocacy opportunities to influence Oracle on product enhancements, usability,
new features, Oracle support, pricing and quality
new features, Oracle support, pricing and quality
 Knowledge that showcases the latest trends and techniques used by industry
 Knowledge that showcases the latest trends and techniques used by industry
leaders through our national and regional events and our publications, such as
leaders through our national and regional events and our publications, such as
O OA AU UG G IIn nsi sig gh htt m ma ag ga azi zin ne e
 Communication with other OAUG members worldwide through participation in
 Communication with other OAUG members worldwide through participation in
O OA AU UG G co com mm miitttte ee es, s, lle ea ad de er rsh shiip p p po osi sittiio on ns, s, iin ntte er ra act ctiio on n w wiitth h O Or ra acl cle e C Co or rp po or ra attiio on n''s s
user initiatives, frequent member surveys, and Oracle management briefings
user initiatives, frequent member surveys, and Oracle management briefings
 Education through the hundreds of career-enhancing presentations in our
 Education through the hundreds of career-enhancing presentations in our
conference paper database archive, as well as discounts to conferences and
conference paper database archive, as well as discounts to conferences and
Oracle education
Oracle education
 Networking with Oracle customers, industry experts, third-party software firms,
 Networking with Oracle customers, industry experts, third-party software firms,
and other Oracle Applications specialists through our Member Database and
and other Oracle Applications specialists through our Member Database and
O On nlliin ne e V Ve en nd do or r D Diir re ect cto or ry y
2 2
© 2007 Solution Beacon, LLC. All Rights Reserved.Agenda
Agenda
Explore the use of Java technologies in
Explore the use of Java technologies in
 OAF
 OAF
 ADF
 ADF
 OC4J
 OC4J
Wrap-up
Wrap-up
3 3
© 2007 Solution Beacon, LLC. All Rights Reserved.Relevant History
Relevant History
The move from native clients to web clients
The move from native clients to web clients
 With the rise of the web browser, the vast majority of
 With the rise of the web browser, the vast majority of
“code” can reside on the server, and the only code
“code” can reside on the server, and the only code
running on the client adheres to standards like HTML
running on the client adheres to standards like HTML
The development of the Java 2 Enterprise
The development of the Java 2 Enterprise
Environment platform
Environment platform
 A common language that can run on most flavors of
 A common language that can run on most flavors of
UNIX as well as Win32
UNIX as well as Win32
The development of new device platforms able to
The development of new device platforms able to
run web browsers
run web browsers
 Cell phone, PDA, bar code scanners, …
 Cell phone, PDA, bar code scanners, …
4 4
© 2007 Solution Beacon, LLC. All Rights Reserved.Early Standards
Early Standards
Server side languages included
Server side languages included
 CGI-BIN programming – first generation
 CGI-BIN programming – first generation
 Servlets – first generation of Java
 Servlets – first generation of Java
 JSP – second generation, complementary to Servlets
 JSP – second generation, complementary to Servlets
HTML and JavaScript on the client
HTML and JavaScript on the client
5 5
© 2007 Solution Beacon, LLC. All Rights Reserved.Java Editions
Java Editions
Java 2 Standard Edition (J2SE)
Java 2 Standard Edition (J2SE)
 W Wh ha att w we e tty yp piic ca alllly y tth hiin nk k o off a as s J Ja av va a o on n a a s se er rv ve er r
 C Co od de e r ru un nn niin ng g iin n tth he e s stta an nd da ar rd d J Ja av va a e en nv viir ro on nm me en ntt h ha as s a a g gr re ea att d de ea all o off
a ac cc ce es ss s tto o tth he e u un nd de er rlly yiin ng g h ho os stt… …
Java Plug-in
Java Plug-in
 T Th he e J J2 2S SE E e en nv viir ro on nm me en ntt tth ha att iis s d de es siig gn ne ed d s sp pe ec ciiffiic ca alllly y tto o r ru un n iin ns siid de e a a
w we eb b b br ro ow ws se er r
 N No ott ffe ea attu ur re e lliim miitte ed d,, b bu utt v ve er ry y a ab biilliitty y lliim miitte ed d
Java 2 Enterprise Edition (J2EE)
Java 2 Enterprise Edition (J2EE)
 A A s se ett o off A AP PIIs s a an nd d s se er rv viic ce es s w wr riitttte en n iin n tth he e b ba as siic c J Ja av va a lla an ng gu ua ag ge e,,
e ex xe ec cu uttiin ng g w wiitth hiin n tth he e n no or rm ma all jja av va a v viir rttu ua all m ma ac ch hiin ne e
 D De es siig gn ne ed d tto o b be e a a c cr ro os ss s p plla attffo or rm m a ap pp plliic ca attiio on n s se er rv ve er r
 S Su un n p pr ro ov viid de es s tth he e A AP PII s sp pe ec ciiffiic ca attiio on ns s,, a an nd d a a r re effe er re en nc ce e
implementation of them
implementation of them
6 6
© 2007 Solution Beacon, LLC. All Rights Reserved.Java Editions…cont’d
Java Editions…cont’d
J2EE SDK
J2EE SDK
 The API libraries, compiler, and documentation needed to write a
 The API libraries, compiler, and documentation needed to write a
J2EE application
J2EE application
 Includes the reference application server
 Includes the reference application server
JDK
JDK
 Java developers Kit – specifically the core Java language (J2SE)
 Java developers Kit – specifically the core Java language (J2SE)
developers kit
developers kit
Java 2 Micro Edition (J2ME)
Java 2 Micro Edition (J2ME)
 A minimalist Java runtime environment for limited devices such as
 A minimalist Java runtime environment for limited devices such as
cell phones or PDAs.
cell phones or PDAs.
 Runtime installations support several “profiles”, each for a different
 Runtime installations support several “profiles”, each for a different
type of device
type of device
7 7
© 2007 Solution Beacon, LLC. All Rights Reserved.Adding Java
Adding Java
As a language Java has the flexibility of running on both
As a language Java has the flexibility of running on both
sides of the client / server model
sides of the client / server model
8 8
© 2007 Solution Beacon, LLC. All Rights Reserved.JInitiator – New Client
JInitiator – New Client
Is Oracle’s licensed JVM
Is Oracle’s licensed JVM
Used on client platform to provide a consistent
Used on client platform to provide a consistent
environment
environment
Executes within the client’s web browser to run
Executes within the client’s web browser to run
things like Forms based modules in E-Business
things like Forms based modules in E-Business
Suite 11i
Suite 11i
9 9
© 2007 Solution Beacon, LLC. All Rights Reserved.What is OAF
What is OAF
Based on early web standards and technologies
Based on early web standards and technologies
An attempt to introduce abstraction into application
An attempt to introduce abstraction into application
design
design
 Separation of components into layers
 Separation of components into layers
 Connections only between adjoining layers
 Connections only between adjoining layers
By separating the display from the business logic
By separating the display from the business logic
change becomes easier
change becomes easier
Mechanism for personalization, design pattern for
Mechanism for personalization, design pattern for
extension
extension
1 10 0
© 2007 Solution Beacon, LLC. All Rights Reserved.MVC Design Pattern
MVC Design Pattern
The Model contains the
business logic for the
application and the data that
it acts on.
The Controller
provides application
workflow and
coordinates what the
The View creates the
user sees.
UI that is presented
to the end user.
1 11 1
© 2007 Solution Beacon, LLC. All Rights Reserved.MVC Technologies
MVC Technologies
J2EE Application Server
JavaBeans, EJB
Servlet(s)
JavaServer Pages
1 12 2
© 2007 Solution Beacon, LLC. All Rights Reserved.MVC Declarative Programming
MVC Declarative Programming
Java classes are used to
contain the logic and data
Model
needed by the application.
A XML config file is
used to control
behavior of the
application. This
forms the basis of
Custom tags are
Controller
the Controller.
used in the JSP
page to reference
data presented by,
View
or sent to, the
Model.
1 13 3
© 2007 Solution Beacon, LLC. All Rights Reserved.Personalizations
Personalizations
Changes to page layout or content visibility
Changes to page layout or content visibility
Can be done by administrators or by end users
Can be done by administrators or by end users
The personalizations are applied between the
The personalizations are applied between the
HTML page being generated and it being sent to
HTML page being generated and it being sent to
the client
the client
Personalizations are stored via data, not code
Personalizations are stored via data, not code
changes
changes
1 14 4
© 2007 Solution Beacon, LLC. All Rights Reserved.OAF Page Rendering
OAF Page Rendering
A hierarchy of operations, many of which are
A hierarchy of operations, many of which are
driven purely by data
driven purely by data
1 15 5
© 2007 Solution Beacon, LLC. All Rights Reserved.Abstraction
Abstraction
The idea of breaking an algorithm into discrete
The idea of breaking an algorithm into discrete
layers, each of which is opaque
layers, each of which is opaque
Common in Object Oriented programming
Common in Object Oriented programming
Simplifies code while complicating solutions?!
Simplifies code while complicating solutions?!
1 16 6
© 2007 Solution Beacon, LLC. All Rights Reserved.What is ADF
What is ADF
The next generation after OAF
The next generation after OAF
Builds on OAF, adds
Builds on OAF, adds
 More dynamic page refreshing
 More dynamic page refreshing
 Data Binding
 Data Binding
 Ability to build content for limited devices
 Ability to build content for limited devices
 JavaServer Faces
 JavaServer Faces
Moves further into the J2EE architecture
Moves further into the J2EE architecture
1 17 7
© 2007 Solution Beacon, LLC. All Rights Reserved.Standards Used by ADF
Standards Used by ADF
MVC
MVC
JSP, Servlets
JSP, Servlets
JavaBeans
JavaBeans
Enterprise JavaBeans
Enterprise JavaBeans
JavaServer Faces
JavaServer Faces
1 18 8
© 2007 Solution Beacon, LLC. All Rights Reserved.Oracle Technologies Used
Oracle Technologies Used
ADF Faces
ADF Faces
 UIX widgets
 UIX widgets
TopLink
TopLink
 Data persistence
 Data persistence
OC4J
OC4J
 J2EE application server
 J2EE application server
1 19 9
© 2007 Solution Beacon, LLC. All Rights Reserved.JavaBeans and EJB
JavaBeans and EJB
JavaBeans conform to particular coding rules
JavaBeans conform to particular coding rules
 Beans have data fields, each field must be accessed
 Beans have data fields, each field must be accessed
vi via a a a G Ge ett o or r a a S Se ett m me etth ho od d
 The can be loaded dynamically
 The can be loaded dynamically
They are used to store data that needs to be
They are used to store data that needs to be
used programmatically
used programmatically
JavaBean
Enterprise JavaBean
2 20 0
© 2007 Solution Beacon, LLC. All Rights Reserved.Enterprise JavaBeans
Enterprise JavaBeans
EJB adds to the idea of the basic JavaBean
EJB adds to the idea of the basic JavaBean
 Persistence in a database
 Persistence in a database
 Remote access
 Remote access
Java carries the C/UNIX idea of Remote Procedure
Java carries the C/UNIX idea of Remote Procedure
Call forward in the form of Remote Method
Call forward in the form of Remote Method
Invocation
Invocation
 An EJB container must facilitate the use RMI to allow
 An EJB container must facilitate the use RMI to allow
remote client’s to access Enterprise JavaBeans
remote client’s to access Enterprise JavaBeans
2 21 1
© 2007 Solution Beacon, LLC. All Rights Reserved.Java / SQL
Java / SQL
Mapping data
Mapping data
between an fluid
between an fluid
object and a fairly
object and a fairly
rigid SQL table
rigid SQL table
format is not always
format is not always
straight forward
straight forward
A query mechanism
A query mechanism
must exist to allow
must exist to allow
objects to be
objects to be
r re ettr riie eve ved d ffr ro om m tth he e
DB as needed
DB as needed
2 22 2
© 2007 Solution Beacon, LLC. All Rights Reserved.Object Persistence
Object Persistence
The desire in a J2EE
The desire in a J2EE
environment is to
environment is to
prevent application code
prevent application code
from interacting directly
from interacting directly
with the DB
with the DB
This is achieved by
This is achieved by
allowing the J2EE
allowing the J2EE
container to access to
container to access to
common DB services
common DB services
2 23 3
© 2007 Solution Beacon, LLC. All Rights Reserved.EJB 3.0 Persistence
EJB 3.0 Persistence
Based on
Based on
annotation
annotation
Uses a tool to
Uses a tool to
generate the
generate the
code’s skeleton
code’s skeleton
and annotations
and annotations
Uses other tools at
Uses other tools at
compile and
compile and
runtime to turn the
runtime to turn the
annotations into
annotations into
actual code
actual code
2 24 4
© 2007 Solution Beacon, LLC. All Rights Reserved.TopLink versus EJB 3.0
TopLink versus EJB 3.0
TopLink is an established Oracle standard
TopLink is an established Oracle standard
EJB 3.0’s Java Persistence API is an industry wide
EJB 3.0’s Java Persistence API is an industry wide
standard…
standard…
 … Java Persistence API was added in latest J2EE spec
 … Java Persistence API was added in latest J2EE spec
 Can be used outside of EJB, by J2SE apps
 Can be used outside of EJB, by J2SE apps
 Based on ideas submitted by various J2EE vendors
 Based on ideas submitted by various J2EE vendors
including Oracle
including Oracle
2 25 5
© 2007 Solution Beacon, LLC. All Rights Reserved.JSF and ADF Faces
JSF and ADF Faces
JavaServer faces simplifies the design of HTML UI
JavaServer faces simplifies the design of HTML UI
 By providing tags to represent common data elements
 By providing tags to represent common data elements
 By providing components which can help to validate data
 By providing components which can help to validate data
as it’s being entered
as it’s being entered
ADF brings tags representing common Oracle UI
ADF brings tags representing common Oracle UI
elements
elements
2 26 6
© 2007 Solution Beacon, LLC. All Rights Reserved.ADF Faces – Declarative UI
ADF Faces – Declarative UI
Extends the JSP concept to expose Oracle’s own
Extends the JSP concept to expose Oracle’s own
UIX widgets
UIX widgets
2 27 7
© 2007 Solution Beacon, LLC. All Rights Reserved.OC4J – J2EE Server
OC4J – J2EE Server
J2EE defines a specification for the applications
J2EE defines a specification for the applications
server
server
Defines clear interfaces and mechanisms for
Defines clear interfaces and mechanisms for
interacting with other infrastructure, such as
interacting with other infrastructure, such as
Identity Management (LDAP)
Identity Management (LDAP)
Individual vendors then relevant select portions of
Individual vendors then relevant select portions of
the spec that they will implement
the spec that they will implement
Focuses on server side technologies
Focuses on server side technologies
2 28 8
© 2007 Solution Beacon, LLC. All Rights Reserved.J2EE Technologies
J2EE Technologies
A rich suite of APIs built on
A rich suite of APIs built on
a common core
a common core
2 29 9
© 2007 Solution Beacon, LLC. All Rights Reserved.Development in J2EE
Development in J2EE
Java is rich with OpenSource solutions
Java is rich with OpenSource solutions
 J2EE app servers: JBoss, Tomcat
 J2EE app servers: JBoss, Tomcat
 Developer tools: Eclipse, NetBeans
 Developer tools: Eclipse, NetBeans
 Frameworks: Struts, Tapestry, Turbine
 Frameworks: Struts, Tapestry, Turbine
 Persistence: Hibernate, OJB
 Persistence: Hibernate, OJB
Some of these are sold as commercial applications
Some of these are sold as commercial applications
with vendor support and consulting
with vendor support and consulting
None of the developers tools offer tight integration
None of the developers tools offer tight integration
into proprietary application servers
into proprietary application servers
3 30 0
© 2007 Solution Beacon, LLC. All Rights Reserved.JDeveloper
JDeveloper
Oracle’s full featured developer’s toolkit
Oracle’s full featured developer’s toolkit
Very feature rich for both plain Java and Oracle
Very feature rich for both plain Java and Oracle
specific development
specific development
Swing/AWT TopLink
Swing/AWT TopLink
UML ADF Swing/ADF Faces
UML ADF Swing/ADF Faces
XML BPEL
XML BPEL
J2EE packaging ESB
J2EE packaging ESB
Web Services
Web Services
HTML/JSP/JSF
HTML/JSP/JSF
3 31 1
© 2007 Solution Beacon, LLC. All Rights Reserved.JDeveloper
JDeveloper
3 32 2
© 2007 Solution Beacon, LLC. All Rights Reserved.J2EE Application Deployment
J2EE Application Deployment
J2EE applications are composed of a number of
J2EE applications are composed of a number of
components
components
 Classes, Servlets
 Classes, Servlets
 HTML, JSP, and images
 HTML, JSP, and images
 XML configuration files
 XML configuration files
Logical groups of Classes become Jar files
Logical groups of Classes become Jar files
All content is organized into a specific directory
All content is organized into a specific directory
structure
structure
Results are combined into a special Jar file
Results are combined into a special Jar file
3 33 3
© 2007 Solution Beacon, LLC. All Rights Reserved.The Future
The Future
Driven by industry standards
Driven by industry standards
 Release of the Java EE 5 spec drives the use of EJB
 Release of the Java EE 5 spec drives the use of EJB
 J2 J2E EE E iis s d dr riivi vin ng g tto ow wa ar rd ds s w we eb b se ser rvi vice ces s
The basis for the Fusion architecture
The basis for the Fusion architecture
Fusion makes the move to a SOA based
Fusion makes the move to a SOA based
environment
environment
 Event driven processing
 Event driven processing
 Focus on business modeling and processes
 Focus on business modeling and processes
 Distributed applications communicating via Enterprise
 Distributed applications communicating via Enterprise
S Se er rvi vic ce e B Bu us s a an nd d W We eb b S Se er rvi vic ce es s
3 34 4
© 2007 Solution Beacon, LLC. All Rights Reserved.Past Environment
Past Environment
3 35 5
© 2007 Solution Beacon, LLC. All Rights Reserved.Present Environment
Present Environment
3 36 6
© 2007 Solution Beacon, LLC. All Rights Reserved.Future State
Future State
3 37 7
© 2007 Solution Beacon, LLC. All Rights Reserved.Java Mail
Java Mail
Connectors
Java Mail
Connectors
Persistence
Connectors
Persistence
JSF
Persistence
JSF
JSP JSF
JSP
JTA
JSP
JTA
JMS
JTA
JMS
Web Services
JMS
Web Services
WS Metadata
Web Services
WS Metadata
JAXR
WS Metadata
JAXR
JAX-WS
JAXR
JAX-WS
JAX-RPC
JAX-WS
JAX-RPC
JAX-RPC
3 38 8
© 2007 Solution Beacon, LLC. All Rights Reserved.Standards Compliance
Standards Compliance
A purist J2EE container should be able to
A purist J2EE container should be able to
interoperate with other vendor’s solutions
interoperate with other vendor’s solutions
Featureset
Featureset
Resiliency
Resiliency
3 39 9
© 2007 Solution Beacon, LLC. All Rights Reserved.Closing Thoughts
Closing Thoughts
Release 11i Workshops
Dallas, TX • Santa Clara, CA
Cincinnati, OH • Denver, CO • Atlanta, GA
Detroit, MI • Las Vegas, NV
www.solutionbeacon.comQuestions and Answers
Questions and Answers
Thank you!
Thank you!
Lance Reedy
lreedy@solutionbeacon.com
www.solutionbeacon.com

Real Solutions for the Real World.
4 41 1
© 2007 Solution Beacon, LLC. All Rights Reserved.Check out our new book:
Installing, Upgrading and
Maintaining Oracle E-
Business Suite Applications
11.5.10+
IT’S HERE!
Order from www.lulu.com
Sign Up For the Solution
Beacon Newsletter at
www.solutionbeacon.com
Release 11i Workshops
Dallas, TX • Santa Clara, CA
Cincinnati, OH • Denver, CO • Atlanta, GA
Detroit, MI • Las Vegas, NV
www.solutionbeacon.com