Buy, don’t build

With search engines, it’s best to purchase one off the shelf Q: How would you go about designing a search engine? A: Whenever I get such emails, I have to wonder why anyone would want to reinvent the wheel. In…

star

Java threads: A comparative book review

Choose the best tutorial for learning to program with Java threads Ever since the first editions of Java Threads from O’Reilly and Concurrent Programming in Java from Addison-Wesley came out several years ago, I’ve been recommending them to people who…

Java Product News (December 15, 2000)

INDEXHEAD: InstallShield simplifies multiplatform deployment strategies InstallShield Software has created three new multiplatform edition offerings (previously known as InstallShield Java Edition) that supply software developers with the ability to deploy applications across multiple platforms, including Linux, Solaris, AIX, Windows, and…

Secure thread collaboration across protection domains

Secure thread collaboration across protection domains

Build solid applications with the AccessControlContext and the GuardedObject classes Let’s consider two related but slightly different scenarios. You’re building an application with two threads, a server and a client,at its heart. The design requirements permit the server thread to…

Make an EJB from any Java class with Java Reflection

Make an EJB from any Java class with Java Reflection

Make any single-tier Java application into an enterprise application Every EJB application server allows you to install an EJB if you provide a bean implementation, remote interface, and a home interface but, in most cases, you have to write them…

Java Tip 105: Mastering the classpath with JWhich

Identify which class will be loaded in your classpath At one time or another, developers experience frustration when dealing with the Java classpath. It’s not always clear which class the class loader will load, especially when your application’s classpath becomes…

Polymorphism in its purest form

The nature of abstract classes and polymorphism Q: I would like to clarify my understanding of abstract classes. As I understand it, a class declared abstract is an incomplete class, not meant to be instantiated. Java would complain if an…

Sun lets Jini Starter Kit 1.1 out of the bottle

<em>JavaWorld</em> author Frank Sommers talks with Jini architect Jim This year is shaping up as a success for Jini technology. Jini licensees now exceed 50,000, and the technology is deploying everywhere from automobiles to enterprise software systems. The upcoming Fifth…

Validation with Java and XML Schema, Part 4

Validation with Java and XML Schema, Part 4

Build Java representations of schema constraints and apply them to Java data Validation. It still makes my stomach queasy to say the word; I often have nightmares of sitting at my desk, drooling on my keyboard as I type in…