Skip navigation.

WebLogic Platform ISV Partners' Guide

  Previous Next vertical dots separating previous/next from contents/index/pdf Contents Index View as PDF   Get Adobe Reader

Developing Applications

This chapter provides links to documentation that explains how to build, test, and deploy WebLogic Platform applications. This chapter also describes:

The following topics are included:

 


Before You Develop

Before you begin developing applications with WebLogic Platform ISV Edition or any other WebLogic Platform product you have purchased from BEA, note the following:

 


Applications You Can Develop on WebLogic Platform

WebLogic Platform provides the infrastructure you need for creating, testing, and deploying the following types of applications:

Table 2-1 provides links to the documentation that explains how to create each type of application.

Table 2-1 Where to Find Information About Building WebLogic Applications 

Application

Documentation

Web services

For information about creating Web services, see the following documents:

  • Building Web Services in the WebLogic Workshop Help—Explains how to build Web services using WebLogic Workshop

Web applications

See Developing Web Applications in the WebLogic Workshop Help.

Enterprise JavaBeans

See Developing Enterprise JavaBeans in the WebLogic Workshop Help.

Portal applications1

For more information about creating portal applications, see the following topics in the WebLogic Workshop Help:

Enterprise integration applications2

For more information about creating enterprise integration applications, see the following documents in the WebLogic Workshop Help:

See also the following WebLogic Integration documents:

WebLogic Server applications using the J2EE programming model


1. Not all WebLogic Portal product features are available in WebLogic Platform ISV Edition. For a complete list of features that are available, see WebLogic Platform Components Included in ISV Edition.


2. Not all WebLogic Integration applications can be built using WebLogic Platform ISV Edition. For a complete list of applications you can create, see WebLogic Platform Components Included in ISV Edition.


 

 


Using WebLogic Platform ISV Edition

The following topics describe WebLogic Platform ISV Edition, and provide important information regarding installation, licenses, and application development:

Product Description

WebLogic Platform ISV Edition includes the following components of WebLogic Platform:

Note: As mentioned in Before You Develop, make sure your application does not use components not included with ISV Edition. If the ISV redistribution license you generate is for WebLogic Platform ISV Edition only, your customers will not be licensed to use WebLogic Platform components that are unavailable in ISV Edition. Table 2-2 identifies the specific components and features in WebLogic Platform that are not available in ISV Edition. For more information about the ISV redistribution license, see Using an ISV Redistribution License.

WebLogic Platform Components Included in ISV Edition

Table 2-2 identifies the WebLogic Platform components included with WebLogic Platform ISV Edition, as well as features in WebLogic Integration and WebLogic Portal that are not included.

Table 2-2 Summary of Features in WebLogic Platform ISV Edition 

WebLogic Platform Component

Features Included in ISV Edition

Features Not Included in ISV Edition

WebLogic Server

All

Not applicable

WebLogic Workshop

All

Not applicable

WebLogic JRockit

All

Not applicable

WebLogic Portal

  • Portal user interface framework—Full single file mode run-time support for rendering portal applications to end users, including the support for desktops, shells, books, pages, layout, portlets, skins and skeletons.

  • Development tools—Support for creating the preceding in the WebLogic Workshop IDE, and includes samples and JSP tags.

  • Streaming mode support for rendering portal applications

  • Administration framework

  • Content management

  • Personalization

  • Interaction management

  • Behavior tracking

  • Commerce functionality

  • Collaboration

  • Search

WebLogic Integration

All features of WebLogic Server Process Edition, including:

  • Stateless processes

  • Stateful processes

  • Data transformations

  • Integration controls:

- File control
- E-mail control
- WLI JMS control
- Service Broker control
- HTTP control
- MQSeries Control

See "Introduction to WebLogic Server Process Edition" in the WebLogic Server Process Edition Overview at the following URL for a complete list:
http://download.oracle.com/docs/cd/E13214_01/wli/docs81/peoverview/introduction.html

The following WebLogic Integration features:

  • Message Broker, including:

- Publish control
- Subscribe control

  • B2B-specific components:

- ebXML control
- RosettaNet control
- TPM control
- TPM lookup function GUI

  • Worklist-specific components:

- Task control
- TaskManager control

  • Application Integration-specific components, including the Application View control


 

Installing WebLogic Platform ISV Edition

When you receive the WebLogic Platform ISV Edition software, either from CD or the download center, you can follow the instructions provided in Installing WebLogic Platform at the following URL:

http://download.oracle.com/docs/cd/E13196_01/platform/docs81/install/index.html

