Introduction
The advent of Java has traumatized the performance of an already slow
Internet. Bringing up a new Web page now requires fetching graphics, applets,
JavaScript, etc. You can`t change the world, but there are things you as a
content-designer can do to make your Web pages load faster. This, in turn,
translates into a higher likelihood that the user will continue browsing your
site, rather than just giving up.
In this article I will discuss five techniques to improve Java loading
performance:
1. Use of the 'archive' tag in Netscape Navigator 3.0
2. Implementation of a progress monitor
3. Use of HTTP Keep Alives
4. Dynamic loading of classes
5. Class compression by symbol reduction
Background and Performance Measurements
One of the largest components of fetching a file via HTTP can be the TCP
connection setup and httpd server accept() portion of the connection. Ev... (more)
Asymetrix SuperCede for Java is an Integrated Development Environment (IDE)
for Java development on Windows 32 platforms. The IDE includes a C++ compiler
for making native methods. SuperCede is the first product available to make
Intel x86 executable code directly from Java source.
Target Audience
The target user of this product seems to be the single developer of Windows
applications wanting to use Java with or without C++. Although SuperCede does
support Applets, the product seems best aimed at the application developer.
Features
SuperCede for Java includes:
C++ Compiler
Java Com... (more)
Object Design's ObjectStore PSE Pro for Java is a native Java-persistent
object database (PSE stands for Persistent Storaget Engine). It allows
running Java objects to save and restore state. The differences between the
Pro' release and the general release involve the ability to simultaneously
access databases and to recover databases.
ObjectStore PSE Pro is aimed mainly at the Java application programmer. Its
object-oriented database provides an alternative option to JDBC, which is
likely its main competitor.
ObjectStore PSE Pro will work with any Java Virtual Machine - it's 100... (more)
Java applets can be used to provide better dynamic interaction with the user
on Web pages than simple CGI scripts and html forms. However, like any
programming language, the code does not spring forth perfect, but rather is
designed, implemented, and then debugged.
Debugging code that lives on a Web page can be difficult. The old standby of
trace printfs (or System.out.println in Java terminology) is always
available, but tedious at best. The JDK, available from JavaSoft, contains a
debugger, jdb, but it really serves best as a sample implementation rather
than as a development ... (more)
When designing a Java applet or application, you often may wish to place a
similar set of components in several different places. Perhaps you would like
to have a labeled text entry field, or a more complicated structure like a
list of IP addresses and subnet masks, with entry fields for each. You could
do these by creating a Panel, placing them there, having a method in your
class to create this, and returning the Panel. There is an easier way.
A 'macro' component [treating multiple components as a single object] is a
simple step between writing a custom component which handles a... (more)