Oracle JDeveloper 11gR2 Cookbook. Using JDeveloper to build ADF applications is a lot more straightforward when you learn through practical recipes. T Będzin

Oracle's Application Development Framework (ADF) for Fusion Web Applications leverages Java EE best practices and proven design patterns to simplify constructing complex web solutions with JDeveloper, and this hands-on, task-based cookbook enables you to realize those complex, enterprise-scale …

od 179,10 Najbliżej: 33 km

Liczba ofert: 1

Oferta sklepu

Opis

Oracle's Application Development Framework (ADF) for Fusion Web Applications leverages Java EE best practices and proven design patterns to simplify constructing complex web solutions with JDeveloper, and this hands-on, task-based cookbook enables you to realize those complex, enterprise-scale applications. With the help of real-world implementations, practical recipes cover everything from design and construction, to deployment, testing, debugging and optimization. This practical, task-based cookbook takes you, the ADF developer, on a practical journey for building Fusion Web Applications. By implementing a range of real world use cases, you will gain invaluable and applicable knowledge for utilizing the ADF framework with JDeveloper 11gR2. Oracle JDeveloper 11gR2 Cookbookù is a task-based guide to the complete lifecycle of Fusion Web Application development using Oracle JDeveloper 11gR2 and ADF.You will get quickly up and running with concepts like setting up Application Workspaces and Projects, before delving into specific Business Components such as Entity Objects, View Objects, Application Modules and more. Along the way you will encounter even more practical recipes about ADF Faces UI components and Backing Beans, and the book rounds off by covering security, session timeouts and exceptions.With Oracle JDeveloper 11gR2 Cookbookù in hand you will be equipped with the practical knowledge of a range of ready to use implementation cases which can be applied to your own Fusion Web ADF Applications. Spis treści: Oracle JDeveloper 11gR2 Cookbook Table of Contents Oracle JDeveloper 11gR2 Cookbook Credits Foreword About the Author About the Reviewers www.PacktPub.com Support files, eBooks, discount offers and more Why Subscribe? Free Access for Packt account holders Instant Updates on New Packt Books Preface What this book covers What you need for this book Who this book is for Conventions Reader feedback Customer support Downloading the example code Errata Piracy Questions 1. Prerequisites to Success: ADF Project Setup and Foundations Introduction Installation of JDeveloper on Linux Getting ready How to do it... How it works... Theres more... Configuring JDeveloper with a 64-bit JDK Configuring the JDeveloper user directory Breaking up the application in multiple workspaces How to do it How it works There's more Adding the ADF Library JAR manually Defining the application module granularity Entity objects, list of values (LOVs), validation queries Setting up BC base classes Getting ready How to do it How it works There's more See also Setting up logging Getting ready How to do it How it works There's more See also Using a custom exception class Getting ready How to do it How it works There's more Bundled Exceptions See also Using ADFUtils/JSFUtils Getting ready How to do it How it works Locating an iterator binding Locating an operation binding Locating an attribute binding Getting and setting an attribute binding value Getting the binding container Adding Faces messages Finding a component in the root view Getting and setting managed bean values Using page templates Getting ready How to do it How it works There's more Using a generic backing bean actions framework Getting ready How to do it How it works There's more See also 2. Dealing with Basics: Entity Objects Introduction Using a custom property to populate a sequence attribute Getting ready How to do it... How it works... There's more... See also Overriding doDML() to populate an attribute with a gapless sequence Getting ready How to do it... How it works... There's more... See also Creating and applying property sets getting ready How to do it... How it works... There's more... See also Using getPostedAttribute() to determine the posted attribute's value Getting ready How to do it... How it works... See also Overriding remove() to delete associated children entities Getting ready How to do it... How it works... There's more... Overriding remove() to delete a parent entity in an association Getting ready How to do it... How it works... There's more... See also Using a method validator based on a view object accessor Getting ready How to do it How it works... There's more... See also Using Groovy expressions to resolve validation error message tokens Getting ready How to do it... How it works... See also Using doDML() to enforce a detail record for a new master record Getting ready How to do it... How it works... See also 3. A Different Point of View: View Object Techniques Introduction Iterating a view object using a secondary rowset iterator Getting ready How to do it... How it works... There's more... Pitfalls when iterating over large rowsets See also Setting default values for view row attributes Getting ready How to do it... How it works... There's more... Specifying default values at the entity object level See also Controlling the updatability of view object attributes programmatically Getting ready How to do it... How it works... There's more... Controlling attribute updatability at the entity object level See also Setting the Queryable property of a view object attribute programmatically Getting ready How to do it... How it works... There's more... See also Using a transient attribute to indicate a new view object row Getting ready How to do it... How it works... There's more... See also Conditionally inserting new rows at the end of the rowset Getting ready How to do it... How it works... There's more... Inserting new rows at the beginning of the rowset See also Using findAndSetCurrentRowByKey() to set the view object currency Getting ready How to do it... How it works... There's more... Range paging optimization See also Restoring the current row after a transaction rollback Getting ready How to do it How it works... There's more... See also Dynamically changing the WHERE clause of the view object query Getting ready How to do it... How it works... There's more... See also Removing a row from a rowset without deleting it from the database Getting ready How to do it... How it works... There's more... See also 4. Important Contributors: List of Values, Bind Variables, View Criteria Introduction Setting up multiple LOVs using a switcher attribute Getting ready How to do it... How it works... There's more... See also Setting up cascading LOVs Getting ready How to do it... How it works... There's more... See also Creating static LOVs Getting ready How to do it... How it works... There's more... See also Overriding bindParametersForCollection() to set a view object bind variable Getting ready How to do it... How it works... There's more... See also Creating view criteria programmatically Getting ready How to do it... How it works... There's more... See also Clearing the values of bind variables associated with the view criteria Getting ready How to do it... How it works... There's more... See also Searching case insensitively using view criteria Getting ready How to do it... How it works... There's more... See also 5. Putting them all together: Application Modules Introduction Creating and using generic extension interfaces Getting ready How to do it How it works There's more See also Exposing a custom method as a web service Getting ready How to do it How it works There's more See also Accessing a service interface method from another application module Getting ready How to do it How it works There's more See also A passivation/activation framework for custom session-specific data Getting ready How to do it How it works There's more See also Displaying application module pool statistics Getting ready How to do it How it works There's more See also Using a shared application module for static lookup data Getting ready How to do it How it works... There's more... See also Using a custom database transaction Getting ready How to do it... How it works... There's more... See also 6. Go with the Flow: Task Flows Introduction Using an application module function to initialize a page Getting ready How to do it How it works There's more See also Using a task flow initializer to initialize a task flow Getting ready How to do it How it works There's more See also Calling a task flow as a URL programmatically Getting ready How to do it How it works There's more See also Retrieving the task flow definition programmatically using MetadataService Getting ready How to do it How it works There's more See also Creating a train Getting ready How to do it How it works There's more See also 7. Face Value: ADF Faces, JSF Pages, and User Interface Components Introduction Using an af:query component to construct a search page Getting ready How to do it How it works There's more See also Using an af:pop-up component to edit a table row Getting ready How to do it How it works There's more See also Using an af:tree component Getting ready How to do it How it works There's more See also Using an af:selectManyShuttle component Getting ready How to do it How it works There's more See also Using an af:carousel component Getting ready How to do it How it works There's more See also Using an af:poll component to periodically refresh a table Getting ready How to do it How it works See also Using page templates for pop-up reuse Getting ready How to do it How it works There's more See also Exporting data to a client file Getting ready How to do it How it works There's more See also 8. Backing not Baking: Bean Recipes Introduction Determining whether the current transaction has pending changes Getting ready How to do it How it works There's more See also Using a custom af:table selection listener Getting ready How to do it How it works There's more See also Using a custom af:query listener to allow execution of a custom application module operation Getting ready How to do it How it works There's more See also Using a custom af:query operation listener to clear both the query criteria and results Getting ready How to do it How it works There's more See also Using a session scope bean to preserve session-wide information Getting ready How to do it How it works See also Using an af:popup during long running tasks Getting ready How to do it How it works See also Using an af:popup to handle pending changes Getting ready How to do it How it works See also Using an af:iterator to add pagination support to a collection Getting ready How to do it How it works See also 9. Handling Security, Session Timeouts, Exceptions, and Errors Introduction Enabling ADF security Getting ready How to do it How it works There's more See also Using a custom login page Getting ready How to do it How it works There's more See also Accessing the application's security information Getting ready How to do it How it works There's more See also Using OPSS to retrieve the authenticated user's profile from the identity store Getting ready How to do it How it works There's more See also Detecting and handling session timeouts Getting ready How to do it How it works There's more See also Using a custom error handler to customize how exceptions are reported to the ViewController Getting ready How to do it How it works There's more See also Customizing the error message details Getting ready How to do it How it works See also Overriding attribute validation exceptions Getting ready How to do it How it works There's more See also 10. Deploying ADF Applications Introduction Configuring and using the Standalone WebLogic Server Getting ready How to do it How it works There's more See also Deploying on the Standalone WebLogic Server Getting ready How to do it How it works There's more See also Using ojdeploy to automate the build process Getting ready How to do it How it works There's more See also Using Hudson as a continuous integration framework Getting ready How to do it How it works There's more See also 11. Refactoring, Debugging, Profiling, and Testing Introduction Synchronizing business components with database changes Getting ready How to do it How it works There's more Refactoring ADF components Getting ready How to do it How it works There's more See also Configuring and using remote debugging Getting ready How to do it How it works There's more See also Logging Groovy expressions Getting ready How to do it How it works See also Dynamically configuring logging in WebLogic Server Getting ready How to do it How it works There's more See also Performing log analysis Getting ready How to do it How it works See also Using CPU profiler for an application running on a standalone WebLogic server Getting ready How to do it How it works There's more See also Configuring and using JUnit for unit testing Getting ready How to do it How it works There's more See also 12. Optimizing, Fine-tuning, and Monitoring Introduction Using Update Batching for entity objects Getting ready How to do it How it works There's more See also Limiting the rows fetched by a view object Getting ready How to do it How it works There's more See also Limiting large view object query result sets Getting ready How to do it How it works There's more See also Limiting large view object query result sets by using required view criteria Getting ready How to do it How it works There's more See also Using a work manager for processing of long running tasks Getting ready How to do it How it works There's more See also Monitoring the application using JRockit Mission Control Getting ready How to do it How it works There's more See also Index O autorze: Nick Haralabidis has over 20 years experience in the Information Technology industry, and a multifaceted career in such positions as Senior IT Consultant, Senior Software Engineer and Project Manager for a number of U.S. and Greek corporations (Compuware, Chemical Abstracts Service, NewsBank, CheckFree, Intrasoft International, Unisystems, MedNet International and others). His many years of experience have exposed him to a wide range of technologies ranging from Java, J2EE, C++, C, and Tuxedo, to a number of database technologies. For the last four years Nick has been actively involved in large implementations of next generation enterprise applications utilizing Oracles JDeveloper, Application Development Framework (ADF) and SOA technologies. He holds a B.S. in Computer Engineering and an M.S. in Computer Science from the University of Bridgeport. When he is not pursuing ADF professionally, he writes on his blogs JDeveloper Frequently Asked Questions (http://jdeveloperfaq.blogspot.com) and ADF Code Bits (http://adfcodebits.blogspot.com). He is active in the Oracle Technology Network (OTN) JDeveloper and ADF forum where he both learns from and helps other forum users.

Specyfikacja

Podstawowe informacje

Autor
  • Nick Haralabidis
Rok wydania
  • 2012
Format
  • PDF
  • MOBI
  • EPUB
Ilość stron
  • 406
Kategorie
  • Programowanie
Wybrane wydawnictwa
  • Packt Publishing