Mastering Java

 
General

Source code

Pascal

Java

C++

C

Applied PC

Client/server

 

 

 

 

 

 Design  | SFC  |  NOS  |  Code |  Diary  | WWW |  Essay |  Cisco | [Home]

Java is one of the fastest growing development languages and has the great advantage that is was developed after the Internet and WWW were created. It is by no means an easy language to learn, but it is relatively easy to create graphics and windows-based programs. If I were to personally rate the top-ten advantages of Java I would rate them as:

Author:
Dr W.Buchanan,
Napier University,
Edinburgh.

Downloads:
Complete code

Reviews:

Review 1
Review 2

Applets:

Chapter 6.1
Chapter 6.2
Chapter 6.3
Chapter 6.4
Chapter 7.1
Chapter 7.2
Chapter 7.3

Chapter 7.4
Chapter 7.5

Chapter 7.6
Chapter 7.7

Chapter 7.8
Chapter 7.9
Chapter 8.1
Chapter 8.2
Chapter 8.3

Chapter 8.4
Chapter 8.5

Chapter 9.1

Chapter 9.2

Chapter 9.3
Chapter 9.4
Chapter 9.5
Chapter 9.6
Chapter 9.7
Chapter 9.8
Chapter 9.9
Chapter 9.10
Chapter 9.11
Chapter 9.12
Chapter 9.13
Chapter 9.14
Chapter 9.15

Chapter 9.17

 

Link to my Research page

Direct WWW/Internet support.
Java contains direct support for most of the Internet, such as HTTP, Socket programming, and so on.

Link to my Research page

Runs in a client/server environment.
Where the program is run on a server and sends the results to the client.

Link to my Research page

Produces applets which are platform-independent.
This allows applets to be run on a PC, a Mac, a Sun workstation, an HP workstation or any other computer which has a browser which support Java applets.

Link to my Research page

It is event-driven rather than procedural-driven.
This means that it supports events, such as keypresses, mouse actions, and so on. These make the program more responsive and easier to design. Many programming languages are procedural-based where the code is run in a sequential manner.

Link to my Research page

Direct support for bit-mapped graphics.
Most languages, such as C++ and Pascal, have graphics support as an add-on to the basic language. This again leads to compiler dependence. Microsoft Windows, though, now has a standard library called Win32 which gives support to C++, Delphi and Visual Basic.

Link to my Research page

It is totally object-oriented.
Programs are produced by defining classes which are operated on by methods. An instance of a class is known is an object.

Link to my Research page

It has direct support for windows, buttons, menus, and so on.
Many soft-ware compilers have non-standard add-ons for the support of these objects, which can lead to compiler dependence. Microsoft Windows, though, now has a standard library called Win32 which gives support to C++, Delphi and Visual Basic.

This book is intended as an introduction to Java and is practical in its approach. I feel the best way of learning the language is to use practical examples. Many of the chapters also contain project work which is intended to give readers some practical work which requires a degree of thought, planning and testing.


Material

Sample (TOC) Presentation (PowerPoint 97/PDF)
1.   Introduction
2.   Java selection
3.   Java loops
4.   Java objects and classes
5.   Java class libraries and arrays
6.   Java applets
7.   Java mouse and keyboard
8.   Java graphics and sound
9.   Java buttons and menus
10. Java text and date
11. Strings
12. Exceptions
13. Java networking
14. Java socket programming
15. Multithreading
A. Introduction to HTML
B. Further HTML
C. HTML reference
1.   Introduction
2.   Java selection
3.   Java loops
4.   Java objects and classes
5.   Java class libraries and arrays
6.   Java applets
7.   Java mouse and keyboard
8.   Java graphics and sound
9.   Java buttons and menus
10. Java text and date
11. Strings
12. Exceptions
13. Java networking
14. Java socket programming
15. Multithreading
A. Introduction to HTML
B. Further HTML
C. HTML reference

 

 


 

 
 
Design  | SFC  |  NOS  |  Code |  Diary  | WWW |  Essay |  Cisco | [Home]