EPISODE · May 6, 2006 · 7 MIN
Oracle JDeveloper Introduction - Oracle ADF Quick Tour
from Mandy's Podcast · host Mandy
This demo is about the Oracle Application Development Framework. Oracle JDeveloper 10G comes with a complete J2EE Framework which is Oracle ADF. Now we’re going to see how Oracle ADF provides Productivity with Choice when developing a J2EE application. In the applications Navigator, right click Applications and select New Application Workspace. Change the Application Name to HRApp. Next view the drop down list for the Application Template. Application templates allow us to specify the technology used in the application to simplify and personalize the environment according to your technology preferences. Make sure that Web Application [default] is selected. Next click manage templates. Under Web Application [default] select View and Controller. Now you’ll see that each template specifies the selected technologies for each project in the application to personalize the IDE accordingly and simplify the development environment. Now select Data Model on the left under Web Application [default]. In the Available Technologies, ensure that ADF JClient is selected, then click OK. Click OK again in the Create Application Workspace. Now right click on Model in the application navigator and then select New. When creating a new object, the choice is restricted to the selected technology but all other options are still accessible. If you change the Filter By option to Project Technologies, you’ll only see the technologies specified for the project. Select the Business Component category and the Business Components diagram item and click OK. Now you’ll see a dialog box to enter the name for the Business Component Diagram. Just use the default name and click OK. Open the Connections navigator. Expand the database folder and then expand the HR8 connection. Now we’ll use the ctrl button and select the Departments and Employees tables. Move the cursor to the Business components Diagram and click anywhere. A box opens which asks you what you want to create based on the selected table definitions. You can see it’s filtered by Project Technologies. If we change that to all technologies, we have more options which to filter by. Drag and drop of Database table onto a UML diagram can be used to create different types of objects with the same user experience. Make sure Business Component Entity Objects is selected and click OK. The entity objects are now being created. Once it’s finished creating the objects, you’ll see them in the Business Components Diagram. Right click on the Employees object then select Generate, then Default Data Model Components. Data model components are business components that collect data and present it to the client. When the wizard opens, just click next selecting all the defaults and then select Finish. Now in the applications navigator select the Applications tab. You’ll see the Business Components here. The Business Services Layer is “productivity with choice”. You get productivity because of uml modeling, drag and drop of tables which allows you to easily create components, and wizards that help create the Business services layer. There is a choice because it gives you a consistent user experience for developing things like javabeans, web services, and database objects. Let’s now develop a web interface for this Business Service. Under ViewController, Web Content, and WEB INE, you’ll see struts-config.xml. This is a page flow editor which allows you to visually and declaratively define the flow of the application. Right click struts-config.xml and select open. Out of the component palatte, select the data page component, the click in the editor. You’ll see the a new page is added. Drill down directly to the page from the page flow editor. Double click the page and change the name to /datapage1.uix and select OK. The View Layer in oracle JDeveloper 10g offers What you see is what you get editors to visually and declaratively design the user interfase. You can choose between the following views: HTML, jsp, adf uix, swing/adf jclient. Now in the Data Control Palette, select the Data Controls tab. Expand the AppModuleDataControl item. All business services previously created are exposed in the data control palette. They are available in a consistent way, making data binding as simple as drag and drop on the visual editor. Expand the departmentsview1 and then select the EmployeesView2. View the Drag and Drop as drop down box. Select Master Detail (one to many) option. Now drag EmployeesView2 and drop it into the editor. You’ll now see the EmployeesView fields displayed in the editor as a master detail report. Select the Master Section, then in the bottom right hand corner, you’ll see where you can change the name of this section on the page. Change the name from master to departments. Next select the detail section of the page. Change the name of that section to employees. Now go back to the struts-config.xml page flow diagram and select Data Page from the component palette. Click in the editor and another page is added. Click on the page and make sure the name is /datapage2.uix and click ok. Now change the ‘drag and drop as’ drop down to Input Form. Drag the EmployeesView2 object to the editor and drop it. You’ll see the fields added as an input form. Again go back to the struts-config.xml page flow diagram. Select page Link from the component palette. Click /datapage1 and then click /datapage2 so that the arrowhead is pointing to /datapage2. Right click /datapage1 and select Run. The embedded oracle container for J2EE allows you to run, tune, and debug the application from the IDE. The page opens. You can view the fields and click Next to scroll through the records. If you select a record and click datapage2.do, you’ll go to the input page. Now click File close. Now in the Applications Navigator select the Connections tab. Expand the Application Server under Connections. The application is now ready for deployment to the application server because we have all of our necessary files. So Oracle ADF increases productivity because it is Visual and Declarative. It uses what you see is what you get editors, a page flow editor, and uml diagrams. It is personalized for your choices. You can set the technology scope and personalize the extension manager. It also gives you a choice of technologies and platforms. That’s the end of our Oracle ADF Quick Tour. For more information, visit the oracle technology network at otn.oracle.com. There you’ll find additional online demos, technical whitepapers, code samples, product downloads and much more.
What this episode covers
This demo is about the Oracle Application Development Framework. Oracle JDeveloper 10G comes with a complete J2EE Framework which is Oracle ADF. Now we’re going to see how Oracle ADF provides Productivity with Choice when developing a J2EE application. In the applications Navigator, right click Applications and select New Application Workspace. Change the Application Name to HRApp. Next view the drop down list for the Application Template. Application templates allow us to specify the technology used in the application to simplify and personalize the environment according to your technology preferences. Make sure that Web Application [default] is selected. Next click manage templates. Under Web Application [default] select View and Controller. Now you’ll see that each template specifies the selected technologies for each project in the application to personalize the IDE accordingly and simplify the development environment. Now select Data Model on the left under Web Application [default]. In the Available Technologies, ensure that ADF JClient is selected, then click OK. Click OK again in the Create Application Workspace. Now right click on Model in the application navigator and then select New. When creating a new object, the choice is restricted to the selected technology but all other options are still accessible. If you change the Filter By option to Project Technologies, you’ll only see the technologies specified for the project. Select the Business Component category and the Business Components diagram item and click OK. Now you’ll see a dialog box to enter the name for the Business Component Diagram. Just use the default name and click OK. Open the Connections navigator. Expand the database folder and then expand the HR8 connection. Now we’ll use the ctrl button and select the Departments and Employees tables. Move the cursor to the Business components Diagram and click anywhere. A box opens which asks you what you want to create based on the selected table definitions. You can see it’s filtered by Project Technologies. If we change that to all technologies, we have more options which to filter by. Drag and drop of Database table onto a UML diagram can be used to create different types of objects with the same user experience. Make sure Business Component Entity Objects is selected and click OK. The entity objects are now being created. Once it’s finished creating the objects, you’ll see them in the Business Components Diagram. Right click on the Employees object then select Generate, then Default Data Model Components. Data model components are business components that collect data and present it to the client. When the wizard opens, just click next selecting all the defaults and then select Finish. Now in the applications navigator select the Applications tab. You’ll see the Business Components here. The Business Services Layer is “productivity with choice”. You get productivity because of uml modeling, drag and drop of tables which allows you to easily create components, and wizards that help create the Business services layer. There is a choice because it gives you a consistent user experience for developing things like javabeans, web services, and database objects. Let’s now develop a web interface for this Business Service. Under ViewController, Web Content, and WEB INE, you’ll see struts-config.xml. This is a page flow editor which allows you to visually and declaratively define the flow of the application. Right click struts-config.xml and select open. Out of the component palatte, select the data page component, the click in the editor. You’ll see the a new page is added. Drill down directly to the page from the page flow editor. Double click the page and change the name to /datapage1.uix and select OK. The View Layer in oracle JDeveloper 10g offers What you see is what you get editors to visually and declaratively desi(continued)
NOW PLAYING
Oracle JDeveloper Introduction - Oracle ADF Quick Tour
No transcript for this episode yet
Similar Episodes
Mar 26, 2026 ·1m
Jan 2, 2026 ·47m
Dec 21, 2025 ·46m