Read without ads and support Scribd by becoming a Scribd Premium Reader.
\u00a92002 Ariadne Training Limited
Java and J2EE
An Introduction
Course Companion
2
An Introduction to Java and J2EE
\u00a9 2002 Ariadne Training Limited
Contents
CONTENTS
2
The Purpose of this Book
5
THE HISTORY OF JAVA
6
Background to Java
6
Java Applets
7
Java Applications
8
Server Side Java
9
Summary
9
JAVA SOFTWARE DEVELOPMENT
10
Java Variants
10
The Java Development Kit
10
Evolution of the SDK
11
Java Help
12
The Key Java Features
13
Platform Independence
13
The Java Virtual Machine
13
Graphical User Interfaces
14
The \u201cAWT\u201d
15
Swing to the Rescue
16
A Swing GUI
17
Multi Threading
18
Java Multithreading
19
Multithreading Example
19
Running the Multiple Threads
20
The Output
20
Error Handling
21
Exception Handling Example
22
Object Orientation
23
Java Garbage Collection
23
Java Applets
24
Databases in Java
24
Summary
24
JAVA VS OTHER LANGUAGES
26
Language 1: Visual Basic
26
An Example VB Program
27
Language 2: C / C++
27
Example C++ Program
28
3
An Introduction to Java and J2EE
\u00a9 2002 Ariadne Training Limited
Language 3: C# (C-Sharp)
29
VB vs Java
29
C++ vs Java
30
C# vs Java
30
Microsoft .NET
31
Summary
31
JAVA PERFORMANCE
32
Java Performance
32
Why Should Java be Slow?
32
Slow Java
32
Demo and Benchmarks
33
Demo
33
Benchmark Summary
34
Native Code Compilers
34
Summary
34
INTRODUCING J2EE
35
What is J2EE?
35
Two-Tier Architecture
35
Two-Tier Architectures: Disadvantages
36
The Three Tier Model
37
Application Servers
37
The J2EE Standard
38
J2EE Components
38
Java Servlets
38
Java Server Pages (JSP)
39
Enterprise Java Beans (EJBs)
39
The J2EE Architecture
39
Concrete Example \u2013 A Warehouse
40
Summary
41
SERVLETS AND JSP
42
Servlets and JSP
42
The Static Web
42
Making the Web Dynamic
43
Solution: CGI
43
The Servlet Solution
44
An Example Servlet
44
A Serious Problem Emerges
44
Java Server Programming (JSP)
45
JSP Architecture
46
Another Dynamic Webpage
47
Another Problem Emerges!
47
Solution: Servlets!
48
The MVC Architecture
49
Java in JSP\u2019s
49
Custom Tags
50
JSP Example
50
Search History:
Searching...
Result 00 of 00
00 results for result for
  • p.
  • Notes
    Load more