Java Thin-Client Programming for a Network Computing Environment



Similar documents
JAVA 2 Network Security

Architecture Design For Web-based Application Systems. Instructor: Dr. Jerry Gao Class: CMPE296U

Building Java Servlets with Oracle JDeveloper

Elements of Advanced Java Programming

COM 440 Distributed Systems Project List Summary

Applets, RMI, JDBC Exam Review

WebSphere Server Administration Course

FF/EDM Intro Industry Goals/ Purpose Related GISB Standards (Common Codes, IETF) Definitions d 4 d 13 Principles p 6 p 13 p 14 Standards s 16 s 25

INSIDE SERVLETS. Server-Side Programming for the Java Platform. An Imprint of Addison Wesley Longman, Inc.

Japan Communication India Skill Development Center

White paper. IBM WebSphere Application Server architecture

IT6503 WEB PROGRAMMING. Unit-I

IBM WebSphere Server Administration

Performance Comparison of Database Access over the Internet - Java Servlets vs CGI. T. Andrew Yang Ralph F. Grove

Detailed Table of Contents

Course Name: Course in JSP Course Code: P5

S y s t e m A r c h i t e c t u r e

This presentation covers virtual application shared services supplied with IBM Workload Deployer version 3.1.

Course Description. Course Audience. Course Outline. Course Page - Page 1 of 5

Socket = an interface connection between two (dissimilar) pipes. OS provides this API to connect applications to networks. home.comcast.

High Level Design Distributed Network Traffic Controller

How To Understand The Architecture Of An Ulteo Virtual Desktop Server Farm

Application Servers - BEA WebLogic. Installing the Application Server

Oracle WebLogic Foundation of Oracle Fusion Middleware. Lawrence Manickam Toyork Systems Inc

Exploiting the Web with Tivoli Storage Manager

Enterprise Java. Where, How, When (and When Not) to Apply Java in Client/Server Business Environments. Jeffrey Savit Sean Wilcox Bhuvana Jayaraman

A Java-based system support for distributed applications on the Internet

enterprise^ IBM WebSphere Application Server v7.0 Security "publishing Secure your WebSphere applications with Java EE and JAAS security standards

Java the UML Way: Integrating Object-Oriented Design and Programming

Basic Internet programming Formalities. Hands-on tools for internet programming

Client/server is a network architecture that divides functions into client and server

ERserver. iseries. Secure Sockets Layer (SSL)

Overview - Using ADAMS With a Firewall

Japan Communication India Skill Development Center

A Tool for Evaluation and Optimization of Web Application Performance

AS/400e. TCP/IP Services and Applications Webserver(HTTP)

Overview - Using ADAMS With a Firewall

What Is the Java TM 2 Platform, Enterprise Edition?

Japan Communication India Skill Development Center

Quick Start Guide. Installation and Setup

SOFT 437. Software Performance Analysis. Ch 5:Web Applications and Other Distributed Systems

Cognos8 Deployment Best Practices for Performance/Scalability. Barnaby Cole Practice Lead, Technical Services

A technical guide for monitoring Adobe LiveCycle ES deployments

Google Web Toolkit (GWT) Architectural Impact on Enterprise Web Application

Implementing Java Distributed Objects with JDBC

MCSE Windows 98 Study Guide

HOW TO CONFIGURE PASS-THRU PROXY FOR ORACLE APPLICATIONS

NetBeans IDE Field Guide

IBM VisualAge for Java,Version3.5. Remote Access to Tool API

Japan Communication India Skill Development Center

VisualAge Pacbase. for e-business Applications. Front cover. ibm.com/redbooks. An overview of VisualAge Pacbase V3

Sharp Remote Device Manager (SRDM) Server Software Setup Guide

Contents. Client-server and multi-tier architectures. The Java 2 Enterprise Edition (J2EE) platform

Out n About! for Outlook Electronic In/Out Status Board. Administrators Guide. Version 3.x

If your organization is not already

INTRODUCTION TO JAVA PROGRAMMING LANGUAGE

TransNav Management System Documentation. Management Server Guide

Technology & Evolution

CommandCenter Secure Gateway User Guide Release 6.0

Efficiency of Web Based SAX XML Distributed Processing

Java-technology based projects

System i and System p. Customer service, support, and troubleshooting

Installation Instruction STATISTICA Enterprise Server

Mastering Tomcat Development

ICANWK414A Create a common gateway interface script

What's New in BlackBerry Enterprise Server 5.0 SP4 for Novell GroupWise

SOA Software API Gateway Appliance 7.1.x Administration Guide

New Advanced Functions in IBM WebSphere Host Publisher V2.2

Location-Based Information Systems

EVALUATION OF SERVER-SIDE TECHNOLOGY FOR WEB DEPLOYMENT

CHAPTER 1 - JAVA EE OVERVIEW FOR ADMINISTRATORS

