Listen "Summarize the J2EE Development – MVC using Oracle Application Development Framework (ADF)"
Episode Synopsis
1- View: JSP
You can create a business service data model from existing Web Service in a public UDDI by creating a pointer to the WSDL. Using the Generate Web Service Stub/Skeleton option, classes are automatically generated based on the WSDL. Next, you can create a Struts page flow diagram that gets the parameter, then an action to invoke the Web Service and another JSP page to show the results. You can edit the code with the Property Inspector or in the Source view. Lastly, run the completed application on the embedded J2EE container.
2- Model: ADF Business Components
Business Services can be created with Oracle ADF Business Components. The necessary steps are: Modeling Business Components, adding validation rules, adding formatting rules, and testing. You can use the Create Database Connection Wizard to create the connectivity to the database. Then you must create an application workspace, use UML modeler to define the Business Service layer and can use existing tables to complete the Business Components.
3- Model: TopLink
Create a new java class for the application. Create a new Java Class diagram, and drag-and-drop Database tables to the new diagram. JDeveloper will allow you to create different elements from the table. In the diagram, the table relationships are created as well. JDeveloper creates the .java class files for all tables and adds them to the application model. You can open the TopLink Mappings editor to review what was created by JDeveloper. In the Structure window, you will see the descriptors for each Java class.
4- Model: Enterprise JavaBeans Development
Developers can build business services with EJBs using Oracle JDeveloper 10g. EJB Modeler enables modeling session, entity, and message driven beans. Developers can model session beans, add properties and business methods that are sync’d with source files.
The application template used is Web Application [JSP, Struts, EJB]. EJB application template creates an application with two projects; Model and ViewController. Create an EJB diagram, drag-and-drop the tables, then create a session bean, and name it. Adding a reference between EJBs automatically synchronizes the deployment descriptor by generating the appropriate tags along with the lookup code in the bean class.
5- Model: Web Services
Using Web Services as ADF Data Controls
It is easy to create a Data Control from a web service and use it in a Struts controlled JSP application. You can create a Data Control for this web service using its context menu. The Data Control is displayed in the Palette and can be used in the Struts Page Flow in which to build the application page. A JSP page can be created, then a Data page that is tied to an action. You can use the Property Inspector to add properties to text fields. The Structure Pane to view how the mapping has been handled. Again, testing is immediately executed by using the embedded OC4J.
More episodes of the podcast Yves'podcast
Summarize the XML Development
08/06/2007
Marketing Plan
27/05/2006
Summarize the UML Modeling and Generation
05/05/2006
Summarize the Oracle JDeveloper Introduction
05/05/2006
Summarize the complete J2EE Applications
29/04/2006
ZARZA We are Zarza, the prestigious firm behind major projects in information technology.