News and New Product Briefs (April 14, 2000)
Oracle’s JDeveloper adds XML support Oracle has updated its JDeveloper 3.1 for Java with the addition of end-to-end XML support, which allows developers to create and deploy applications in Java and XML. Oracle JDeveloper 3.1 makes it easier to work…
JFC actions
Use the powerful Command pattern with the JFC Action interface to build a reusable GUI-command library The JFC Action interface provides a mechanism to detach application logic from GUI code. Unfortunately, Action implementations must usually be rewritten for each GUI,…
Can you securely read a password on the command line?
Securely reading a password from the command line in Java is difficult, but there are some (imperfect) solutions Q: I need to read passwords from the command line. Is there a way to easily read characters from the command line…
Build an object database, Part 2: Object storage backend
Implement relational database storage for Java objects Mapping objects into relational databases and vice versa is almost always a hassle. A general solution is difficult because of the inherent differences in the relational and object-oriented approaches to data modeling. Tools…
News and New Product Briefs (April 7, 2000)
INDEXHEAD: JavaOne 2000 conference approaching Registration has just started for Sun’s JavaOne Java Developer Conference, which will take place June 6-9 at San Francisco’s Moscone Center. The conference combines hands-on technology development with lectures, tutorials, and discussions. Topics for this…
Programming XML in Java, Part 2
Experience the joy of SAX, LAX, and DTDs If you read last month’s article, you already understand how you can use SAX (the Simple API for XML) to process XML documents. (If you haven’t read it yet, you may want…
Java Tip 92: Use the JVM Profiler Interface for accurate timing
Improve performance analysis by measuring Java thread CPU time The textbook approach to simple performance analysis is to call System.currentTimeMillis() before and after the code to be measured. This is comparable to using a stopwatch when testing GUI activity, and…
Java Tip 91: Use nested exceptions in a multitiered environment
Automatically capture the context of remotely thrown exceptions through nesting In this brave new world of business computing, multitiered applications based on RMI, or Remote Method Invocation, running across many computers have overrun the realm of the business application, also…
New Product Briefs (March 31, 2000)
Ezlogin.com adds LiveClips to customized offerings Ezlogin.com has expanded its suite of personalization tools with the addition of LiveClips, a tool that lets Internet users clip content, such as ski reports or news headlines, and post the clips on a…
JNDI overview, Part 4: the Doc-u-Matic, a JNDI application
Pull together your JNDI knowledge with a JNDI-enabled application Let’s dive in. I’ve spent the last three months describing the Java Naming and Directory Interface (JNDI). By now, you should feel comfortable with naming and directory services and the operations…