Heterogeneous Tools for Heterogeneous Network Management with WBEM

Remote Access and Control of the. Programmer/Controller. Version 1.0 9/07/05

NCDware Publications Roadmap


Virtual Credit Card Processing System

3-Tier Architecture. 3-Tier Architecture. Prepared By. Channu Kambalyal. Page 1 of 19

SW5706 Application deployment problems

HP Education Services

Managing RDBMS Servers with Tivoli

Building Web Applications, Servlets, JSP and JDBC

A Generic Database Web Service

CatDV Pro Workgroup Serve r

InduSoft Thin Client Setup and Troubleshooting Guide

End User Guide The guide for /ftp account owner

Installing Management Applications on VNX for File

Chapter 4: Networking and the Internet

ExtremeWare Enterprise Manager Installation and User Guide

SAS 9.3 Intelligence Platform Middle-Tier Administration Guide Third Edition

Syllabus INFO-UB Design and Development of Web and Mobile Applications (Especially for Start Ups)

Programming IoT Gateways With macchina.io

B) Using Processor-Cache Affinity Information in Shared Memory Multiprocessor Scheduling

Server Manager Guide Release 9.1.x

FileMaker Server 14. FileMaker Server Help

Transcription:

Java Thin-Client Programming for a Network Computing Environment JÜRGEN FRIEDRICHS HENRI J I B I N AND THE JALAPENO TEAM / - : / :.. : :. ISBN 0-13-011117-1 PRENTICE HALL PTR, UPPER SADDLE RIVER, NEW JERSEY 07458 - -

<Son+enfs List of Figures, xiii List of Tables, xix Preface, xxi The Team That Wrote This Book, xxiv The Jalapeno Team, xxv Comments Welcome, xxvii Chapter I Introduction, 1 A Thin Client Application The Lunar Medical Center Story, 3 About the Book, 4 Who Should Read This Book, 7 Assumptions, 7 How to Use This Book, 7

Java Thin-Client Programming for a Network Computing Environment Chapter 2 Network Computing and Network Computers, 9 Network Computing Ideals, 11 Network Computing Reality, 12 Problems with Network Computing, 13 The Network Computer (NC), 14 NC Objectives, 15 NC Capabilities and Architecture, 16 NC Product Example: The IBM Network Station 1000,18 A Network Computing Strategy, 21 Chapter 3 Distributed Applications, 23 The Monolithic, Nondistributed Alternative, 24 A Look at Some Issues, 25 Considering Distributed Systems Design & Development Strategies, 29 In Summary, 34 Chapter 4 HTML-Based Clients, 35 Browsers and Web Servers, 37 HTML Overview, 39 HTML Conformance, 39 Developing in HTML, 40 Simple Example, 41 Forms and Tables, 42 To Validate or Not to Validate..., 44 Client Intelligence JavaScript, 45 Simple JavaScript Examples, 47 Using JavaScript, 50

Contents Chapter 5 Java-Based Clients, 55 A Brief Overview of Java, 56 Client-Server Computing with Java, 61 Applets, 61 Sockets in Java, 63 Accessing an HTTP Server with Java, 66 Object-Object Communication: Remote Method Invocation (RMI), 66 Connecting to the Database: JDBC, 67 The Lunar Medical Center's Java Application, 69 The Lunar Medical Center's Java Applet, 73 Some Java Facilities Supporting Enterprise-Wide Network Computing, 76 In Summary, 79 Chapter 6 Design Decisions, 81 Designing the Object Model for the Lunar Medical Center's Systems, 82 Designing the Applications: Considering Alternatives, 85 Profiles Describing the Check-In Applet, 85 Profiles Describing the Main Patient View/Edit Application, 86 Profiles Considered but Not Implemented, 87 Additional Factors to be Considered, 87 The Lunar Medical Center Implementations, 88 Nondistributed Full Application Based on Files, 90 HTML Only at the Browser with a Servlet at the Server, 91 HTML and JavaScript with HTTP to a Servlet, 92 Applet at the Browser with HTTP Connection to Java Servlet, 93 Applet with Direct JDBC Connection, 94 Java Application Using JDBC Directly, 95 Full Application Using Sockets, 95 Full Java Application Using Java RMI, 96 In Summary, 97

Java Thin-Client Programming for a Network Computing Environment Chapter 7 Java Servlets and HTTP Communication, 99 Overview of the Hypertext Transfer Protocol and Request Methods, 100 Protocol Steps, 101 HTTP Headers and Server Status Codes, 103 Client Request Methods 106 Common Gateway Interface, 108 Using CGI, 109 Problems with CGI, 111 Java Servlets, 111 Servlet Requirements and Usage, 112 The LMC's HTTP/Servlet Implementation, 117 In Summary, 120 Chapter 8 Java Servers Using JDBC, 123 Overview of JDBC, 124 JDBC API, 125 JDBC/SQL Data Type Mapping, 126 JDBC Database Drivers, 128 Using JDBC, 130 The LMC's JDBC Implementation, 133 Chapter 9 Java Servers and Socket Communication, 141 Introduction to TCP/IP sockets, 142 Sockets with Java, 144 Compatibility of Different Socket Implementations, 144 The LMC's Socket Implementation, 145 Implementing the Socket Client, 146 Implementing the Socket Server, 147 In Summary, 150

