1 project overview, Project overview – Sun Microsystems 5.1.1 User Manual

Page 105

Advertising
background image

Chapter 7

Section 7.4

Implementing the HTTPS eWay JCD Sample Projects

Building and Deploying the prjHTTPServer_JCD Sample Project

HTTPS eWay Adapter User’s Guide

105

Sun Microsystems, Inc.

ƒ

Creating a Project

on page 107

ƒ

Creating the OTD

on page 108

ƒ

Creating the Collaboration Definition (Java)

on page 108

ƒ

Creating a Connectivity Map

on page 108

ƒ

Creating an Environment

on page 110

ƒ

Configuring the eWays

on page 110

ƒ

Creating and Activating the Deployment Profile

on page 111

ƒ

Creating and Starting the Domain

on page 111

ƒ

Building and Deploying the Project

on page 111

ƒ

Running the Sample

on page 111

7.4.1

Project Overview

Before you can run the Project, you must first copy the following .html input form file
into any directory:

ƒ

postJCEHTTPS

The content of postJCEHTTPS.html is:

<HTML><HEAD><TITLE>HTTPS Test Page</TITLE></HEAD>
<BODY>
<FORM ACTION="http://localhost:18001/

Deployment1_servlet_HttpServerSample/
HttpServerSample" METHOD=POST>

<TABLE>
<TR><TD>First Name:</TD><TD><INPUT NAME=fname></TD></TR>
<TR><TD>Last Name:</TD><TD><INPUT NAME=lname></TD></TR>
<TR><TD>EMail:</TD><TD><INPUT NAME=email></TD></TR>
<TR><TD>Sex:</TD><TD><INPUT type="radio" name="sex"

value="Male">Male</TD></TR>

<TR><TD></TD><TD><INPUT type="radio" name="sex"

value="Female">Female</TD></TR>

<TR><TD></TD><TD></TD></TR>
</TABLE>
<BR>
<CENTER><INPUT TYPE=submit VALUE="Submit"></CENTER>
</FORM>
</BODY>
</HTML>

You must make a change in the HTML code shown previously. In the code where it
shows:

<FORM ACTION="http://localhost:18001/

Deployment1_servlet_HttpServerSample/
HttpServerSample" METHOD=POST>

You must make changes based on your own Environment. The logic for the ACTION
parameter is:

http://<IS Server Name>:<IS port>/<Deployment_name>_servlet_
<servlet_url from properties>/<servlet_url from properties>

Advertising