Eclipse Tutorial For Introduction to Java Programming
This tutorial is for students who are currently taking a Java course that uses Eclipse and for Java programmers who want to develop Java projects using Eclipse. Eclipse is an open source supported by IBM.
Read more
Programming in Java
Besides C++ Java is now the most widely available and used object-oriented programming language. It is a very useful language that is successfully utilized by many programmers in many application areas. It is a reasonably carefully thoughtout language where the design is based partly on acknowledged principles and partly on solid experience and feedback from actual use. Java is a powerful but lean objectoriented programming language. It makes it possible to program for the Internet by creating applets, i.e. programs that can be embedded in a web page. For example, an applet can be an animation with sound, an interactive game, or a ticker tape with constantly updated stock prices. However Java is more than a programming language for writing applets. It also can be used for writing standalone applications. It seems it is becoming the standard language for both general-purpose and Internet programming. Java is close to C++. It has taken many features of C++, but unfortunately discarded some of them, for example templates and multiple inheritence. To this lean core it has added garbage collection (automatic memory management), multithreading (the capacity for one program to do more than one task at the time), and security capabilities. Java is a platform consisting of three components: (1) the Java programming language, (2) the Java library of classes and interfaces (Java has a huge number of built-in classes and interfaces), and (3) the Java Virtual Machine.
Read more
GJ Extending the Java programming language with type parameters
Say you wish to process collections. Some may be collections of bytes, others collections of strings, and yet others collections of collections of strings. The Java programming language supports such variation by allowing you to form a collection of Object, so the elements may have any reference type. In order to keep the language simple, you are forced to do some of the work yourself: you must keep track of the fact that you have a collection of bytes, and when you extract an element from the collection you must cast it to class Byte before further processing.
Read more
Adding Wildcards to the Java Programming Language
This paper describes wildcards, a new language construct designed to increase the flexibility of object-oriented type systems with parameterized classes. Based on the notion of use-site variance, wildcards provide a type safe abstraction over different instantiations of parameterized classes, by using ‘?’ to denote unspecified type arguments. Thus they essentially unify the distinct families of classes often introduced by parametric polymorphism. Wildcards are implemented as part of the upcoming addition of generics to the JavaTM programming language, and will thus be deployed world-wide as part of the reference implementation of the Java compiler javac available from Sun Microsystems, Inc. By providing a richer type system, wildcards allow for an improved type inference scheme for polymorphic method calls. Moreover, by means of a novel notion of wildcard capture, polymorphic methods can be used to give symbolic names to unspecified types, in a manner similar to the “open” construct known from existential types. Wildcards show up in numerous places in the Java Platform APIs of the upcoming release, and some of the examples in this paper are taken from these APIs.
Read more
Excelsior Installer 1.6
Excelsior Installer helps you create installation packages for your Windows applications. It supports the most common installation scenario:
* Display a splash screen (optional)
* Display a license agreement and require the user to accept it before proceeding (optional)
* Let the user select the installation folder
* Copy all application’s files and folders into the selected folder
* Create shortcuts in standard locations (Start Menu, Desktop, Startup Menu)
* Create a registry entry for the application (optional)
* Register an uninstaller
* Run typical post-install actions (optional)
Read more