Caution: If you are installing ISV Edition for the first time, we recommend installing it into a new BEA Home directory separate from the home directory for other BEA software products you might have.

If the home directory into which you plan to install ISV Edition already contains other BEA products, back up the BEA_HOME\license.bea file that exists in that directory. (If you plan to install the software bundle into a different directory, you do not need to back up that existing license.bea file.) For more information about the BEA Home directory and the license.bea file, see "Selecting Directories for the WebLogic Platform Installation" in Preparing to Install WebLogic Platform in Installing WebLogic Platform.

WebLogic Platform ISV Edition Licenses

When you enroll in the Partner Program, you receive software and a set of licenses that enable you to build and test the full set of WebLogic Platform applications. These licenses do not limit you to the usage of only those components supported in WebLogic Platform ISV Edition, and there is no specific ISV Edition license that you need to install to develop and run applications for use with ISV Edition.

However, when you sign a BEA standard Channel License Agreement (CLA) to distribute a value-added solution with WebLogic Platform ISV Edition, you obtain the rights to create and distribute licenses that enable the run-time usage of the components supported in ISV Edition. It is only via the ISV redistribution license that usage is restricted to only those supported components.

Therefore, it is very important that when you create applications for use with WebLogic Platform ISV Edition that you verify that only the components supported in ISV Edition are used at run-time. For information about how to perform this verification, see Using an ISV Redistribution License.

Building Portal Applications for Use with ISV Edition

This section explains how to configure a domain in which you can build and run WebLogic Platform ISV Edition applications that use WebLogic Portal's portal framework. The following topics are included:

File-Based Portals vs. Streaming Portals

WebLogic Portal provides two deployment options for portals:

A file-based portal is a scaled down version of a streaming portal. Unlike a streaming portal, a file-based portal does not deploy any EJBs and does not use a database to store configuration information. Because a file-based portal does not engage a database, it does not support the customization features of a streaming portal, such as the Administration Portal and Visitor Tools.

Note: Only file-based portals are supported in WebLogic Platform ISV Edition.

When you view a file-based portal in a browser, the portal is rendered in single file mode. In single file mode, the portal is rendered from files on the file system, rather than from a database. The file-based portal's XML file, .portal, is parsed and the rendered portal is returned to the browser. Typically, file-based portals are used for development purposes and for static portals that cannot be customized.

File-based portals support all of the functionality offered by the Portal User Interface Framework. This framework provides components for creating and managing the look and feel of a portal and for rendering those components in a browser. For example, the framework supports features such as desktops, shells, books, pages, layouts, skins, skeletons, and portlets. Because a file-based portal uses this framework, developers with an ISV Edition license can use WebLogic Workshop to rapidly develop and render portal interfaces.

Typically, WebLogic Portal administrators and users customize full-featured "streaming" portals using the Administration Portal, Visitor Tools, or the portal framework's customization API. These methods of customization are not available for file-based portals. For example, after a file-based portal is developed using WebLogic Workshop, an administrator cannot use the Administration Portal to add pages or books, or rearrange the layout of the portal. A file-based portal's configuration is fixed and can only be changed by directly editing portal files or by using WebLogic Workshop directly.

The following table compares the features that are supported in full-featured portals with those supported in file-based portals. As noted earlier, only file-based portals are supported in WebLogic Platform ISV Edition.

Table 2-3 Feature Comparison Between Streaming and File-Based Portals 

Feature

Supported in Streaming Portals

Supported in File-Based Portals

Supports Portal User Interface Framework (desktops, shells, books, pages, layouts, skins, skeletons, portlets)

yes

yes

Web Services for Remote Portlets (WSRP) support

yes

yes

Interportlet communication

yes

yes

Customization

yes

no

Interaction management

yes

no

Behavior tracking

yes

no

Commerce features

yes

no

Collaboration

yes

no

Searching

yes

no

Content Management

yes

no

Personalization

yes

no


 

For more information about the Portal User Interface Framework, including details about file-based and streamed rendering, see the following documents:

Creating and Configuring Your Portal Development Environment

