Posts

Showing posts from December, 2012

Wishing you a Merry Christmas and Happy New Year !!!

Image
New Year is the time to unfold new horizons and realize new dreams, to rediscover the strength and faith within you, to rejoice in simple pleasures and gear up for a new challenges. Wishing you a merry Christmas and a truly fulfilling new year 2013 !!!

Lifecycle of an ADF Fusion web page with regions

While talking to ADF application developers, I received many questions on life cycle of a page with region displaying a task flow, and also on transaction management. In this post I'm sharing the Appendix of my book Oracle ADF Real World Developer’s Guide , which may answer many of your questions on this area. This chapter is absolutely free for you. You just need to click on the link given below to grab this resource :)  Download   To download the complete Chapter, click here   

Using MethodPermission for securing business service methods

In this post, I'm sharing some tips on using MethodPermission  for securing business service methods. In fact this post is an excerpt from  Chapter 14 Securing Fusion Web Applications from my book Oracle ADF Real World Developer’s Guide . This chapter is absolutely free for you. You just need to click on the link given below to grab this resource :)  Download  To download the complete Chapter, click here Securing business service methods Preventing unauthorized access to business services is very critical for any enterprise application. ADF security offers method permission definitions for the purpose of addressing such scenarios. Method permissions check if a user has the right to execute a method defined in the application. ADF security allows you to secure access to methods defined in the application through the oracle.adf.share.security.authorization.MethodPermission class. To define method permissions in an application, perf...

Programmatically Generated ComboboxLOV (without using ADF Model)

Image
While working with different teams, noticed that there are teams(not many) who want to use af:inputComboboxListOfValues without using ADF model. If you have such use cases, then this post is for you. This post contains a sample for programmatically populated af:inputComboboxListOfValues component, without using ADF model. In fact the core pieces used in this example are copied from ADF Faces demo source. This sample is useful if you use ADF Faces without ADF model(binding layer) and still want to implement ComboboxLOV. The following diagram( Also see similar discussion in Oracle® Fusion Middleware Web User Interface Developer's Guide ) illustrates ListOfValuesModelthe model class used by the LOV component. In this diagram, you can also see it's association with the QueryModel and TableModel classes, which are used by the LOV UI component. Take a look at the ListOfValuesModelImpl.java in the attached sample to get a feel of the implementation. This class creates LOV fo...

How does ADF binding interact with EJB components?

Image
If you are very curious to learn the architecture of EJB Data Control (a deep dive in to the implementation, not just high level blocks) and really want to learn how ADF bindings interacts with EJB components, then this post is for you. In this post, I'm sharing Chapter 13 Building Business Services with EJB   from my book Oracle ADF Real World Developer’s Guide . This is absolutely free. You just need to click on the link given below to grab this resource :)  A sneak peek at the architectural diagram of ADF binding for EJB: The details of the components listed in the above block diagram are available in this chapter. You can also find a sequence diagram illustrating how each components are getting engaged when UI access data from EJB through ADF binding. Following topics are discussed in detail: The architecture of a Fusion web application, using EJB as a business service  Oracle ADF binding architecture for EJB  How does ADF Model data bin...

Do you know what is a Composite View Object?

Oracle ADF Business Component stack offers something known as composite view object.Did you know that? The composite view objects help you to combine hierarchical results from two or more master detail view objects linked through a view link into a single composite view with flattened query retrieving the same result set. For example, consider the Department and Employee hierarchies built using the Department and Employee view objects, linked through a view link. You can build a composite view object at runtime by combining these two view objects as shown in the following code snippet. This feature is explained in the Appendix of the book Oracle ADF Real World Developer’s Guide. You are free to download the Appendix from packtpub site. Yes, its absolutely free !!! //In application module implementation class public void createCompositeDeptEmpVO() { ViewDefImpl compVODef = (ViewDefImpl)createCompositeViewDef("DeptEmpDetail", "DeptEmpDetail"); ...

Win a free copy of the 'Oracle ADF Real World Developer’s Guide'

A great opportunity for you to win free copy of  'Oracle ADF Real World Developer’s Guide'. Please visit following blog post from Dimitrios Stasinopoulos for more details :  http://dstas.blogspot.co.uk/2012/11/win-free-copy-of-oracle-adf-real-world.html