Tuesday, 8 July 2014

Basics of Adf Task flow

Basics of Adf Task flow 
Task flow : Task flow supports modular approaches in adf applications, it is contain portion of navigation ,main propose is reusability
TF is of two types
·                     Typical application will have a bounded task flow and multiple unbounded task flows 
·                    Adfc-config.xml is an unbounded task flow created by default when we create a fusion web application 

1)      Bounded TF
a.      Bounded TF is having well statured boundary
b.      Reusability of TF
c.       Can take i/p parameter and return values
d.      Secured
e.      Single entry point multiple exit  point
2)      Unbounded TF
a.      Public pages
b.      No reuse
c.       It will not take i/p parameter and not return any  values
d.      Not much secured
e.      Multiple  entry point multiple exit  point

Task flow components
1)      View                          : display  only pages or fragments ,extension jsff.jspx,jsf   
2)      Method call              :allow to call application logic in TF
3)      Router                      :route any activity based on el expression ,no limits on destination
4)      Task flow call           : call another TF  from BTF and UBTF,
5)      URL                            :used to redirect application to addressable URL
6)      Save point restore  :allow to restore application to previous state
7)      Task flow return      :used end TF or send controller to back
8)      Parent action          : allow to trigger  navigation parent view activity in

9)      Wild cards *             :global navigation case  
















How to create simple task flow in ADF
1)      Right click of project new->jsf->adf task flow
a.      Give proper name for TF and it should be  is bounded TF
2)      Drag the Two view from component window  to the TF
3)      Drag the control view case and connect view1 and view 2   and give navigation  flow name GOTO and BACK
4)      Double click on view it will automatically create jsff  fragment and
5)      In view on add button from  component window  name as goto
6)      In view 2 add button from  component window  back
7)      If select button it will give property inspection window in that select action go for goto button and similar in view 2 also (back for back button)
8)      And create one jspx page and drag the taskflow for project window  to jspx page create as region
9)      At last save and run the jspx page .












Monday, 7 July 2014

How to create simple application (Display hello world)

1)Open J developer Goto file ->new -> fusion web application(adf)
2)Give the application name  ex-helloworldapp
Simple adf application  will create  two project  ie.
Model---------    à Give name  model  and give proper name for  package for model project
View controller à Give name  view controller and give proper name for  package for view controller project

3)project technologies will be default  no need to change any thing  

Note : after creation of application it  will give overview of project if want  you can also  use that steps to create simple project




Step 4)Right clk on view controller project ->new -> select  jsf ->jsf page
 Give name helloword.jspx and you can select layout also for appearance


Step 5) Go to component petal and in that  select  components  you want add into page
            Ex:  1) output text     into helloword.jspx page  
                   2) drag calendar  into helloword.jspx page  


Step 6 )Click on  save  and right click on helloword.jspx page   and click run 


Sunday, 6 July 2014

J Developer Global Naming preference

Introduction about J Developer

Step 1) Start J Developer
Step 2) Global Naming preference
Entity -àEO
View àVO
Application Module-à AM
Tool->Preference ->Business Components ->Object Naming

And Set the above naming convention  and press Ok