JEUS Getting Started Guide 

JEUS 8

Restricted Rights Legend

All TmaxSoft Software (JEUS®) and documents are protected by copyright laws and international convention. TmaxSoft software and documents are made available under the terms of the TmaxSoft License Agreement and this document may only be distributed or copied in accordance with the terms of this agreement. No part of this document may be transmitted, copied, deployed, or reproduced in any form or by any means, electronic, mechanical, or optical, without the prior written consent of TmaxSoft Co., Ltd. Nothing in this software document and agreement constitutes a transfer of intellectual property rights regardless of whether or not such rights are registered) or any rights to TmaxSoft trademarks, logos, or any other brand features.

This document is for information purposes only. The company assumes no direct or indirect responsibilities for the contents of this document, and does not guarantee that the information contained in this document satisfies certain legal or commercial conditions. The information contained in this document is subject to change without prior notice due to product upgrades or updates. The company assumes no liability for any errors in this document.

Trademarks

JEUS® is registered trademark of TmaxSoft Co., Ltd.

Java and Solaris are registered trademarks of Oracle Corporation and its subsidiaries and affiliates.

Microsoft, Windows, and Windows NT are registered trademarks or trademarks of Microsoft Corporation.

HP-UX is a registered trademark of Hewlett Packard Enterprise Company.

AIX is a registered trademark of International Business Machines Corporation.

UNIX is a registered trademark of X/Open Company, Ltd.

Linux is a registered trademark of Linus Torvalds.

Other products and company names are trademarks or registered trademarks of their respective owners.

The names of companies, systems, and products mentioned in this manual may not necessarily be indicated with a trademark symbol (TM, ®).

Open Source Software Notice

Some modules or files of this product are subject to the terms of the following licenses. : APACHE2.0, CDDL1.0, EDL1.0, OPEN SYMPHONY SOFTWARE1.1, TRILEAD-SSH2, Bouncy Castle, BSD, MIT, SIL OPEN FONT1.1

Detailed Information related to the license can be found in the following directory : ${INSTALL_PATH}/lib/licenses

Document Information

Title: JEUS Getting Started Guide 

Publication Date: 2018-01-31

Software Version: JEUS 8

Edition: v2.1.1


Table of Contents

About This Document
I. JEUS Introduction
1. Introduction
1.1. Overview
1.2. System Concepts and Roles
1.3. Architecture and Components
1.3.1. Client Layer
1.3.2. WAS Middleware Layer
1.3.3. Source Layer
1.4. Interoperable Modules
1.5. Editions
2. JEUS Environment
2.1. Management Tools
2.2. Directory Structure
2.3. Environment Variables
2.4. Environment Configuration Files
3. JEUS Manual Organization
3.1. Overview
3.2. Manual Organization
II. JEUS Installation
4. Installation Overview and Pre-Installation Tasks
4.1. Overview
4.2. System Requirements
4.3. Installation Order
4.4. Installing Java JDK
4.5. JEUS Licensing
5. Installing and Uninstalling JEUS on UNIX
5.1. Overview
5.2. Installing
5.2.1. Installing JEUS in GUI Mode
5.2.2. Installing JEUS in Console Mode
5.3. Verifying Installation
5.3.1. Directory Structure
5.3.2. Environment Configurations
5.3.3. Starting JEUS
5.4. Uninstallation
5.4.1. Uninstalling JEUS in GUI Mode
5.4.2. Uninstalling JEUS in Console Mode
5.5. Verifying Uninstallation
6. Installing and Uninstalling JEUS on Windows
6.1. Overview
6.2. Installing JEUS
6.3. Verifying Installation
6.3.1. Directory Structure
6.3.2. Environment Configurations
6.3.3. Starting JEUS
6.4. Registering and Removing Services
6.4.1. Registering a Service
6.4.2. Verifying Service Registration
6.4.3. Removing a Service
6.5. Uninstallation
6.6. Verifying Uninstallation
III. Starting JEUS
7. Introduction
8. Configuring a JEUS System
8.1. Overview
8.2. Configuring Basic Environment Variables
8.3. Adding and Configuring Managed Servers
8.4. Adding Data Sources
8.5. Starting and Stopping Servers in WebAdmin
9. Using Web Tier
9.1. Example
9.2. Compilation
9.3. Deployment
9.4. Execution Result
10. Using EJBs
10.1. Session Bean Example
10.1.1. Sample Code
10.1.2. Compilation
10.1.3. Deployment
10.1.4. Execution Result
10.2. Java Persistence API Example
10.2.1. Sample File
10.2.2. Compilation
10.2.3. Deployment
10.2.4. Execution Result
11. Using Web Services
11.1. Creating Web Services
11.1.1. Creating a Web Service in Java
11.1.2. Creating a Web Service From WSDL
11.2. Building Web Service Clients
11.2.1. Developing a Java SE Client
A. Installing JDK
A.1. Sun Solaris
A.2. IBM AIX
A.3. HP-UX
A.4. Linux
B. Configuring IPv6
B.1. Introduction
B.2. Configuring IPv6 Environment
C. Windows Service Configuration

List of Figures

