Developing Web Applications with Oracle ADF Essentials

Developing Web Applications with Oracle ADF Essentials
eBook: $29.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 15%!
Print + free eBook + free PacktLib access to the book: $79.98    Print cover: $49.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Table of Contents
Sample Chapters
  • Quickly build compete applications with business services, page flows, and data-bound pages without programming
  • Use Java to implement any business rule or application logic
  • Choose the right architecture for high productivity and maintainability
  • Follow a common example application that illustrates the key concepts throughout the book

Book Details

Language : English
Paperback : 270 pages [ 235mm x 191mm ]
Release Date : August 2013
ISBN : 1782170685
ISBN 13 : 9781782170686
Author(s) : Sten E. Vesterli
Topics and Technologies : All Books, Enterprise Products and Platforms, Oracle Applications, Enterprise, Web Development

Table of Contents

Chapter 1: My First ADF Essentials Application
Chapter 2: Creating Business Services
Chapter 3: Creating Task Flows and Pages
Chapter 4: Adding Business Logic
Chapter 5: Building Enterprise Applications
Chapter 6 Debugging ADF Applications
Chapter 7: Securing an ADF Essentials Application
Chapter 8: Build and Deploy
  • Chapter 1: My First ADF Essentials Application
    • Getting ready
    • Installing MySQL
      • MySQL installation
      • Configuring
      • Changing MySQL options
      • Does it work?
      • Modifying some data
    • Installing Java Development Kit and GlassFish
      • Installing JDK 7
      • Installing GlassFish
      • GlassFish installation
      • Setting up the domain
      • Does it work?
      • Installing the MySQL connector in GlassFish
      • Adding a DataSource to GlassFish
    • Installing ADF Essentials
      • Getting ADF Essentials
      • Installing the ADF Share libraries in GlassFish
      • Setting the GlassFish JVM parameters
      • Does it work?
    • Installing JDeveloper
      • JDeveloper or Eclipse?
      • Which JDeveloper?
      • JDeveloper installation
      • Installing the MySQL Connector in JDeveloper
      • Installing the GlassFish Server Extension
      • Connecting to the GlassFish server
    • Building a simple ADF Essentials application
      • Creating the application
      • Database
      • Business service
      • Model layer
      • Controller layer
      • View layer
      • Getting ready to deploy
        • DataSource
        • Application module configuration
        • Change platform
      • Running your first ADF Essentials application
    • Can it run faster?
      • Setting up WebLogic for MySQL
      • Adding a DataSource to WebLogic
      • Running your first ADF Essentials application again
    • Summary
    • Chapter 2: Creating Business Services
      • Business service possibilities
      • ADF Business Components
      • Starting the example application
      • How ADF business components work
      • Building your own foundation
        • Building framework extension classes
        • Using framework extension classes
      • Building entity objects for the example application
        • Preparing to build
        • Running the wizard
        • Examining the result
        • Setting the labels
        • Autogenerated values
        • Cleaning up the data types
        • Cleaning up the associations
          • Deleting superfluous associations
          • Fixing wrong associations
          • Removing invalid references from entity objects
      • Building view objects
        • The storyboard
        • Building the customer view object
        • Building the rental view object
        • Creating a view link
      • Application module
      • Testing business components
      • Summary
      • Chapter 3: Creating Task Flows and Pages
        • Building task flows
          • Bounded and unbounded task flows
          • Pages and fragments
          • Task flow templates
          • Example application
            • Building the Rent DVD task flow
            • Building the Return DVD task flow
          • Memory scopes
          • Other elements of task flows
        • Building pages
          • Using templates
            • Facet definitions
            • Page fragment template
            • Page template
          • Example application
            • Building the customer search page
            • Building the Return DVD page
            • An alternative – ADF query panel
            • Building the Rent DVD page
            • Building a master page
            • Running the page
        • Using data bindings
          • Showing a customer on a page
          • Showing customer rentals on a page
          • Adding navigation
        • Summary
        • Chapter 4: Adding Business Logic
          • Adding logic to business components
            • Logic in entity objects
              • Overriding accessors
              • Working with database triggers
              • Overriding doDML()
            • Data validation
              • Declarative validation
              • Regular expression validation
              • Groovy scripts
              • Method validation
            • Logic in view objects
              • Overriding accessors
              • Change view criteria
            • Logic in application modules
          • Adding logic to the user interface
            • Adding a bean method to a button
            • Adding a bean to a task flow
            • Accessing UI components from beans
            • Accessing the binding layer
              • Working with attribute values
              • Working with operations
              • Working with whole datasets
            • Showing messages
          • Example application
            • Registering a rental
              • Creating a bean
              • Mapping the fields
              • Establishing bindings
              • Writing the code
            • Registering a return
              • Adding a column and a button
              • Creating a bean
              • Mapping the table
              • Creating a view object method
              • Publishing your method
              • Establishing bindings
              • Writing the bean code
            • Marking items returned today
              • Creating a transient attribute
              • Binding the new attribute
              • Coding the attribute return value
              • Using the attribute value
              • Other ideas
          • Summary
          • Chapter 5: Building Enterprise Applications
            • Structuring your code
              • Workspaces and projects
              • The workspace hierarchy
              • The directory structure
            • Using version control
            • Working with ADF libraries
              • Creating ADF libraries
              • Releasing ADF libraries
              • Using ADF libraries
            • Example application
              • Creating the Master Application Workspace
                • Creating the workspace
                • Adding to source control
                • Creating the ADF library folder
              • Creating the CommonCode workspace
                • Creating the workspace
                • Recreating the framework extension classes
                • Check your JDeveloper preferences
                • Adding to source control
                • Creating the ADF library
                • Releasing the ADF library
              • Creating the CommonUI workspace
                • Creating the workspace
                • Creating the templates
                • Adding an ADF library
                • Adding to source control
                • Creating and releasing the ADF library
              • Creating the CommonModel workspace
                • Creating the workspace
                • Adding an ADF library
                • Creating the entity objects
                • Adding to source control and creating the ADF library
              • Creating the RentDvd subsystem workspace
                • Creating the workspace
                • Adding ADF libraries
                • Creating the view object
                • Creating the application module
                • Creating the task flow and page fragment
                • Adding a binding
                • Adding the business logic
                • Remaining work
              • Creating the ReturnDvd subsystem workspace
                • Creating the workspace
                • Adding ADF libraries
                • Creating the Customer view object
                • Creating the Rental view object
                • Creating a View Link
                • Creating an application module
                • Creating the task flow
                • Creating the Customer Search Page Fragment
                • Creating the Rentals Page Fragment
                • Registering a return
                • Remaining work
              • Finishing the Master Application Workspace
                • Adding the ADF libraries
                • Create the master page
            • Summary
            • Chapter 6 Debugging ADF Applications
              • ADF logging
                • Creating a logger
                • Adding log statements
                • Business logging
                • JDeveloper shortcuts
                • Reading the logs
              • Logging in GlassFish
                • Controlling domain logging
                • Controlling individual loggers
              • Debugging in JDeveloper
                • Debugging code
                • Understanding the ADF lifecycle
                • Debugging task flows
                • Debugging into ADF libraries
                  • Creating a source directory
                  • Creating a source JAR file
                  • Including the source in the master application
                  • Placing a breakpoint in an ADF library
                • Debugging into the ADF source code
              • Summary
              • Chapter 7: Securing an ADF Essentials Application
                • Apache Shiro basics
                  • Getting the software
                  • Installing the packages in your application
                  • Configuring your application for Shiro
                • Advanced Shiro
                  • User database
                  • Form-based authentication
                    • The login page
                    • The login bean
                    • The login method
                    • The user filter
                    • The Shiro configuration
                  • Accessing the user
                • Implementing authorization
                  • Can I see some ID, please?
                  • Are you a member, Sir?
                    • Disabling elements
                    • Removing elements
                  • Securing task flows
                • Summary
                • Chapter 8: Build and Deploy
                  • Creating a build script
                    • Creating the script
                    • Deploying a single application
                    • Building the master application
                      • Starting point
                      • Building the application EAR file
                      • Building all the subsystems
                      • Copying all ADF libraries
                      • Putting it all together
                  • Automated deployment to GlassFish
                    • Deploying from the command line
                    • Deploying from Ant
                  • Integrating other functionality in your build
                  • Preparing to go live
                    • Cleaning up your code
                      • Database connections
                      • Deployment platforms
                      • Print statements
                    • Tuning your ADF application
                  • Summary

                  Sten E. Vesterli

                  Sten E. Vesterli picked up Oracle development as his first job after graduating from the Technical University of Denmark and hasn't looked back since. He has worked with almost every development tool and server Oracle has produced in the last two decades, including Oracle ADF, JDeveloper, WebLogic, SQL Developer, Oracle Portal, BPEL, Collaboration Suite, Designer, Forms, Reports, and even Oracle Power Objects.

                  He started sharing his knowledge with a conference presentation in 1997 and has given more than 100 conference presentations at Oracle OpenWorld and at ODTUG, IOUG, UKOUG, DOAG, DOUG, and other user group conferences around the world since. His presentations are highly rated by the participants, and in 2010 he received the ODTUG Best Speaker award.

                  He has also written numerous articles, participated in podcasts, and written Oracle Web Applications 101,  Oracle ADF Enterprise Application Development – Made Simple, and  Developing Web Applications with Oracle ADF Essentials. You can find his blog at and follow him on Twitter as  @stenvesterli.

                  Oracle has recognized Sten's skills as an expert communicator on Oracle technology by awarding him the prestigious title, Oracle ACE Director, carried by less than 100 people in the world. He is also an Oracle Fusion User Experience Advocate and sits on the Oracle Usability Advisory Board and participates in the Oracle WebLogic Partner Council.

                  Based in Denmark, Sten is a partner in the Oracle consulting company Scott/Tiger, where he works as a senior principal consultant. When not writing books or presenting, he is helping customers choose the appropriate technology for their needs, teaching, mentoring, and leading development projects. In his spare time, Sten enjoys triathlon and completed his first Ironman in 2012.

                  Sorry, we don't have any reviews for this title yet.

                  Submit Errata

                  Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.


                  - 1 submitted: last submission 05 Jun 2014

                  Errata type: Graphics | Page number: 51

                  On a diagram there is a View object (lower right) that should be Entity object, as it is based on a DB table and has Association with other Entity object.

                  Sample chapters

                  You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

                  Frequently bought together

                  Developing Web Applications with Oracle ADF Essentials +    Mastering AngularJS Directives =
                  50% Off
                  the second eBook
                  Price for both: ₨462.00

                  Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                  What you will learn from this book

                  • Set up a complete, free development environment with MySQL, GlassFish, JDeveloper, and ADF Essentials
                  • Create business services based on database tables – without programming
                  • Visually design your application with ADF task flows
                  • Build application pages with advanced user interface components, automatically mapping them to business services
                  • Add business logic with regular Java programming, working with user interface elements and database data
                  • Divide your application into reusable ADF libraries for efficient development in larger teams
                  • Debug your application through all layers of the architecture
                  • Implement role-based security
                  • Set up automated build processes
                  • Package and deploy your application to test and production environments

                  In Detail

                  With ADF, Oracle gives you the chance to use the powerful tool used by Oracle’s own developers. Modern enterprise applications must be user-friendly, visually attractive, and fast performing. Oracle Fusion Applications are just that; but to get the desired output you need proven methods to use this powerful and flexible tool to achieve success in developing your enterprise applications.

                  "Developing Web Applications with Oracle ADF Essentials" explains all you need to know in order to build good-looking, user-friendly applications on a completely free technology stack. It explains the highly productive, declarative development approach that will literally have your application running within a few hours, as well as how to use Java to add business logic.

                  "Developing Web Applications with Oracle ADF Essentials" tells you how to develop and deploy web application applications based on the highly productive and free Oracle ADF Essentials framework. You will first learn how to build business services on top of database tables, and then how to easily build a web application using these services. You will see how to visually design the flow through your application with ADF task flows, and how to use Java programming to implement business logic. Using this book, you can start building and deploying advanced web applications on a robust, free platform quickly.

                  Towards the end, you will be ready to build real-world ADF Essentials applications and will be able to consider yourself an ADF Essentials journeyman.


                  "Developing Web Applications with Oracle ADF Essentials" covers the basics of Oracle ADF and then works through more complex topics such as debugging and logging features and JAAS Security in JDeveloper as the reader gains more skills. This book will follow a tutorial approach, using a practical example, with the content and tasks getting harder throughout.

                  Who this book is for

                  "Developing Web Applications with Oracle ADF Essentials" is for you if you want to build modern, user-friendly web applications for all kinds of data gathering, analysis, and presentations. You do not need to know any advanced HTML or JavaScript programming. Business logic can be implemented by adding Java code at well-defined hook points, so you do not need do know advanced object-oriented programming—regular Java programming skills are enough.

                  Code Download and Errata
                  Packt Anytime, Anywhere
                  Register Books
                  Print Upgrades
                  eBook Downloads
                  Video Support
                  Contact Us
                  Awards Voting Nominations Previous Winners
                  Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                  Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software