Essentials of the Java Programming part I 2000.pdf
(
801 KB
)
Pobierz
Essentials of the Java(TM) Programming Language, Part 1
Essentials of the Java(TM) Programming Language, Part 1
A-Z Index
Java
Technolog
y
Home
Page
Online Training
Java Developer Connection(SM)
Downloads, APIs,
Documentation
Java Developer
Connection
Tutorials, Tech Articles,
Training
Online Support
Training Index
Essentials of the Java
TM
Programming
Language: A Hands-On Guide, Part 1
Community Discussion
by Monica Pawlan
News & Events from
Everywhere
Products from
Everywhere
How Java Technology
is Used Worldwide
[
CONTENTS
] [
NEXT>>
]
If you are new to programming in the Java
TM
language, have some
experience with other languages, and are familiar with things like
displaying text or graphics or performing simple calculations, this
tutorial could be for you. It walks through how to use the Java® 2
Platform software to create and run three common types of
programs written for the Java platform—applications, applets, and
servlets.
Print Button
You will learn how applications, applets, and servlets are similar
and different, how to build a basic user interface that handles
simple end user input, how to read data from and write data to files
and databases, and how to send and receive data over the
network. This tutorial is not comprehensive, but instead takes you
on a straight and uncomplicated path through the more common
programming features available in the Java platform.
If you have no programming experience at all, you might still find
this tutorial useful; but you also might want to take an introductory
programming course or read
Teach Yourself Java 2 Online in Web
Time
before you proceed.
Contents
Lesson 1:
Compiling and Running a Simple Program
A Word About the Java Platform
l
Setting Up Your Computer
l
Writing a Program
l
Compiling the Program
l
Interpreting and Running the Program
l
Common Compiler and Interpreter Problems
l
Code Comments
l
API Documentation
l
More Information
Lesson 2:
Building Applications
file:///T|/General/Documentation/Java/Basic Java 1/index.html (1 of 4) [24.07.2000 12:29:59]
l
Essentials of the Java(TM) Programming Language, Part 1
l
Application Structure and Elements
l
Fields and Methods
l
Constructors
l
To Summarize
l
More Information
Lesson 3:
Building Applets
Application to Applet
l
Run the Applet
l
Applet Structure and Elements
l
Packages
l
More Information
Lesson 4:
Building a User Interface
Swing APIs
l
Import Statements
l
Class Declaration
l
Global Variables
l
Constructor
l
Action Listening
l
Event Handling
l
Main Method
l
Applets Revisited
l
More Information
Lesson 5:
Writing Servlets
About the Example
l
HTML Form
l
Servlet Backend
l
More Information
Lesson 6:
File Access and Permissions
File Access by Applications
l
Exception Handling
l
File Access by Applets
l
Granting Applets Permission
l
Restricting Applications
l
File Access by Servlets
l
Appending
l
More Information
Lesson 7:
Database Access and Permissions
Database Setup
file:///T|/General/Documentation/Java/Basic Java 1/index.html (2 of 4) [24.07.2000 12:29:59]
l
l
l
l
l
Essentials of the Java(TM) Programming Language, Part 1
l
Create Database Table
l
Database Access by Applications
Establishing a Database Connection
m
m
Final and Private Variables
m
Writing and Reading Data
l
Database Access by Applets
JDBC Driver
m
m
JDBC-ODBC Bridge with ODBC Driver
l
Database Access by Servlets
l
More Information
Lesson 8:
Remote Method Invocation
About the Example
Program Behavior
m
m
File Summary
m
Compile the Example
m
Start the RMI Registry
m
Run the RemoteServer Server Object
m
Run the RMIClient1 Program
m
Run the RMIClient2 Program
l
RemoteSend Class
l
Send Interface
l
RMIClient1 Class
l
RMIClient2 Class
l
More Information
In Closing
Reader Feedback
Tell us what you think of this training book.
[Duke]
Very worth reading Worth reading Not worth
reading
If you have other comments or ideas for future training
books, please type them here:
[
TOP
]
file:///T|/General/Documentation/Java/Basic Java 1/index.html (3 of 4) [24.07.2000 12:29:59]
l
Essentials of the Java(TM) Programming Language, Part 1
Print Button
[ This page was updated: 6-Apr-2000 ]
Products & APIs
|
Developer Connection
|
Docs & Training
|
Online Support
Community Discussion
|
Industry News
|
Solutions Marketplace
|
Case Studies
Glossary
-
Applets
-
Tutorial
-
Employment
-
Business & Licensing
-
Java Store
-
Java in the Real World
FAQ
|
Feedback
|
Map
|
A-Z Index
For more information on Java technology
and other software from Sun Microsystems, call:
(800) 786-7638
Outside the U.S. and Canada, dial your country's
AT&T Direct Access Number
first.
Sun
Microsystem
s,
Inc.
Copyright © 1995-2000
Sun Microsystems, Inc.
All Rights Reserved.
Terms of Use
.
Privacy Policy
.
file:///T|/General/Documentation/Java/Basic Java 1/index.html (4 of 4) [24.07.2000 12:29:59]
Java(TM) Language Basics, Part 1, Lesson 1: Compiling & Running a Simple Program
A-Z Index
Java
Technolog
y
Home
Page
Online Training
Java Developer Connection(SM)
Downloads, APIs,
Documentation
Java Developer
Connection
Tutorials, Tech Articles,
Training
Online Support
Training Index
Java
TM
Programming Language Basics,
Part 1
Lesson 1: Compiling and Running
A Simple Program
Community Discussion
News & Events from
Everywhere
Products from
Everywhere
How Java Technology
is Used Worldwide
[
<<BACK
] [
CONTENTS
] [
NEXT>>
]
The computer age is here to stay. Households and businesses all
over the world use computers in one way or another because
computers help individuals and businesses perform a wide range of
tasks with speed, accuracy, and efficiency. Computers can perform
all kinds of tasks ranging from running an animated 3D graphics
application with background sound to calculating the number of
vacation days you have coming to handling the payroll for a
Fortune 500 company.
Print Button
When you want a computer to perform tasks, you write a program.
A program is a sequence of instructions that define tasks for the
computer to execute. This lesson explains how to write, compile,
and run a simple program written in the Java
TM
language (Java
program) that tells your computer to print a one-line string of text
on the console.
But before you can write and compile programs, you need to
understand what the Java platform is, and set your computer up to
run the programs.
A Word About the Java Platform
l
Setting Up Your Computer
l
Writing a Program
l
Compiling the Program
l
Interpreting and Running the Program
l
Common Compiler and Interpreter Problems
l
Code Comments
l
API Documentation
l
More Information
A Word About the Java Platform
The Java platform consists of the Java application programming
interfaces (APIs) and the Java
1
virtual machine (JVM).
Java APIs are libraries of compiled code that
file:///T|/General/Documentation/Java/Basic Java 1/compile.html (1 of 5) [24.07.2000 12:30:05]
l
Plik z chomika:
X-files
Inne pliki z tego folderu:
Wireless Java Developing with J2ME 2nd 2003.chm
(2615 KB)
Wireless J2ME Platform Programming , 2002.pdf
(2614 KB)
using uml for modeling a distributed java application 1997.pdf
(707 KB)
Using Java 2 Standard Ed 2001.chm
(6449 KB)
Using Enterprise JavaBeans 2.0 2002.chm
(1098 KB)
Inne foldery tego chomika:
130 linux and unix ebooks
132 C and C++ ebooks
156 database ebooks
237.For.Dummies.ebooks.Wiley.Publishing
Architecture e-books
Zgłoś jeśli
naruszono regulamin