This section explains how to configure your development environment to build file-based portals using WebLogic Workshop.

  1. Make sure you have the Portal Examples installed on your machine. The Portal Examples include several JAR and JSP files that need to be copied into the domain you create for your portal development environment. For more information about installing the Portal Examples, see Installing WebLogic Platform at the following URL:
  2. http://download.oracle.com/docs/cd/E13196_01/platform/docs81/install/index.html

  3. Start WebLogic Workshop.
  4. Start the Configuration Wizard by choosing Tools—> WebLogic Server—> Configuration Wizard, and create a domain that includes the resources required for building a file-based portal.
  5. In the Select a Configuration Template window of the Configuration Wizard, choose one of the following templates:

    For information about using the Configuration Wizard to create a new domain, see "Creating a New WebLogic Domain" in Creating WebLogic Configurations Using the Configuration Wizard at the following URL:

    http://download.oracle.com/docs/cd/E13196_01/platform/docs81/confgwiz/newdom.html

  6. Restart the Configuration Wizard, and extend the domain to include the WebLogic Portal Extension.
  7. In the Select a Configuration Extension Template window of the Configuration Wizard, choose WebLogic Portal Extension.

    For information about using the Configuration Wizard to extend a domain via extension templates, see "Extending Domains" in Creating WebLogic Configurations Using the Configuration Wizard at the following URL:

    http://download.oracle.com/docs/cd/E13196_01/platform/docs81/confgwiz/exten.html

  8. In WebLogic Workshop, create a Workshop application that uses the domain by completing the following steps.
    1. In the Workshop main window, choose File—> New—> Application...
    2. This displays the New Application dialog box.

    3. Select All in the upper left list box, and Default Application in the upper right list box.
    4. In the Directory field, click Browse to locate the directory that will contain your Workshop application.
    5. In the Name field, enter a name for the Workshop application you are creating.
    6. In the Server field, click Browse to locate the directory of the domain you created in step 3. In the Select a WebLogic Server config.xml File window, click the config.xml file from that directory, and click Open.
    7. In the New Application dialog box, click Create.
  9. In the Workshop main window, select Tools—> WebLogic Server—> Server Properties...
  10. This displays the Application Properties dialog box.

  11. In the Application Properties dialog box, make sure WebLogic Server is highlighted in the column on the left, and that the Server Home Directory field in the upper right displays the directory of the domain you created in step 3.
  12. Scroll down in the Application Properties dialog box to display the list boxes titled Default server classpath and Server classpath additions.
  13. Make sure the following JAR files are in the server classpath, where BEA_HOME represents the BEA Home directory on your machine; for example, C:\bea.
  14. BEA_HOME/weblogic81/p13n/lib/p13n_system.jar
    BEA_HOME/weblogic81/portal/lib/netuix/system/netuix_system.jar
    BEA_HOME/weblogic81/common/lib/log4j.jar
    BEA_HOME/weblogic81/server/lib/knex.jar
    BEA_HOME/weblogic81/javelin/lib/javelin.jar
    BEA_HOME/weblogic81/server/lib/wlw-lang.jar
    BEA_HOME/weblogic81/server/lib/debugging.jar
    BEA_HOME/weblogic81/server/lib/weblogic.jar
    BEA_HOME/weblogic81/server/lib/xbean.jar

    To add a JAR file to the server classpath, click Add Jar..., and select the required file.

  15. Using either a command window or Windows Explorer, copy the following JAR files to the <portalApp>/APP-INF/lib directory, where <portalApp> represents the path of the Workshop application you created in step 5. For example, C:\bea\user_projects\applications\ISVportalApp.
  16. BEA_HOME/weblogic81/samples/portal/portalApp/APP-INF/lib/dom4j-full.jar
    BEA_HOME/weblogic81/samples/portal/portalApp/APP-INF/lib/netuix_util.jar
  17. Using either a command window or Windows Explorer, copy the following JAR files to the <portalAppWeb>/WEB-INF/lib directory, where <portalAppWeb> represents the path of the Web application you created; for example; C:\bea\user_projects\applications\ISVportalApp\ISVportalAppWeb.
  18. These JAR files are located in the BEA_HOME/weblogic81/samples/portal/portalApp/sampleportal/WEB-INF/lib/ directory.

    client_taglib.jar
    html_taglib.jar
    l10n_taglib.jar
    netuix_servlet.jar
    netuix_taglib.jar
    render_taglib.jar

  19. Using either a command window or Windows Explorer, copy the files from the directories listed in the left column of the following table into the corresponding locations in your domain listed in the right column. (You may need to first create empty framework, skins, skeleton, classic, default, and text directories in your domain.)
  20. In this table, <portalAppWeb> represents the path of the Web application you created; for example; C:\bea\user_projects\applications\ISVportalApp\ISVportalAppWeb.

    Copy all files from this directory . . .

    To this directory . . .

    BEA_HOME/weblogic81/samples/portal/
    portalApp/sampleportal/framework/skins/
    classic

    <portalAppWeb>/framework/skins/
    classic

    BEA_HOME/weblogic81/samples/portal/
    portalApp/sampleportal/framework/skins/
    default

    <portalAppWeb>/framework/skins/
    default

    BEA_HOME/weblogic81/samples/portal/
    portalApp/sampleportal/framework/skins/
    text

    <portalAppWeb>/framework/skins/
    text

    BEA_HOME/weblogic81/samples/portal/
    portalApp/sampleportal/framework/skeletons/
    classic

    <portalAppWeb>/framework/
    skeletons/classic

    BEA_HOME/weblogic81/samples/portal/
    portalApp/sampleportal/framework/skeletons/
    default

    <portalAppWeb>/framework/
    skeletons/default

    BEA_HOME/weblogic81/samples/portal/
    portalApp/sampleportal/framework/skeletons/
    text

    <portalAppWeb>/framework/
    skeletons/text


     

    Note: Do not copy the beatools or avitek directories into your domain.

  21. Copy the four configuration files listed below in Table 2-4 into your Web application directory as follows.
  22. Note: If you are viewing these instructions in a browser, you can easily obtain copies of these files by downloading them from the Web, as explained in the following steps, and saving them in your Web application directory. Otherwise, see Configuration Files Required for File-Based Portal Applications, for complete listings of the configuration files, in case you must create them from scratch.

    If you are viewing these instructions in a browser, complete the following steps:

    1. For each configuration file listed in the left column, click the corresponding file location link shown in the right column.
    2. In the popup window that is displayed, choose File—> Save As...
    3. Save the configuration file in the <portalAppWeb>/WEB-INF directory on your machine. The symbol <portalAppWeb> represents the path of your Web application's directory, which is subordinate to the main Workshop application directory; for example, C:\bea\user_projects\applications\ISVportalApp\ISVportalAppWeb.

    4.  

    If you are not viewing these instructions in a browser, you can obtain these configuration files from Configuration Files Required for File-Based Portal Applications.

