Post on 11-Apr-2018
6/13/2012
1
1 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 2 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Sneak Preview: Oracle JDeveloper 12c New Features
Frank Nimphius
Senior Principal Product Manager
Oracle Development Tools
6/13/2012
2
3 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Oracle JDeveloper Release Overview
• JDeveloper 10g
– 10.1.3.5 (current)
• JDeveloper 11gR1
– 11.1.1.6 (current)
– 11.1.1.7 (coming)
• JDeveloper 11gR2
– 11.1.2.2 (current)
– 11.1.2.3 (coming)
• JDeveloper 12c
– 12.1.2.0 (coming)
4 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
The Problem
• What is new?
• What do they want to hear?
• How technical should it be?
• Where do I start?
• I've got 45 Minutes.
6/13/2012
3
5 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
What is a New Feature in Oracle JDeveloper?
• New features define new functionalities added to a
specific release of a product
• New features describe the delta between an existing
version of a product in use and a newer version of the
same
• New features define functionalities of a specific version
of a product that are new or have been extended and
improved in their behavior and use
Three Possible Definitions
6 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
The Solution
Why don't you give us your selective view
on what is important to know about Oracle
JDeveloper 12c and ADF?
6/13/2012
4
7 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Oracle JDeveloper 12c Status Update
8 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Therefore ...
The following is intended to outline our general product direction. It is
intended for information purposes only, and may not be incorporated
into any contract.
It is not a commitment to deliver any material, code, or functionality,
and should not be relied upon in making purchasing decisions.
The development, release, and timing of any features or functionality
described for Oracle’s products remains at the sole discretion of
Oracle.
Don't trust the speaker!
6/13/2012
5
9 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Agenda
• Product Strategy
• Selected IDE Features
• Selected ADF Features
10 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Main Themes for JDeveloper and ADF 12c
• Runtime and design-time standards uptake
– Java EE 6, Java SE 7, HTML 5, CSS3
• Continued performance and stability improvements
• Improve developer experience and productivity
• Feature sharing with NetBeans
• Cloud Integration
• Oracle Middleware 12c alignment
6/13/2012
6
11 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Planned IDE Enhancements
• Dependency visualization
• Maven for ADF
• Git support
• Extension development
• New Look and Feel
• New windowing system
12 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Planned ADF Enhancements
• Improved REST support
• ADF Runtime customization
• Groovy editor/debugger
• Oracle Enterprise Security
• ADF Mobile
• ADFc for ADF Mobile
6/13/2012
7
13 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Planned ADF Faces Enhancements
• Public-facing sites
– Page loading
– CDN support
– Improved search-bot
• Tablet, iOS support
• ADF Faces layout made simpler
• Improved dynamic table/form
• New ADF Faces components
• Pretty URL
14 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Supported Servers
• WebLogic 12c
• Websphere
• Glassfish
Planned JDeveloper and ADF Support
6/13/2012
8
15 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Documentation & Library Improvements
"There is more treasure in books than in all the
pirate's loot on Treasure Island."
Walt Disney
16 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Documentation & Library Improvements
• Search Engine Optimizations (SEO)
– More release and descriptive information in book metadata
• Easy URLs
– Implementing URLs that are more readable
– Example: http://docs.oracle.com/middleware/12.1.2.0.0/index.htm
• Documentation Library Improvements – Update documentation library interface and product roadmaps that help
users to find what they need quickly
– Redesigned interface for library Advanced Search
16
6/13/2012
9
17 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
JDeveloper & ADF Documentation Features
• Improvements in ADF Developer Guides
– Replacing FOD reference sample with new Summit ADF demo
– Adding more information about what you need to know to work
with JDeveloper and ADF procedures
• New ADF books
– ADF Concepts Guide
• Overview of ADF stack for developers and administrators
– ADF Data Controls Guide: Covers ADFm data controls in depth
• Conceptual overview of data controls, their creation and use
17 18 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Agenda
• Product Strategy
• Selected IDE Features
• Selected ADF Features
6/13/2012
10
19 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Context Sensitive Menus
20 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
<Insert Picture Here>
Selected IDE Features
Extensions
6/13/2012
11
21 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Oracle JDeveloper Extensions
22 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
JDeveloper Extensions in 11gR2
• New OSGi framework
– Extensions are loaded only when needed
• Extensions are not loaded at started
– Addin.initialize is no longer called at startup
– Trigger hooks are implemented in the extension.xml
• Faster startup
– Supports lazy initialization
– IDE extensions use trigger hooks to define when they should load
6/13/2012
12
23 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
<Insert Picture Here>
Selected IDE Features
Maven
24 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Maven
• Hide deployment variations and complexities of different
development technologies used when building custom
FMW applications
• Provide a consistent and automated build, test, deploy
experience
• Integrate with Hudson for continuous integration (CI)
environment
• Seamless integration in Oracle JDeveloper
Oracle JDeveloper Strategy
6/13/2012
13
25 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Maven Features
• New Maven Application/Project with POM
• Create POM from Project/Application
• Import POM
• Configure Maven per Application
• POM editing, code insight
• Run goals, integrated output
• Manage repositories, with indexing and querying
• Manage dependencies, synced with Project libs
Oracle JDeveloper 11g R2
26 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Maven Features
• Build script for local repository (JRF/ADF/FMW libraries)
• Ojdeploy plug-in
• Multiple source/output paths
• Archetype support
• Improved goal manager, run custom goals
• Upgrade to Maven 3.0
• Repository authentication
• Usability/UI enhancements
• Flat editor for POM, Dependency graph
Oracle JDeveloper 12c
6/13/2012
14
27 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Maven for New Application Developments
28 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Maven for New Application Developments
6/13/2012
15
29 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
<Insert Picture Here>
Selected IDE Features
JAX-WS, JAX-RS
30 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Service Development in JDeveloper 12c New Gallery Options
• JAX-WS services from RDBMS table,
select statement, PLSQL
• Annotated POJO class to become REST
service after deployment
• Create Rest Service client from WADL
• Consume REST sources in ADF
(imporvements to Jdeveloper 11g R2)
6/13/2012
16
31 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Rest Development in JDeveloper 12c JAX-RS Service Creation from POJO or Session Bean
32 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Rest Development in JDeveloper 12c Annotated JAX-RS Service Example
6/13/2012
17
33 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Rest Development in JDeveloper 12c Create JAX-RS client proxy for REST service
34 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Agenda
• Product Strategy
• Selected IDE Features
• Selected ADF Features
6/13/2012
18
35 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
<Insert Picture Here>
Selected ADF Features
ADF Business Components
36 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Change in Default Datatypes
• From Oracle Domains to "Java
Extended for Oracle"
• Oracle JDBC driver now has
optimized native Java number
and date types
• ADF BC domains remain
supported and valid
6/13/2012
19
37 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Modeless ADFBC Object Editors
38 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Improved Groovy Experience Rule Overview and Filter
6/13/2012
20
39 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Improved Groovy Experience Editor and Debugger
40 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
<Insert Picture Here>
Selected ADF Features
Bean Data Control
6/13/2012
21
41 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Sparse Bean Data Control Improved POJO and EJB Data Control
42 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Sparse Bean Data Control Implement ADF Lifecycle Methods
6/13/2012
22
43 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Sparse Bean Data Control Reduced (Optional) XML Usage
44 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
List of Values Support Model Driven LOV
6/13/2012
23
45 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
List of Values Support Model Driven LOV
46 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
List of Values Support Model Driven LOV
6/13/2012
24
47 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
<Insert Picture Here>
Selected ADF Features
ADF REST Support
48 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
ADF REST Support URL Data Control
6/13/2012
25
49 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
ADF REST Support URL Data Control
50 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
ADF REST Support URL Data Control
6/13/2012
26
51 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
<Insert Picture Here>
Selected ADF Features
ADF Faces & JSF 2.0
52 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
JSF 2 Features
• Facelets
• Ajax
• Get
• Composite components
• Annotated managed beans
• New scopes
• Conditional navigation
6/13/2012
27
53 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
JSF 2 Features
• Directly add EL in page content
• EL method with Arguments
– EL 2.2 feature
• System events (f:event) – postConstructApplicationEvent, preDestroyApplicationEvent
– preValidateEvent, postValidateEvent
– preRenderViewEvent, preRenderComponentEven
54 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
ADF Faces
• Fast Page Loading
– JavaScript reduction
– Shrink CSS
– Image size reduction
– Deferred loading of menus
• Externalize Resources to Content Delivery Networks
– Configurable rewrite directive for static resources
– Core scripts
– CSS
– Images
Public Facing Website Optimization
6/13/2012
28
55 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
ADF Faces
• Search Engine Friendly
– ADFc to recognize crawler requests and to provide an XML
application site map
– Agent support for different crawlers
• Easy to Use Skins
• Easy Layouts
Public Facing Website Optimization
56 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
ADF Faces
• Reduced size of compiled library using Google Closure Compiler
– Replaces previous home-grown compiler
– Up to 60% size reduction
• Improved background loading of scripts
Reducing the JavaScript Footprint
<context-param>
<param-name>
oracle.adf.view.JAVASCRIPT_OPTIMIZATION
</param-name>
<param-value>simple|advanced|advanced-debug</param-value>
</context-param>
6/13/2012
29
57 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
ADF Faces JSPX to Facelets Conversion
58 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
New Component - PanelGridLayout
• Layout container that uses one or more af:gridRow
components to describe the rows of a grid layout
• Each row defines
– height and margins
– uses one or more af:gridCell components
• Each cell defines
– width, margins, column span,
row span, horizontal alignment,
vertical alignment.
6/13/2012
30
59 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
New Component - New File Upload
• HTML 5 based
• Multi File Upload
• support for dragging
files from OS
• Configurable maximum
number of files to upload
60 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
HTML 5 Placeholder Support
• Placeholder support (HTML5 browsers)
– InputColor
– InputComboboxListOfValues
– InputDate
– InputListOfValues
– InputNumberSpinbox
– InputText
Inline Label
6/13/2012
31
61 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
New Component - af:target
• A declarative way to specify a list of targets to execute
and render in response to a component event
• Enhanced partial trigger behavior
– 'partialTriggers' attribute continues
to work as it does today
Behavior Tag
62 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
New Component - "One-Fits-All" Button
• New af:button component
– Replaces af:goButton, af:commandButton,
af:commandToolbarButton, af:activeCommandToolbarButton
• Has both a destination and action attribute
• Other buttons are deprecated
– you should start using the new af:button component instead
• There is no restriction on maximum height of button
– Minimum height is 19px
af:button
6/13/2012
32
63 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
New Component - "One-Fits-All" Link
• New af:link component that replaces
– af:goLink, af:commandLink, af:goImageLink,
af:commandImageLink
• Has both a destination and action attribute
• Selected attribute to distinguish a selected link
• Other buttons are deprecated
– you should start using the new af:button component instead
af:link
64 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
New Component - Code Editor
6/13/2012
33
65 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Page Template Enhancement Create Template as copy of an existing template
66 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
ADF Faces Skinning - Creating A New Skin
6/13/2012
34
67 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
ADF Faces Skinning - Creating A New Skin
68 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
ADF Faces Skinning - Improved Skin Editor 1/3
6/13/2012
35
69 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
ADF Faces Skinning - Improved Skin Editor 2/3
70 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
ADF Faces Skinning - Improved Skin Editor 3/3
6/13/2012
36
71 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
ADF Faces Skinning - New Default Skin Skyros
72 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Debugging – ADF Faces Firefox Extension
• Allows client side component inspection and setting
• Finding components by clicking on the page
– Like FireBug
• Support for absolute locators
• Server side source page viewing
– Current view ID page source
• JSF, JSPX
– Page fragment source (jsff) included by regions, page templates,
declarative components and dynamic declarative components
– Code included by jsp:include or facelets includes (like ui:include)
Initial Feature Set
6/13/2012
37
73 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
<Insert Picture Here>
Selected ADF Features
ADF Faces DVT
74 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
ADF Data Visualization Tools (DVT)
• Network of nodes that can be arbitrarily linked together
Diagram
6/13/2012
38
75 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
ADF Data Visualization Tools (DVT)
• Display hierarchy using color and size of the nodes to convey information
Treemap and Sunburst
76 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
ADF Data Visualization Tools (DVT)
• Visualizes events on an interactive time line
Timeline
6/13/2012
39
77 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
ADF Data Visualization Tools (DVT)
• Touch and iOS support
coming up in a future
release
– HTML5 rendering
– Interactivity and touch
support for mobile
devices
• Already in 11.1.1.6
• Planned for 11.1.2.3
Support for Mobile Platforms
78 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
<Insert Picture Here>
Selected ADF Features
Remote Task Flow
Enhancement
6/13/2012
40
79 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Remote Regions
• Render remote task flow content as an ADF region in an ADF Faces
• Comparable to WSRP portlets
– Easier to set-up
– Solves different use cases
– Task Flow and JSF technologies only
• Allows inter-task flow communication
– Remote Task Flow to Region in View
– Region in View to Remote Task Flow
– Remote Task Flow to Remote Task Flow
80 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Remote Regions
Parent View
Task Flow Input Param
Input Param
Input Param
af:region
Managed Bean Page Flow Scope
RichRegion
Remote Server 1
Task Flow
Input Param
Input Param
Managed Bean Page Flow Scope
Remote Server 2
Task Flow
Input Param
Managed Bean Page Flow Scope
af:region
af:region
http
http
Local Server
6/13/2012
41
81 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
<Insert Picture Here>
Selected ADF Features
ADF Mobile Framework
82 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
ADF Mobile Framework
• Common and meta-data based application definition
• Build once and deploy to multiple mobile platforms
• Direct access to device capabilities
• Native mobile user experience
• Complete security support
• Flexible runtime architecture
• Rapid and declarative development environment
• Support for popular mobile platforms on the market such as iOS
Build Once Deploy Locally to Multiple Mobile Platforms
6/13/2012
42
83 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
ADF Mobile Framework
• For initial release, feature alignment to ADF Mobile in
11g R2 (11.1.2.3)
– ADF Mobile in 11g R2 development is ongoing
• New features, compared to 11g R2, most likely added in
Oracle JDeveloper 12c Patch Sets
Oracle JDeveloper 12c
84 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
<Insert Picture Here>
Selected ADF Features
ADF in Eclipse using OEPE
6/13/2012
43
85 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
OEPE ADF Tool Support
• Objective
– Increase adoption of the ADF framework in the Java EE
community and Oracle customer base
• Target audience
– Java EE developers
• Familiar with common design-pattern for building data-bound JSF-
based web application
• User profiles
– Java EE developer + First-time user of ADF
©2010 Oracle Corporation
85
86 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
OEPE 12.1.1.1 (Bifrost) ADF Themes
• ADF Bindings and Data Controls – Create Data Control from EJB/POJO
– Edit ADF Bindings
– AppXRay support for ADFm
– Debugging ADF Bindings
– Refactoring
6/13/2012
44
87 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
OEPE ADF – What's in – What's out
Business Services
Model
Controller
JSF
Desktop Browser-Based
Office ADF
Swing
EJB BAM ADFbc Portlets BI BPEL Web Services Java
ADF Faces
Me
tad
ata
Se
rvic
es (M
DS
)
Mobile
JSF ADF Controller
ADF Binding JSF Managed
Bean
88 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Q&A