Components of Your Application

This section outlines some of the high-level components you create as you build your business process application and how they appear in the deployed application based on the names that you choose for these components. Note the following components:

Application—The components of the application you are creating are represented in a hierarchical tree structure on the Application pane in your WebLogic Workshop environment. If the Application pane is not visible in WebLogic Workshop, choose View —> Application from the menu bar. An example Application pane is shown in the following figure:

image

J2EE applications and their components are deployed on the WebLogic Server as Enterprise Application Archive (EAR) files. The name you specify for the application becomes the name of the EAR file that you use to deploy your application.

Projects—Projects contained in your application represent WebLogic Server Web applications. That is, when you create a project, you are creating a Web application. The name of your project will be included in the URL your clients use to access your application. For example, the preceding figure represents an application named tutorial_process_application. It contains a project named tutorial_process_applicationWeb, which in turn contains a business process named RequestQuote.jpd. Clients can access your business process via the following URL:

http://host:port/tutorial_process_applicationWeb/requestquote/RequestQuote.jpd 

In the preceding URL, host and port represent the name of your host server and the listening port.

Note: When you create a Process Application, a Web application (process project folder) is created in the application, by default. The default process project folder (and therefore, the Web application) is named using the name you specified for your application with the word Web appended to it (that is, process_application_nameWeb). If you create additional process projects (Web applications) in your Process Application, you can specify any name you want for them; the additional process projects will not include the Web suffix.

Schemas—To make the XML Schemas, MFL files, and Channel files in your application available in your business process, you must place them in a Schemas folder. When you create your process application or project using a template, the Schemas folders are created as child folders of your business process application folder, as shown in the preceding figure. When you add XML Schemas and MFL files to the Schemas folder in your business process project, they are compiled to generate XML Beans. In this way, WebLogic Workshop generates a set of interfaces that represent aspects of your XML Schemas. XML Bean types correspond to types in the XML Schema itself. XML Beans provides Java counterparts for all built-in Schema types, and generates Java counterparts for any derived types in your Schema.

To learn more, see Importing Schemas.

Previous Document Next Document