Communities
|
Social Applications
Networks
Support
|
|
C-Level Executives
Other Roles
|
|
Support
Education
Partner
Other Tasks
|
Middleware
Application Server
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<head>
<title>Installing the Oracle JDeveloper 10g Portal Extension</title>
<meta>
<style>A:link {
COLOR: #663300; FONT-FAMILY: Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #ffffff
}
A:active {
COLOR: #ff6600; FONT-FAMILY: Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #ffffff
}
A:visited {
COLOR: #996633; FONT-FAMILY: Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #ffffff
}
A.navigation:link {
FONT-SIZE: 65%; COLOR: #996633; FONT-FAMILY: Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #ffffff
}
A.navigation:active {
FONT-SIZE: 65%; COLOR: #996633; FONT-FAMILY: Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #ffffff
}
A.navigation:visited {
FONT-SIZE: 65%; COLOR: #996633; FONT-FAMILY: Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #ffffff
}
BODY {
FONT-SIZE: 11pt; COLOR: #000000; FONT-FAMILY: Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #ffffff
}
P {
FONT-SIZE: 11pt; COLOR: #000000; FONT-FAMILY: Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #ffffff
}
LI {
FONT-SIZE: 11pt; COLOR: #000000; FONT-FAMILY: Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #ffffff
}
UL {
FONT-SIZE: 11pt; COLOR: #000000; FONT-FAMILY: Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #ffffff
}
OL {
FONT-SIZE: 11pt; COLOR: #000000; FONT-FAMILY: Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #ffffff
}
H1 {
BORDER-RIGHT: #cccc99 0px solid; BORDER-TOP: #cccc99 0px solid; FONT-SIZE: 170%; BORDER-LEFT: #cccc99 0px solid; WIDTH: 100%; COLOR: #336699; BORDER-BOTTOM: #cccc99 2px solid; FONT-FAMILY: Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #ffffff
}
H2 {
BORDER-RIGHT: #cccc99 0px solid; BORDER-TOP: #cccc99 0px solid; FONT-SIZE: 130%; BORDER-LEFT: #cccc99 0px solid; WIDTH: 100%; COLOR: #336699; BORDER-BOTTOM: #cccc99 2px solid; FONT-FAMILY: Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #ffffff
}
H3 {
FONT-SIZE: 110%; WIDTH: 100%; COLOR: #336699; FONT-FAMILY: Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #ffffff
}
H4 {
FONT-WEIGHT: bold; FONT-SIZE: 11pt; WIDTH: 100%; COLOR: #000000; FONT-FAMILY: Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #ffffff
}
.CODE {
COLOR: #336699; FONT-FAMILY: "Courier New", "Courier", "monospace"
}
CODE.nocolor {
FONT-FAMILY: "Courier New", "Courier", "monospace"
}
P.indent {
TEXT-INDENT: 9%
}
TABLE.borders {
BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none
}
TR {
VERTICAL-ALIGN: top; TEXT-ALIGN: left
}
TH {
FONT-WEIGHT: bold; FONT-SIZE: 11pt; COLOR: #000000; FONT-FAMILY: Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #ffffff
}
TD {
FONT-SIZE: 11pt; COLOR: #000000; FONT-FAMILY: Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #ffffff
}
.mediumtext {
FONT-SIZE: 80%
}
.smalltext {
FONT-SIZE: 75%
}
.tinytext {
FONT-SIZE: 70%
}
P.RelatedTopics {
DISPLAY: block; FONT-WEIGHT: bold; FONT-SIZE: 125%; FONT-FAMILY: Arial, Helvetica, Geneva, sans-serif; BACKGROUND-COLOR: #ffffcc
}
P.note {
DISPLAY: block; FONT-SIZE: 95%; FONT-FAMILY: Arial, Helvetica, Geneva, sans-serif
}
P.warning {
DISPLAY: block; FONT-SIZE: 95%; FONT-FAMILY: Arial, Helvetica, Geneva, sans-serif
}
PRE {
FONT-SIZE: 95%; FONT-FAMILY: "Courier New", Courier, mono
}
UL {
LIST-STYLE-POSITION: outside
}
OL {
LIST-STYLE-POSITION: outside
}
.GUITag {
FONT-WEIGHT: bold; FONT-SIZE: 95%; FONT-STYLE: normal; FONT-FAMILY: Arial, Helvetica, Geneva, sans-serif
}
.PropertyName {
FONT-STYLE: normal; FONT-FAMILY: "Courier New", Courier, mono
}
.GlossaryItem {
COLOR: #008080; FONT-FAMILY: Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #ffffff
}
P.RelatedTopics:unknown {
content: "Related Topics"
}
P.note:unknown {
content: "Note"
}
P.warning:unknown {
content: "Warning"
}
PRE.Code {
FONT-SIZE: 80%; FONT-FAMILY: Courier New
}
.Keyword {
FONT-SIZE: 80%; FONT-FAMILY: Courier New
}
</style>
<meta>
</head>
<body>
<h1>
OracleAS
Portal Developer Kit (PDK)
Installing
the Oracle
JDeveloper 10
g
Portal Extension
</h1>
<table>
<tbody>
<tr>
<td>
Last
Update:</td>
<td>February 1, 2005</td>
</tr>
<tr>
<td>
Status:</td>
<td>Production</td>
</tr>
<tr>
<td>
Version:</td>
<td>Oracle
JDeveloper 10
g
Portal
Extension
Release 9.0.5.1</td>
</tr>
</tbody>
</table>
<h2>Introduction</h2>
The
OracleAS Portal Developer Kit (PDK) is a
powerful environment to create portlets, the reusable, pluggable Web
components that display portions of Web content. Now, you can use the
PDK to quickly and easily build portlets based on portlet
standards. These portlets can be deployed into any portlet
container supporting the
Java
Portlet Specification 1.0, such
as the OracleAS
Java Portlet Container which automatically enables your portlets to
interoperate with other WSRP-enabled portals.
As part of
this release, we provide you with the
necessary libraries to install the Java Portlet Wizard into Oracle
JDeveloper 10
g
(see
Installation, below).
The Oracle
JDeveloper 10
g
Portal Extensions have the
goal to reduce the amount of work for wrapping your business logic so
you can concentrate on implementing the necessary functionality. Using
the Java Portlet Wizard dramatically increases the flexibility and
productivity when developing portlets.
<h3>Prerequisites
</h3>
<ol>
<li>
You have downloaded and
installed, or have access to, one of the following versions of Oracle
JDeveloper 10
g:
9.0.5.1,
9.0.5.2, or 10.1.2. The location
of your Oracle
JDeveloper 10
g
installation will be
referred to as
<
jdev home>
.
</li>
<li>You have downloaded and
installed a
Java
Portlet Specification 1.0
compatible container such as the OracleAS
Java
Portlet Container and PDK (available from
Portal Center).</li>
</ol>
<h3>Assumptions</h3>
<ol>
<li>
You are familiar
with portlet terminology such as portlet show modes. For an
overview of portlets, review the
Understanding
Portlets chapter of the
Portal
Developer's Guide.
</li>
<li>
You are already
familiar with J2EE development using an Integrated Development
Environment (IDE) such as Oracle JDeveloper 10
g.
</li>
</ol>
<h2>Installation</h2>
This version of the Oracle
JDeveloper 10
g
Extension includes two
wizards for portlet building: Java Portlet and Oracle PDK
Java
Portlet. The Java Portlet wizard allows you will build
portlets
based on the
Java
Portlet Specification 1.0.
The Oracle PDK Java Portlet wizard
allows you to build portlet based on the Oracle PDK APIs.
<ol>
<li>At a command prompt, ensure
that the J2SE SDK 1.4 binaries are
available in your system path. To do this, type "
java
-version". You should see
something like:
<blockquote>java
version "1.4.2_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_02-b03)
Java HotSpot(TM) Client VM (build 1.4.2_02-b03, mixed mode)</blockquote>
If not, alter your PATH
environment variable so that it includes
the 'bin' directory of your J2SE SDK 1.4.1 install (you may want to set
up a script or shortcut to do this). After doing this, repeat the
previous step to ensure the J2SE SDK 1.4 binaries are now available in
your system path.
<ul>
<li>
In
Windows Command Prompt:
set
PATH=D:\j2sdk1.4.2_02\bin;%PATH%</li>
<li>
In
UNIX/Linux Bourne Shell (sh):
export
PATH=/usr/lib/java/bin:$PATH
</li>
</ul>
</li>
<li>If Oracle JDeveloper 10
g
is currently running, shut it down.
</li>
<li>Run the auto-installer,
passing as the only argument the location
of your Oracle JDeveloper 10
g
installation, with the following command:
<blockquote>java
-jar portal-addin-install.jar
<jdev home>
</blockquote>
</li>
<li>You should see output
similar to the following
<div>
Backing up
"/opt/jdev/10g/jdev/lib/ext/portal-addin.jar"
Backing
up
"/opt/jdev/
10g
/jdev/lib/ext/ptlshare.jar"
Backing
up
"/opt/jdev/
10g
/jdev/lib/ext/pdkjava.jar"
Backing
up
"/opt/jdev/
10g
/jdev/lib/ext/jazn.jar"
Backing
up
"/opt/jdev/
10g
/jdev/lib/ext/jazncore.jar"
Backing
up
"/opt/jdev/
10g
/jdev/lib/ext/wsrp-container.jar"
Backing
up
"/opt/jdev/
10g
/jdev/lib/patches/jaxb-api.jar"
Backing
up
"/opt/jdev/
10g
/jdev/lib/patches/jaxb-impl.jar"
Backing
up
"/opt/jdev/
10g
/jdev/lib/patches/jaxb-libs.jar"
Backing
up
"/opt/jdev/
10g
/jdev/lib/patches/namespace.jar"
Backing
up
"/opt/jdev/
10g
/jdev/lib/patches/relaxngDatatype.jar"
Backing
up
"/opt/jdev/
10g
/jdev/lib/patches/xsdlib.jar"
Installing
"/opt/jdev/
10g
/jdev/lib/ext/portal-addin.jar"
Installing
"/opt/jdev/
10g
/jdev/lib/ext/wsrp-container.jar"
Installing
"/opt/jdev/
10g
/jdev/lib/ext/oracle-portlet-tags.jar"
Installing
"/opt/jdev/
10g
/jdev/lib/ext/ptlshare.jar"
Installing
"/opt/jdev/
10g
/jdev/lib/ext/pdkjava.jar"
Installing
"/opt/jdev/
10g
/jdev/lib/ext/jazn.jar"
Installing
"/opt/jdev/
10g
/jdev/lib/ext/jazncore.jar"
Installing
"/opt/jdev/
10g
/jdev/lib/patches/jaxb-api.jar"
Installing
"/opt/jdev/
10g
/jdev/lib/patches/jaxb-libs.jar"
Installing
"/opt/jdev/
10g
/jdev/lib/patches/jaxb-impl.jar"
Installing
"/opt/jdev/
10g
/jdev/lib/patches/namespace.jar"
Installing
"/opt/jdev/
10g
/jdev/lib/patches/relaxngDatatype.jar"
Installing
"/opt/jdev/
10g
/jdev/lib/patches/xsdlib.jar"
Install
successful. You may now start JDeveloper.
</div>
Note:
the auto installer
will back up previous extension files to a zip file in the
<jdev
home> root
directory. If you did not have a
previous version installed, you will not see the "Backing up ..."
messages.
</li>
<li>Start Oracle JDeveloper 10
g.
</li>
</ol>
<h2>Start Using the Oracle
JDeveloper 10
g
Portal Extension</h2>
<ol>
<li>
Start
Oracle JDeveloper 10
g
</li>
<li>
Ensure
you are in a
Workspace/Project context (if necessary, create a new temporary
workspace and project).
</li>
<li>
Right-click
on your project and
select "New".
</li>
<li>
In
the New Object Gallery, expand
the "Web Tier" node on the left-hand side.
</li>
<li>
Select
the "Portlets" node.
</li>
<li>Ensure two items are visible
and selectable: Java Portlet
and Oracle PDK Java Portlet. Select Java Portlet and click OK.</li>
</ol>
<h2>Begin Building Portlets</h2>
To begin building standards
based Java Portlets, refer to
Building Portlets Using the Java Portlet Wizard within Oracle
JDeveloper. You can find this
article in the
Portlet
Development
section of the
Java
area at
portalcenter.oracle.com.
<hr>
<table>
<tbody>
<tr>
<td>
Oracle Corporation
World Headquarters
500 Oracle Parkway
Redwood Shores, CA 94065, USA
http://www.oracle.com/
</td>
<td>
Worldwide Inquiries:
1-800-ORACLE1
Fax 650.506.7200
</td>
<td>
Copyright
and Corporate Info
</td>
</tr>
</tbody>
</table>
<xmp></xmp>
</body>