[Figure 1.1] JEUS Concept and Component Layers
[Figure 1.2] JEUS Web Application Architecture
[Figure 2.1] Directory Structure After Installing JEUS
[Figure 3.1] JEUS Manual Organization
[Figure 4.1] JEUS Installation Order
[Figure 5.1] Installing JEUS in GUI Mode - Initial Screen of the Installer
[Figure 5.2] Installing JEUS in GUI Mode - Introduction
[Figure 5.3] Installing JEUS in GUI Mode - License Agreement
[Figure 5.4] Installing JEUS in GUI Mode - Choose Platform
[Figure 5.5] Installing JEUS in GUI Mode - Installation Folder
[Figure 5.6] Installing JEUS in GUI Mode - Installation Type
[Figure 5.7] Installing JEUS in GUI Mode - Installation Mode
[Figure 5.8] Installing JEUS in GUI Mode - Choose JAVA Folder
[Figure 5.9] Installing JEUS in GUI Mode - Enter Password
[Figure 5.10] Installing JEUS in GUI Mode - Domain Name
[Figure 5.11] Installing JEUS in GUI Mode - Node Manager Configuration
[Figure 5.12] Installing JEUS in GUI Mode - Pre-Installation Summary
[Figure 5.13] Installing JEUS in GUI Mode - Install JEUS
[Figure 5.14] Installing JEUS in GUI Mode - Installation Complete
[Figure 5.15] Directory Structure After Installing JEUS
[Figure 5.16] WebAdmin Login Screen
[Figure 5.17] Main WebAdmin Page
[Figure 5.18] WebAdmin Servers
[Figure 5.19] Uninstalling JEUS in GUI Mode - Uninstall JEUS
[Figure 5.20] Uninstalling JEUS in GUI Mode - Uninstalling
[Figure 5.21] Uninstalling JEUS in GUI Mode - Uninstallation Complete
[Figure 6.1] Installing JEUS on Windows - Initial Screen
[Figure 6.2] Installing JEUS on Windows - Introduction
[Figure 6.3] Installing JEUS on Windows - License Agreement
[Figure 6.4] Installing JEUS on Windows - Choose Kernel Bit
[Figure 6.5] Installing JEUS on Windows - Installation Folder
[Figure 6.6] Installing JEUS on Windows - Installation Type
[Figure 6.7] Installing JEUS on Windows -Installation Mode
[Figure 6.8] Installing JEUS on Windows - JDK Path
[Figure 6.9] Registering as a Windows Service
[Figure 6.10] Installing JEUS on Windows - Choose Password
[Figure 6.11] Installing JEUS on Windows - Domain Name
[Figure 6.12] Installing JEUS on Windows - Pre-Installation Summary
[Figure 6.13] Installing JEUS on Windows - Installing JEUS
[Figure 6.14] Installing JEUS on Windows - Installation Complete
[Figure 6.15] Directory Structure After Installing JEUS
[Figure 6.16] WebAdmin Login Screen
[Figure 6.17] WebAdmin Main Screen
[Figure 6.18] Uninstalling JEUS on Windows - Uninstall JEUS
[Figure 6.19] Uninstalling JEUS on Windows - Windows Service Deletion
[Figure 6.20] Uninstalling JEUS on Windows - Uninstall JEUS
[Figure 6.21] Uninstalling JEUS on Windows - Uninstallation Complete
[Figure 8.1] Login Page
[Figure 8.2] Main Page
[Figure 8.3] Adding Managed Servers - Servers
[Figure 8.4] Adding Managed Servers - Basic Information
[Figure 8.5] Adding Managed Servers - Results
[Figure 8.6] Adding Managed Servers - Selecting a Listener
[Figure 8.7] Adding Managed Servers - Changing Listener Properties
[Figure 8.8] Adding HTTP Listeners - Adding Listeners
[Figure 8.9] Setting HTTP Listener Properties - Basic Information
[Figure 8.10] Configuring HTTP Listeners - Adding Web Connections
[Figure 8.11] Configuring HTTP Listeners - Configuring Web Connection Properties
[Figure 8.12] Configuring WebtoB Connectors - Adding Web Connections
[Figure 8.13] Configuring WebtoB Connectors - Basic Web Connection Settings
[Figure 8.14] Adding DataSources - JDBC Data Sources
[Figure 8.15] Adding DataSources - Basic Information
[Figure 8.16] Adding DataSources - DataSource List
[Figure 8.17] Adding DataSources - Selecting DataSources
[Figure 8.18] Managing MSs in JEUS WebAdmin
[Figure 9.1] List of Applications Installed on DAS
[Figure 9.2] Selecting a Deployment Target
[Figure 9.3] Installation Successful Message
[Figure 9.4] Deployment Successful Message
[Figure 9.5] Executing a JSP
[Figure 9.6] Executing a WAR Module (Servlet)
[Figure 10.1] Applications Installed on DAS
[Figure 10.2] Selecting a Target Application
[Figure 10.3] List of Installed Applications
[Figure 10.4] Deployment Successful Message
[Figure 10.5] HelloEJB Client Page
[Figure 10.6] HelloEJB Servlet Execution Result
[Figure 10.7] List of Applications Installed on DAS
[Figure 10.8] Select an Installation Target
[Figure 10.9] List of Installed Applications
[Figure 10.10] HelloJPA Deployment Options
[Figure 10.11] HelloJPA Deployment Successful Message
[Figure 10.12] HelloJPA Client Page
[Figure 10.13] HelloJPA Servlet Execution Result
[Figure 11.1] AddNumbers Successfully Deployed
[Figure 11.2] Successful Deployment of a Web Service Created from WSDL

List of Examples

[Example 9.1] <<HelloWorldServlet.java>>
[Example 9.2] <<snoop.jsp>>
[Example 9.3] <<snoop-jstl.jsp>>
[Example 10.1] <<Hello.java>>
[Example 10.2] <<HelloBean.java>>
[Example 10.3] <<HelloClient.java>>
[Example 10.4] <<Product.java>>
[Example 10.5] <<ProductManager.java>>
[Example 10.6] <<ProductManagerBean.java>>
[Example 10.7] <<ProductManagerClient.java>>
[Example 11.1] <<AddNumbersImpl.java>>
[Example 11.2] <<AddNumbersImpl.java>>
[Example 11.3] <<AddNumbersClient.java>>
[Example B.1] hosts
[Example C.1] <<jeus.ini>>