Java threads may not use all your CPUs

Java threads may not use all your CPUs

Simple testing reveals a major flaw in Java 1.1.7 on Solaris 2.6 Enterprise-level applications often need more CPU power than a single-CPU machine can provide, but getting applications to effectively use multiple CPUs can be tricky. If you’re lucky, you…

Encapsulate reusable functionality in JSP tags

Build your own custom JSP tag with Tomcat Like HTML, JavaServer Pages (JSP) use the concept of tags as their building blocks. A handful of tags are available to you as a JSP developer, allowing you to embed Java code,…

Sun investigates Java security flaw in Netscape browser

Java bug allows unsigned applets to read and dispense files from a user’s computer August 8, 2000 — Sun Microsystems is investigating a security flaw that has popped up involving the use of Java in Netscape’s Navigator browser. The bug,…

AS/400 leads the league in Java performance

IBM’s AS/400 server rocks the house in two Java benchmarks Some people still view IBM’s AS/400 as merely a character-based legacy platform, but that’s light-years from today’s reality. The AS/400’s glittering appearance at several recent Java benchmark parties was reminiscent…

Legacy application transformation

How do you transform legacy COBOL code into Web-enabled Java applications? These tools can help! The push for businesses to compete at Internet speed has only just begun. Unfortunately for many companies, tapping in to the efficiencies of e-business also…

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…