Java Tip 99: Automate toString() creation

Exploit the power of Reflection and save significant coding time Developers working on large projects commonly spend hours writing useful toString methods. Even if each class doesn’t get its own toString method, each data container class will. Allowing each developer…

Events and listeners

How do you create a custom event? How do you create a custom event, and how do you fire it so that a component can get an event? Before looking at a custom event, lets look at a pre-existing event:…

Mapping XML to Java, Part 1

Employ the SAX API to map XML documents to Java objects XML is hot. Because XML is a form of self-describing data, it can be used to encode rich data models. It’s easy to see XML’s utility as a data…

News and New Product Briefs (August 4, 2000)

INDEXHEAD: WebAppCabaret.com launches free Java service Java developers can now make use of a service from WebAppCabaret.com that offers JSP/servlet hosting, collaboration, listing, and source code library services. After registering with the company, users can easily install, run, and share…

Macworld: Java 2 for the Mac almost ready

Macintosh enthusiasts must wait for Mac OS X to finally see solid Java 2 support It has been three years since Apple CEO Steve Jobs explicitly mentioned plans for Java on the Macintosh at a Macworld Expo keynote address. There…

C#, the natural progression

With Visual J++ in the dumpster, Microsoft introduces C# to fill the void July 31, 2000 — Microsoft’s new vision of the Internet is a far cry from today’s network of online content. Microsoft views the future Internet as a…

Benefit from platform-independent builds

Automate your build process with jmk or Ant Any large Java project may be developed, deployed, and maintained on multiple OS platforms over its entire lifecycle. A software project typically needs automated build/make scripts to compile, jar, and create the…

Modify archives, Part 1

Supplement Java’s util.zip package to make it easy to write or modify existing archives I started out this month intending to write an article about caching class loaders. I wanted to create a class loader that a client-side application could…

Java security evolution and concepts, Part 2

Java security evolution and concepts, Part 2

Discover the ins and outs of Java security One of Java’s main features is its ability to move code over a network and run that code. Unlike other languages, Java has been designed to do this securely. Java security has…