Figure 2-1 shows the layout of an example domain directory structure into which the files and directories described in this section are copied. The files and directories that are copied are shown in bold. (Note that Figure 2-1 does not display the names of the files you copy into the classic, default, and text subdirectories.)

Figure 2-1 Sample Configuration Directory Structure

Sample Configuration Directory Structure


 

Testing Your Portal Development Environment

This section explains how to test the portal development environment by creating, deploying, and viewing a test portal.

  1. Create a new portal in WebLogic Workshop. To do this, right-click over the Web application name in the Application window. From the menu, select New—> Portal.
  2. Create a JSP/HTML portlet. To do this, right-click over the Web application name in the Application window. From the menu, select New—> Portlet. Follow the instructions displayed by the Portlet Wizard to create a JSP/HTML portlet.
  3. For information about using the Portlet Wizard to create a portlet, see "Creating Portlets" in the WebLogic Workshop Online Help at the following URL:

    http://download.oracle.com/docs/cd/E13226_01/workshop/docs81/doc/en/portal/buildportlets/navPortlet.html

  4. Select the portal name in the Application window, then drag the portlet from the Data Palette into the portal.
  5. Select Debug—> Start. This function starts WebLogic Server, deploys the application, and displays it in a browser window.

Note: To verify that your portal application uses only the portal framework components that are supported in ISV Edition, you need to create an ISV redistribution license and validate your application on a system that uses that ISV redistribution license. For more information, see Using an ISV Redistribution License.

Building Your Portals

After your environment is configured and working properly, you can build portal applications. Note that the features available for portal applications built with ISV Edition are listed in Table 2-3 in the column labeled "Supported in File-Based Portals."

For information about building portal applications, see the WebLogic Portal documentation set at the following URL:

http://download.oracle.com/docs/cd/E13218_01/wlp/docs81/index.html

For an introduction to portal development, see Getting Started With Portal Development at the following URL:

http://download.oracle.com/docs/cd/E13218_01/wlp/docs81/startdev/index.html

Administering Users of a File-Based Portal

A file-based portal application built with ISV Edition uses the WebLogic Security Service. The administration of users, groups, and roles for file-based portal applications, as with all WebLogic Server applications, can be performed using the WebLogic Server Administration Console.

For information about defining and administering users, groups, and roles, see the following topics:

For information about running and using the WebLogic Server Administration Console, see "Using the Administration Console" in the Administration Console Online Help at the following URL:

