ADF Simple Questions

Managed Vs Backing Bean


This question is almost asked in every jsff interview but yet there is quite confusion between two, I am putting down the difference between two

1. Managed bean will always be initiated and registered by adfc-config.xml.

2. Managed bean may have bindings for a number of components scattered though the project while Backing Bean must have the bindings only for a single page.

3. Scope of the backing bean will always request, while managed bean can be some of the different scopes.

4. Backing bean can be generated and self updated by option expose binding while creating a page. Jdev itself will add the binding of each component when you add it on page.

5. Backing bean most of the time overhead to the project as unnecessarily every binding is exposed.


Logs in jdev (Integrated Weblogic)

In jdev if debugger is on then a lots of logs are generated by jdev. Now sometimes if user want to go throw the logs or want to parse the logs then we can use inbuilt feature of the jdev to generate the logs at the user defined location.

You can do it by Tools --> Preference --> Environments --> Logs

Now check the checkbox of the "Save Logs to File". Now choose the directory where you wants logs to be generated. It can be any directory which is accessible from the machine where jdev is installed.

Comments

Popular posts from this blog

Executing a method bindings In Bean method.

Using Java Decompiler(JD) with Oracle Jdeveloper (Jdev)

Current Logged in User and Roles in ADF and Fusion Apps