Book Image

Oracle ADF Enterprise Application Development Made Simple: Second Edition

By : Sten E Vesterli
Book Image

Oracle ADF Enterprise Application Development Made Simple: Second Edition

By: Sten E Vesterli

Overview of this book

Table of Contents (20 chapters)
Oracle ADF Enterprise Application Development – Made Simple Second Edition
Credits
About the Author
Acknowledgment
About the Reviewers
www.PacktPub.com
Preface
Index

Preparing for deployment


Preparing your application for deployment involves cleaning up the code and setting the application parameters for production use.

Cleaning up your code

Just as the tailor shouldn't leave pins in your finished jacket, you should not leave development artifacts in your installation package. Some things that might accidentally slip into the deployment package include the following:

  • Test users and groups

  • Print statements

  • Commented-out code

  • Debug settings in web.xml

Use JDeveloper's automatic reformatting functionality to reformat all of the XML and Java files. For readability and maintainability, all code should have a uniform format. If you are not happy with the default formatting, you can change it by navigating to Tools | Preferences | Code Editor | Code Style.

Test users and groups

You might remember from Chapter 10, Securing Your ADF Application, that we created test users and groups in order to test our security settings. A WebLogic server running in the development...