http://download.oracle.com/docs/cd/E13222_01/wls/docs81/ConsoleHelp/console.html

Note: The WebLogic Portal Administration Tools, Visitor Tools, and Portal Framework's customization API cannot be used to manage a file-based portal.

Deploying the Portal Application

After you develop a portal application using ISV Edition, you need to deliver the completed application to your customers. The distribution model for a file-based portal is the same as any other WebLogic Portal application.

Note: The JAR files, configuration files, and JSP files that are required for the file-based portal environment must be included with the application when you deliver it. These required files were listed previously in the section Creating and Configuring Your Portal Development Environment.

After receiving the completed application, your customers need to prepare the application and deploy it into a production environment. For information about preparing and deploying portal applications, you can refer customers to the Production Operations User Guide on the BEA e-docs Web site at the following URL:

http://download.oracle.com/docs/cd/E13218_01/wlp/docs81/prodOps/index.html

For information about distributing custom applications that are built with and run on ISV Edition, see Distributing WebLogic Platform.

Building Process Edition Applications for Use with ISV Edition

When developing WebLogic Server Process Edition applications in WebLogic Workshop, note that WebLogic Workshop provides a development mode setting that helps prevent you from adding features into your application that are not supported by run-time licenses for the following:

The licenses affected by this restriction include the test licenses that ISVs receive with ISV Edition, and also the ISV redistribution licenses for WebLogic Platform software that is redistributed. (For more information about the ISV redistribution license, see Using an ISV Redistribution License.)

This development mode, called WebLogic Server Process Edition development mode in the WebLogic Workshop IDE, disables items in menus, palettes, and other graphical tools that provide access to capabilities in WebLogic Integration that are not supported. This development mode was initially created specifically for WebLogic Server Process Edition, but it useful for ISV Edition applications as well that leverage WebLogic Integration capabilities.

After starting WebLogic Workshop, you can set this development mode by selecting WebLogic Integration --> WebLogic Server Process Edition from the Tools menu, as shown in the following figure.

WebLogic Server Process Edition development mode


 

Once you make this change, the new mode of operation is saved as an environment setting.

Caution: The WebLogic Workshop IDE does not have a similar development mode you can use to guide the development of portal applications for ISV Edition.

 


Using the Partner Software Bundle

As mentioned in ISV Resources, Services, and Tools, when you enroll in the BEA Partner Program, you receive an application development and deployment software bundle. The software bundle includes a collection, on CD-ROM, of all major BEA products. The bundle also includes a set of licenses that enable you to develop, deploy, and test WebLogic Platform and Tuxedo applications in the types of environments in which your customers will use them, including configurations that potentially require a great deal of scalability. The usage rights granted by the software bundle is especially useful for creating the demonstrations, prototypes, and proofs-of-concept appropriate for you business.

Software Bundle Contents

The software bundle includes the following:

For comprehensive information about the contents of the software bundle, enrolled partners can access the BEA Partner Program Guide at the following URL:

ftp://pdownload:BUY_ME@ftpna2.bea.com/pub/program/BEA_Partner_Program_Guide.pdf

Installing the Software Bundle

When you receive your software, install the software from the CDs. For installation instructions, see Installing WebLogic Platform.

Caution: If the home directory into which you plan to install the software bundle already contains other BEA products, back up the BEA_HOME\license.bea file that exists in that directory. (If you plan to install the software bundle into a different directory, you do not need to back up that existing license.bea file.) For more information about the BEA home directory and the license.bea file, see "Selecting Directories for the WebLogic Platform Installation" in Preparing to Install WebLogic Platform in Installing WebLogic Platform.

Downloading BEA Software

To start using BEA software immediately (instead of waiting for delivery of CDs), you can download it from the BEA Systems Download Center:

http://commerce.beasys.com

If you have an active WebSUPPORT account, use your WebSUPPORT login password for software downloads.

Software Products Not Included in the Software Bundle

Depending on your business, you might be interested in redistributing other BEA software that is not included in the software bundle. If you are interested in redistributing such software, contact your BEA account representative for more information.

 


Next Steps

After you have installed WebLogic Platform and built the WebLogic applications that you plan to distribute, complete the following tasks:

  1. Configure a domain in which your applications can run. See Configuring and Installing WebLogic Platform Applications.
  2. Create a template of the domain created in the previous step. See Configuring and Installing WebLogic Platform Applications.
  3. Distribute your files. See Distributing WebLogic Platform.

 

Skip navigation bar  Back to Top Previous Next