We c
Wednesday, January 14, 2009
Saturday, December 27, 2008
ADF Framework
Oracle ADF is a super framework for rapid J2EE application development. The JDeveloper IDE is well integrated with ADF and with JDeveloper you can create a proper J2EE web in about 5 minutes. The main advantage with ADF is developer can concentrate more on Application Logic or Business Logic they are developing. It has implemented all popular j2ee patterns including MVC. ADF applications can run on any J2EE-compliant application server and with different databases like DB2 , SQL Server and so on. Oracle ADF implements best practices to help developers design and build secure, high-performance J2EE applications and Web services for the enterprise.
Oracle ADF supports following technologies at various layers:
Model : EJBs , Wer Services , TopLink , Javabeans , POJO , ADF Business components , Portlets , Essbase , CSV and XML files .
Controller : JSF , ADF Task Flows , Struts.
View : ADF Swing , JSP , JSF , ADF Faces.
ADF Architecture :
Top-Level Overview on ADF
Model Part : Entities (EO's)
An ADF Entity object represents a business entity. This usually translates to a row of data in a table, and each Entity attribute represents a column in that table. In ADF, an Entity handles other tasks, such as business validation and format masking. In most cases, the model is the most logical place to address these concerns because it will enable maximum reuse. Validations, predicated by business requirements, are likely to be relevant no matter how the model is used. For example, verifying that an employee is always assigned to one and only one department will not change if the application were converted from a Web application to a Swing application. ADF will propagate these validations and formats to the controller and view, alleviating the need for you to address these issues elsewhere.
Views
An ADF View object exposes an Entity object to users of the application. An Entity may be accessed in numerous places, but the context in which it is used will vary. Filtering, sorting, and object relationships can be established by a view object, ensuring that the model is represented in a way that makes the most sense.
Application Module
The ADF Application Module bundles together View components, while providing access to your business services layer, which might use technologies such as EJB to manage your database. The Application Module provides ADF Views with transaction support, and other important data-centric services.
View and Controller
Nothing in your model should dictate a particular view technology. An Application Module can serve as the foundation for a Swing or Struts Web application. If developing a thick client application, Swing components might communicate directly with the application module. When developing a Web-based application, your application will use a clearly defined controller to manage model-view interaction.
Controller
In previous releases, ADF provided its own controller. That controller has since been replaced in favor of Struts. Struts uses an XML file, called struts-config.xml, to handle application requests and dispatch them to designated request handlers. Experienced Struts developers will appreciate the ability to leverage this existing knowledge.
View
JDeveloper makes it easy to visually design pages using JSP and JSTL. ADF also provides its own view framework, called UIX, that offers a set of HTML widgets for generating quick and consistent-looking view pages. You will be using UIX in this demonstration. UIX components will become the foundation for Oracle's JSF (JavaServer Faces) standard implementation in future releases.
An ADF View object exposes an Entity object to users of the application. An Entity may be accessed in numerous places, but the context in which it is used will vary. Filtering, sorting, and object relationships can be established by a view object, ensuring that the model is represented in a way that makes the most sense.
Application Module
The ADF Application Module bundles together View components, while providing access to your business services layer, which might use technologies such as EJB to manage your database. The Application Module provides ADF Views with transaction support, and other important data-centric services.
View and Controller
Nothing in your model should dictate a particular view technology. An Application Module can serve as the foundation for a Swing or Struts Web application. If developing a thick client application, Swing components might communicate directly with the application module. When developing a Web-based application, your application will use a clearly defined controller to manage model-view interaction.
Controller
In previous releases, ADF provided its own controller. That controller has since been replaced in favor of Struts. Struts uses an XML file, called struts-config.xml, to handle application requests and dispatch them to designated request handlers. Experienced Struts developers will appreciate the ability to leverage this existing knowledge.
View
JDeveloper makes it easy to visually design pages using JSP and JSTL. ADF also provides its own view framework, called UIX, that offers a set of HTML widgets for generating quick and consistent-looking view pages. You will be using UIX in this demonstration. UIX components will become the foundation for Oracle's JSF (JavaServer Faces) standard implementation in future releases.
Subscribe to:
Posts (Atom)