Chapter 10 Java Servers and RMI Communication, 151 RMI: An Easy Way to Implement Java Client/Server Applications, 151 The RMI Architecture, 152 Stub and Skeleton Layer, 153 Remote Reference Layer, 154 Transport Layer, 154 RMI Method Invocation Mechanism, 154 RMI from a Programmer's Perspective, 155 Server Side, 155 Client Side, 155 RMI Security Manager, 158 RMI Registry, 158 Major RMI Classes, 158 Developing with RMI, 159 The LMC's RMI Implementation, 161 The RMI Server Interface, 161 The RMI Server Class, 162 The RMI Client Class, 164 In Summary, 165 Chapter II Client Diets, 167 Looking at the Options, 168 The Compiler and Tools, 169 Packaging, Class Loading and Pre-Initialization, 170 Object Recycling, 172 Garbage Collection, 173 Optimizing Memory Accesses, 175 Synchronization Overheads, 176 Error Handling, 178 Other Issues and Optimizations, 178 In Summary, 179

Java Thin-Client Programming for a Network Computing Environment Chapter 12 Tasty Additions, 181 Introduction to SmartCards, 181 The SmartCard File System, 185 The OpenCard Framework, 186 Sample SmartCard Application, 189 Accessing a Serial Port, 192 X-10 Architecture and Protocols, 193 Programming the X-10 CP290 Home Control Interface, 193 The Java Espresso Machine Example, 194 Chapter 13 NC Deployment: Using IBM Network Stations, 197 Introduction, 198 Software Requirements, 198 The Initialization Process, 199 The Power-On Self-Test, 200 Locating the Boot Server, 201 Loading the Kernel, 202 Initiate the Environment, 203 IBM Network Station Set Up, 204 The NVRAM Setup Utility Panel, 204 Set Network Parameters Panel, 205 Set the Boot Parameters Panel 208 The IBM NetworkStation Manager, 210 The Configuration Files, 212 The Configuration File Syntax, 212 System-Level Configuration Files, 213 Workstation-Level Configuration Files, 214 User-Level Configuration Files, 215 The Startup Files, 215 The IBM Network Station User Services, 216 The IBM Network Station Message Log, 218

Local Session, 218 Allowing Remote Telnet Session, 219 Remote Telnet Session, 220 Accessing the Serial Port, 221 Allowing Access to the Serial Port, 222 Initializing the Serial Port, 222 Coming Soon: IBM Software Release 3, 224 The Setup Utility Panel, 224 IBM Network Station Manager, 224 Java Support, 224 Chapter 14 Java in the IBM Network Station, 227 Introduction, 227 Java Virtual Machine, 228 Memory Requirements, 228 Java Settings, 229 Running Java Programs in the IBM Network Station, 229 Adding a Java Applet Item to the Taskbar, 230 Adding a Java Application Item to the Taskbar, 231 Autostarting Java Programs and Applets, 233 Troubleshooting Java Execution Problems, 234 The esuite, 236 The Workplace, 236 The Administrator, 238 Adding a Java Applet, 239 Appendix A Brief HTML Reference, 247 Top Level Tags, 247 Character Formatting Tags, 248 Block Formatting Tags, 248 Table Tags, 249 List Tags, 250

Jovo Thin-Client Programming for a Network Computing Environment Forms Tags, 251 Miscellaneous Tags, 252 Appendix B Java Development: Using VisualAge for Java, 255 The VisualAge Family, 256 VisualAge for Java Overview, 257 Integrated Development Environment (IDE), 260 Java Support, 260 Navigating within VisualAge for Java, 263 Starting VisualAge for Java, 264 How It Fits Together, 271 Extending the Application, 287 Team Development, 294 Applet Viewer, 297 Editor /Debugger/SmartGuides, 299 Other VisualAge for Java Windows, 305 SmartGuides/Wizards, 306 Proxy Builder, 307 Enterprise Access Builders (EAB), 308 Data Access Builder (DAX), 308 System Requirements, 309 Summary, 310 Appendix. C Special Notices, 311 Appendix D Related Publications, 315 International Technical Support Organization Publications, 315 Redbooks on CD-ROMs, 315 Other Publications, 316

Contents How To Get ITSO Redbooks, 317 How IBM Employees Can Get ITSO Redbooks, 317 How Customers Can Get ITSO Redbooks, 318 IBM Redbook Order Form, 320 List of Abbreviations, 321 Index, 325 **