Upload
doantuong
View
218
Download
1
Embed Size (px)
Citation preview
<Insert Picture Here>
Introduction to Oracle JDeveloperShay ShmeltzerPrincipal Product Manager – Oracle JDeveloper
Oracle JDeveloper Themes
• Complete • Full development lifecycle• One tool for Java, Web Services, XML, DB, SOA and more
• Standard• Support industry standards • Cross platform (AS and DB)
• Productive• Improved coding productivity• Visual and declarative development• Oracle Application Development Framework (Oracle ADF)
• Strategic• The tool for Fusion Middleware• The tool for the Oracle Database• The tool for Oracle Fusion Applications
• FREE
Full Lifecycle Support
Design
Code
TuneDeploy
Analyze
Debug And Test
Versioning
UML
• Class Modeling• Including Transform
• Sequence Modeling• Use Case Modeling• Activity Modeling
Code Visualization
• Java Class Modeling• EJB Modeling• Database Modeling• Page Flow Modeling
(JSF/Struts)• XML• WSDL• ADF Business Components
Coding in JDeveloper
• Helpful Editor• Code Assist• Code Insight• Interactive Templates
• Smart Copy/Paste
• Multiple clipboards• Code highlighting• Smart Insight
• Easy Code Navigation• Browser Like Navigation• File Overview Margin• Hierarchy Browser
• Find usages
• Code Readability• Folding• Formatting
Cool Code Editor Features
Code Assist
Overview Margin
Implements and Overrides
NavigationTask List
Scope and Code Folding
Code Formatting
Format
Imports
Naming
Member Order
More Editor Bells and Whistles
• Local history• Live code templates• Element selection• Smart line split • Print to HTML• Convert case• Javadoc tag insight • Smart type-over
• Multiple clipboards• Code highlighting• Control-click navigation• Improved Class/Package
picker• Smart Insight• Auto-import on paste• Auto-indent on paste
Refactoring
• Over 35 Refactoring options• Drag and drop refactoring• Refactor across entire
application• Refactor across source
control
Version Management
• Local history tab• Even without SCM
• Integration with Software Configuration tools
• CVS• Subversion• Rational Clearcase• Perforce• Serena Dimensions• MS Windows Team Server
Ant and JUnit Integration
• Extensive support for Ant• Integrated runner, toolbar
• Build.xml insight
• Component palette integration
• Configurable Ant version
• Integrated JUnit Environment• Integrated runner• Refresh test suite• Add to test case• Single method test
EJB Development
• EJB 3.0 Development• Simplified EJB development
• JPA support• Including Testing outside the
container
• Dialog based EJB creation• Reverse engineering DB into
Entity Beans• Session Façade Generation• One-click sample client creation
for testing
TopLink - POJO Persistence
• Persistence framework for Java Objects• TopLink Mapping Editor integrated in
JDeveloper• Intuitive design time for mappings and
configuration• Objects from Tables or Meet-in-the-Middle
• TopLink Visual Modeler• Drag and drop tables to create POJOs
• Sample Client Creation
Web Development - JSF
• Declarative and visual development of JSF applications
• Built-in support for the JSF RI, and support to add alternative JSF implementation e.g. MyFaces
• Page flow editor for JSF navigation• Overview editor of JSF configuration files• Backend code generation• Import custom JSF components• Declarative data binding
Web Development – JSP/Struts
• Visual editor with tag execution, navigation bar, prelude/coda rendering
• Code editor with code-insight• Component Palette • Page flow editor for Struts• Visual CSS editor• Page templates• Support for Struts Tiles
Swing Development
• WYSIWYG Editor• Swing Component
Panel• Property Inspector• Events tab• Constraint Window• Code Editor In synch• Unique UI Debugger• WebStart Deployment
Web Services Development
• Create J2EE 1.4 (JAX-RPC) Web Services• Java class, PL/SQL package,EJB (2.x / 3.0), JMS
• Consume Web Services • From WSDL endpoint or UDDI registries
• Publish Web Services to UDDI registry• Advance Web Services Infrastructure support
• WS-Security, WS-Reliability,WS-Management
• Visual WSDL Editor• Contract-driven (aka top-down) support• WSIF & REST support
SOA Development - BPEL
• Build BPEL• Orchestrate Web
Services• Drag and Drop• Code
Synchronization
SOA Development - ESB
• Design ESB Services• Message Flows• Transformations• Routing Rules
Debugging Code
• Local and Remote Debugging
• Hot Swap Debugging• Memory Heap Examiner• Innovative UI debugger• PL/SQL Debugger• Sequence Diagram
Integration
Performance Analysis
• Event Profiler• Measure the beginning,
end, and duration of events
• Execution Profiler• Samples of execution;
customizable intervals
• Memory Profilers• Snapshot of Java heap;
customizable intervals
• SQL Explain Plan• Database statistics
execution plan SQL
High Quality Code with Audit, Metrics and CodeCoach
• Code Audit• Customize compliance
rules• Automatic fixes• Framework for writing
rules
• Code Metrics • measures code complexity
• CodeCoach • Identifies (and fixes)
common coding pitfalls
Deployment
• Packaging wizards• EAR, WAR, JAR,
RAR, Web Start
• One Click Deploy• Oracle, Tomcat,
JBoss, BEA
• Ant Integration• Embedded J2EE
container• Testing and
Debugging
XML Development
• XML Editing Framework• Code Insight, properties,
component palette• Visual xml schema modeler• Visual XSLT Mapping• XSLT Debugging• XQuery Support• XPath Search• Integrated Oracle XDK for parsing,
transformation and generation (XML Java, SQL => XML)
• Support for Oracle XML DB (XDB) for registering schemas and using XDB annotations
Database Development
• Database Modeling• Database Objects
Creation• Database Browser• SQL Worksheet• SQL Tuning• PL/SQL Editor• PL/SQL Debugging• Publish PL/SQL based
Web Services
Wireless Development
• JSF based Wireless Development
• WYSIWYG editing for PDA and telnet applications
• Component filtering based on device classes
• Device-specific view port• Capability-based content
filtering wizard• Mobile simulator
registration and integration
Extending JDeveloper
• Open Extension SDK • JSR-198 Reference Implementation• Check-for-Updates
• Easy One-Click Extension Install
• Oracle Provided Extensions• BPEL, ESB, Portal, Wireless etc…
• Many Partner and Open Source Extensions
<Insert Picture Here>
Introducing Oracle ADF
The Oracle Application Development Framework
What is ADF?
• Application Development Framework to simplify the development of composite applications
• Productivity with Choice• Increase Productivity & Ease-of-use• Promote Service Oriented Development• Standards-Based
• Key component of Fusion Architecture
What is ADF?
• Provide Infrastructure Solutions • O/R Mapping, persistence, caching, Controller, binding, UI
framework
• and an Easy way to use them• A tool – properties, dialogs, visual editors etc…
Business Services
Web and WirelessRich Clients
Model
Controller
ViewView
ControllerController
ModelModel(JSR 227)(JSR 227)
ADF Architecture
ADF Architecture
ADF Model
Struts JSF
JSF/ADF FacesJSPADF Swing View
Controller
Model(JSR 227)
Business Services
Rich Client Web / Wireless
Relational Data XML Data Legacy Data
Data Source
EJB/Toplink
ADFBusiness
Components
Java
Classes
Web
ServicesPortlets
Packaged Apps
SOA Development with ADF
DevelopDevelop
BusinessBusinessServiceService
ExposeExpose
ModelModel
AccessAccess
ViewView
Develop ServicesBusiness Services Layer
• Data Access • O/R Mapping
• Queries/DML
• Business Logic• Data Validation• Business Logic
• Choices of implementation• EJB, POJO, Web Services, XML, TopLink, ADF
Business Components
DevelopDevelop
BusinessBusinessServiceService
Access ServicesView Layer
• Choice of technology• JavaServer Faces (JSF)
• Swing
• JSP
• JSP/Struts
• Visual Layout Editor• Easy Data Binding
AccessAccess
ViewView
ADF Faces Components Examples
Consistent Programming Model
J2EEJ2EE Bus. LogicBus. Logic
HTMLHTML RIARIA MobileMobile TelnetTelnet
IndustrialIndustrial
CSSCSS CSSCSS
Phone/PDAPhone/PDABrowserBrowser
SkinsSkins
Render KitsRender Kits
ComponentsComponents
InterfaceInterfaceJava Server Faces / JSPJava Server Faces / JSP
ADF FacesADF Faces
ASKASK
ASASITSITS
IMIM
Expose ServicesADF Model Layer
• ADF Model• JSR-227 Data Controls
• Service Oriented Interface• Abstract implementation from clients • Loose coupling between services
and application
• More Reusability• Discover and Share Services
• More Productivity• Drag and Drop Data Binding
ExposeExpose
ModelModel
ADF Data Binding
• Drag and Drop Business Services to View and Controller
DEMOThe 5 Minutes Application
Productive Development with
Oracle JDeveloper and Oracle ADF
For More Information
• http://oracle.com/technology/jdev• Software, Demos, Tutorials, The Discussion Forum
• http://oracle.com/technology/products/adf/learnadf.html• Extensive Tutorial and the book about ADF
• Blogs
For More Information
http://search.oracle.com
or
oracle.com