Background
Within JDeveloper, you can create applications based on templates that specify a particular combination of technologies with which you want to proceed. The template that you choose when you create a new application workspace will determine:
When you begin your development task with an application template, you can get started more quickly. For example, when you want to create a web application for the Struts controller, Web Application (Default) template selection will create the workspace, several project folders, and add the Struts library to the appropriate project folder.
Note: When you want to begin any type of application, but do not wish to specify a technology scope, the No Template (All Technologies) choice is available.
When you want to create a web application, you can choose among these available templates, any of which may benefit from the design patterns implemented by the Oracle ADF framework for data binding:
If you want to.... | Then choose this web application template... |
---|---|
Create a Struts-based databound web application that uses Oracle ADF Business Components for the business services and either Oracle ADF UIX pages or standard JSP pages for the presentation layer. |
Web Application (Default) |
Create a databound JSP application (without the Struts controller) that uses Oracle ADF Business Components for the business services. |
Web Application (Default - no controller) |
Create a Struts-based databound JSP application that uses EJB components for the business services. |
Web Application (JSP, Struts, EJB) |
Create a databound JSP application (without the Struts controller) that uses EJB components for the business services. |
Web Application (JSP, EJB) |
When you want to begin a Java application, you can choose among these templates:
If you want to.... | Then choose this Java application template... |
---|---|
Create a databound Swing client application that uses Oracle ADF Business Components for the business services and and Oracle ADF JClient with ADF data binding for Swing components. |
Java Application (Default) |
Create a Java application that uses J2EE technologies, including Swing, JavaBeans, and Java. In contrast to the previous choice, this template does not benefit from the ADF data binding. |
Java Application (Java, Swing) |
When you want to use web services in either a Web or Java application, you can edit the application template before creating it to add the web services technology scope to the list of available technology scopes for that template.
Tasks
You can perform these tasks when you want to work with application templates in JDeveloper.
To quickly generate an application workspace:
Use the Create Application Workspace dialog to select the desired template for your application. In the case of Oracle ADF applications:
To create or edit an application template:
For other guidelines that may help you to start your application in JDeveloper:
For further information on technology scopes and Oracle ADF:
For details about how to manage application templates:
Copyright © 1997, 2004, Oracle. All rights reserved.