Programming XML in Java, Part 1

Programming XML in Java, Part 1

Create Java apps with SAX appeal So, you understand (more or less) how you would represent your data in XML, and you’re interested in using XML to solve many of your data-management problems. Yet you’re not sure how to use…

A multiline button is possible!

Can JButton create a multiline button? Q: Suppose I want to create the button with a label as shown below: “Your Name” “Name” will be on the second line. I tried to create it with: new JButton(“Your n Name”) Unfortunately,…

Java servlet books: A comparative review

Java servlet books: A comparative review

Find out where you can get the best servlet coverage Lately, I’m often asked which books on Java servlet and JavaServer Pages (JSP) I would recommend. In fact, even when I was at a local bookstore recently someone asked me…

Java Tip 90: Accelerate your GUIs

Improve GUI performance using ‘lazy’ evaluation Slow graphical user interfaces (GUIs) are a common complaint directed at Java. While constructing snappy GUIs can take time and effort, I’ll present a class that can speed up GUIs with little extra work…

Performance problem or design problem?

What to consider before you optimize When I travel around the globe speaking to developers, performance is always a hot topic in relation to the Java platform. The main issues usually focus on which JVM to use, how to increase…

News and New Product Briefs (March 6, 2000)

Sun releases Java API for XML Sun Microsystems has released the JAXP (Java API for Extensible Markup Language Parsing) Optional Package. JAXP adds XML capabilities to the Java 2 Platform, which should help developers create cross-platform business-to-business applications based on…

Server-side Java: Internationalize JSP-based Websites

Server-side Java: Internationalize JSP-based Websites

Build Websites that speak in tongues Most Websites are customized for a specific locale, with the locale defined as a geographical region or political entity that shares a common language, culture, and customs. While this may not be a significant…

A

Certification help

We all hate them, but let’s look at certification questions and answers Q: I, a beginner in the Java field, plan to take the Java Certified Programmer test soon. With that in mind, would you please answer the following four…

Server-side Java: Patterns for flexible initialization, Part 2

Server-side Java: Patterns for flexible initialization, Part 2

Customizing command targets in your system initialization After some pain and agony, your application system is now recoded to use the Setup pattern described in “Server-side patterns for flexible initialization, Part 1.” Although it certainly took some effort to dispose…