Building business components dynamically
The ADF Business Component framework allows you to programmatically define entity objects and view objects at runtime. This feature is useful when you need to deal with a highly dynamic business model where the same web UI may need to query or update different data sources depending upon the current user profile or other settings.
Building dynamic entity objects and view objects
ADF entity objects and view objects expose APIs for building definitions at runtime. Let us learn these APIs through an example.
In this example, we are programmatically building an entity object and a view object on the fly. As mentioned earlier, you may go for such implementations when you need to build highly dynamic pages whose display content and the underlying data source changes dynamically.
Tip
Note that we are not discussing how to build a dynamic UI in this chapter. The techniques for building a dynamic model and UI are discussed in the Appendix A section of this book...