Monday, 3 June 2013

Creating an ADF Workspace



Creating and ADF Workspace:-

  • Go to File -> New -> select Applications (Under general category) -> Fusion Web Application ADF -> Click OK
 
  • Give your application a name. Here my application name is “MyFirstADFApplication”. 
  • The 2nd field Directory: defines where your application will be created. In my case, it will create the application workspace in my “C:\JDeveloper\mywork\MyFirstADFApplication” Directory. 
  • Leave the application package prefix as blank, this will be discussed latter and click on next. 
  • Basically when we create an ADF Application, JDeveloper creates two projects i.e. Model & View Controller. 
  • The Project 1 is the Model project and Project 2 is the View Controller project. 
  • Both Model and View Controller Project are created under the same work space i.e. MyFirstADFApplication in our case. 
  • Keep the fields as it is and click on Next.
  • The project features tell us what features are available for our project. Anyway, we can add other features to our project later.
  • Here it will allow you to create the package structure that will be treated as default in our application.
  • The java source path tells us where the java source files (.java files) will be created for our project.
  • The output directory tells us where the compiled java files (.class files) will be created for our project.
  • Keep the fields as it is and click on Next. 

  • Here we are going to create the View Controller project. 
  • The project features are same as described earlier for the model layer project. So we don’t need to do any changed here, just click on Next.

  •   Just click on the Finish button to finish creating Workspace.
  • Wait a second, Jdeveloper is creating the workspace and its related files for your FirstADFWebapplication. 
  • Hurray Jdeveloper has created the application structure and its related file for your first ADF Web Application. 


No comments:

Post a Comment