| 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:
|
 |
Direct WWW/Internet support.
Java contains direct support for most of the Internet,
such as HTTP, Socket programming, and so on. |
 |
Runs in a client/server environment.
Where the program is run on a server and sends the
results to the client. |
 |
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. |
 |
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. |
 |
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. |
 |
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. |
 |
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 |
|