Book Image

Oracle ADF Enterprise Application Development - Made Simple

By : Sten E. Vesterli
Book Image

Oracle ADF Enterprise Application Development - Made Simple

By: Sten E. Vesterli

Overview of this book

<p>With Application Development Framework (ADF), Oracle gives you the tool its own developers use. Modern enterprise applications must be user-friendly, visually attractive, and fast performing and 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.</p> <p>Just as you need to know more than how to wield a hammer to build a house, you need more than knowing ADF to build a successful enterprise application. This book explains how to use the technology, create a blueprint, and organize your work to ensure success.</p> <p>This book takes you through an entire enterprise application development project using ADF. The book begins with a proof of concept, demonstrating the basics of the ADF technology, and then moves on to estimating the effort. You will then learn the necessary skills required to structure your project, your code, and how to build a successful enterprise project with ADF.</p> <p>Additional topics allow you to explore the support tools required for source control and issue tracking, learn to integrate them into your development environment, and use them productively to develop an enterprise application. Out-of-the-box functionalities such as skinning, customization, and internationalization are discussed at length.</p>
Table of Contents (20 chapters)
Oracle ADF Enterprise Application Development—Made Simple
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
Index

Automatic internationalization


JDeveloper is built for enterprise applications, so it automatically prepares your application for localization. Let's take the XDM Common Model as an example:

Now watch what happens when we go into the Task entity object and define a Control Hints for an attribute:

Because the PersId is something that might be shown to the application end user—for example as a prompt for a drop-down list—JDeveloper does not just hardwire the literal string into the application. Instead, JDeveloper automatically creates a Resource Bundle for you. You can see this new file in the Application Navigator:

Notice the new file CommonModelBundle.properties. If you open this file, you'll see something like this:

JDeveloper has automatically:

  • Extracted the value you defined as the label control hint for the attribute

  • Created a Resource Bundle file

  • Placed the text you entered into the Resource Bundle and assigned a key to it

  • Inserted a reference to the resource key into the entity object

If you click the Source tab for the entity object, you can see that the ResId attribute for the label points to com.dmcsol.xdm.model.entity.Task.PersId_LABEL—the key that JDeveloper automatically created in the resource bundle: