Documents

ADFDC

Description
ADFDC
Categories
Published
of 148
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Related Documents
Share
Transcript
    Oracle® Fusion Middleware Developing Applications with Oracle ADF Data Controls 12 c   (12.1.3) E41270-01 May 2014 Documentation for Oracle Application Development Framework (Oracle ADF) developers that describes how to create and configure data controls for Enterprise JavaBeans (EJB) and plain Java objects and for SOAP and REST web services.  Oracle Fusion Middleware Developing Applications with Oracle ADF Data Controls12 c  (12.1.3)E41270-01Copyright © 2013, 2014 Oracle and/or its affiliates. All rights reserved.Primary Author: Landon OttContributing Author: Patrick KeeganContributors: Jon Wetherbee, Jim Pham, Vinay AgarwalThis software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing.If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable:U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are commercial computer software or commercial technical data pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, duplication, disclosure, modification, and adaptation shall be subject to the restrictions and license terms set forth in the applicable Government contract, and, to the extent applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software License (December 2007). Oracle America, Inc., 500 Oracle Parkway, Redwood City, CA 94065.This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications.Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group.This software or hardware and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services.  iii Contents Preface ................................................................................................................................................................. ix Audience....................................................................................................................................................... ix Documentation Accessibility..................................................................................................................... ix Related Documents..................................................................................................................................... ix Conventions................................................................................................................................................. x What's New in This Guide ........................................................................................................................ xi New and Changed Features for Release 12c (12.1.3).............................................................................. xi Other Significant Changes in this Document for Release 12c (12.1.3)................................................. xi 1Introduction to ADF Model 1.1 About ADF Model  ............................................................................................................1-11.2 Data Control Types  ..........................................................................................................1-41.3 Data Controls Not Covered By This Guide  ......................................................................1-41.4 What You May Need to Know About Non-Adapter Framework Data Controls  .............1-5 2Using ADF Data Controls 2.1 Core Development Steps For Data Control Applications  .................................................2-12.2 Exposing Business Services with Data Controls  ...............................................................2-22.2.1 How to Create ADF Data Controls  ............................................................................2-22.2.2 What Happens in Your Project When You Create a Data Control  .............................2-32.2.2.1 DataControls.dcx Overview Editor  .....................................................................2-32.2.2.2 Data Controls Panel  .............................................................................................2-42.2.3 Display of Business Services in the Data Controls Panel  ...........................................2-42.2.4 Data Control Built-in Operations  ...............................................................................2-62.3 Creating Databound UI Components from the Data Controls Panel  ...............................2-72.3.1 How to Use the Data Controls Panel  .......................................................................2-102.3.2 What Happens When You Use the Data Controls Panel  ..........................................2-122.3.3 What You May Need to Know About Iterator Result Caching  ................................2-132.3.3.1 Setting an Iterator to Not Cache Its Result Set  ...................................................2-142.3.3.2 Using a Button to Reexecute the Iterator  ...........................................................2-14 3Creating and Configuring EJB Data Controls 3.1 About EJB Data Controls  ..................................................................................................3-1  iv 3.1.1 EJB Data Control Use Cases and Examples  ...............................................................3-13.1.2 Additional Functionality for EJB Data Controls  ........................................................3-23.2 Preparing a Session Bean to Use With a Data Control  .....................................................3-23.2.1 Supported Types and Constructs in EJB Data Controls  .............................................3-33.2.2 EJB Data Control Objects  ...........................................................................................3-33.2.3 About the Session Facade Pattern  ..............................................................................3-53.2.4 EJB Data Control Prerequisites and Considerations  ..................................................3-53.2.4.1 Recommended Entity Bean Elements  ..................................................................3-53.2.4.2 Recommended Session Facade Elements  ............................................................3-63.2.4.3 What You May Need to Know About Overloaded Get Methods  ........................3-73.2.5 Creating EJBs for a Data Control in JDeveloper  .........................................................3-73.2.6 What You May Need to Know About How EJB and Bean Data Controls Use Getter Methods  .....................................................................................................................3-73.2.7 About Commit Models for EJB Session Beans  ...........................................................3-83.2.7.1 Implicit Commit Models  .....................................................................................3-83.2.7.2 Explicit Commit Models  ......................................................................................3-83.2.8 About Generating IDs for Primary Keys with the @GeneratedValue Annotation  .....3-93.2.9 How to Change a Persistence Unit’s Schema Generation Behavior  ...........................3-93.2.10 How to Automatically Update a Session Facade  .....................................................3-103.2.11 What You May Need to Know About Refreshing JPA Queries  ...............................3-103.3 Exposing Session Bean Services with ADF Data Controls  ..............................................3-113.3.1 How to Create EJB Data Controls  ............................................................................3-133.3.2 What Happens in Your Project When You Create an EJB Data Control  ..................3-153.3.3 How EJB and Bean Data Controls Appear in the IDE  ..............................................3-163.3.3.1 DataControls.dcx Overview Editor for EJB and Bean Data Controls  ................3-163.3.3.2 Data Controls Panel for EJB and Bean Data Controls  ........................................3-163.3.3.3 EJB and Bean Data Control Built-in Operations  ................................................3-163.3.4 What You May Need to Know About the Support Named Criteria Option and Paging 3-163.3.5 What You May Need to Know About CRUD Operations in an EJB Data Control  ...3-173.3.6 What You May Need to Know About the Merge and Persist Methods  ...................3-173.3.7 What You May Need to Know About Remove Methods  .........................................3-183.3.8 About Automatically Persisting New Rows  ............................................................3-183.3.9 How to Change the EagerPersist Property  ..............................................................3-193.3.10 What You May Need to Know About the Persistence Context and Resubmitting Queries  ....................................................................................................................3-193.3.11 How to Create Different Data Controls for a Single Bean  ........................................3-193.3.12 What Happens When You Create an Additional Data Control Instance  .................3-203.4 Paginated Fetching of Data in EJB Data Controls  ...........................................................3-203.4.1 How to Change Paging Mode for a Data Control  ....................................................3-213.4.2 How to Set Range Size for a Data Control that Uses Range Paging  .........................3-223.4.3 What You May Need to Know About the Scrollable and Range Paging Modes  ......3-233.4.4 How to Specify Access Mode for Individual Objects in the Data Control  ...............3-233.4.5 What You May Need to Know About Sorting Tables Based on Range Paginated Collections  ...............................................................................................................3-243.5 Providing UI Hints for Attributes Using Annotations  ...................................................3-243.6 Enabling Failover in an EJB Data Control  ......................................................................3-27
Search
Similar documents
Tags
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks