Category General

Build an object database, Part 2: Object storage backend

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…

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…

Using the if-then-else framework, Part 1

Using the if-then-else framework, Part 1

Code maintainable branching logic with the if-then-else framework No one should have to read or maintain code shown in Listing 1 below. Code that includes nested ifs, as in this example, can be a maintenance nightmare. It is usually difficult…

LDAP and JNDI: Together forever

LDAP and JNDI: Together forever

Learn how LDAP and JNDI combine to form a powerful directory and Java object storage facility The Lightweight Directory Access Protocol (LDAP), which traces its roots to the X.500 protocol, was developed in the early 1990s as a standard directories…

Interprocess communications in Java

How can Java processes communicate without RMI? Q: How can two Java processes (two JVMs) on the same computer interact — that is, read each other’s methods and exchange objects? I’m using RMI, but it seems that a simpler solution…

StringBuffer versus String

What is the performance impact of the StringBuffer and String classes? Java provides the StringBuffer and String classes, and the String class is used to manipulate character strings that cannot be changed. Simply stated, objects of type String are read…