Java Product News (December 21, 2000)
INDEXHEAD: Sun unveils Forte for Java, release 2.0 Sun Microsystems’s updated Forte for Java, its cross-platform development environment, relies on an open source framework that allows developers to create applications using a modular design. Release 2.0 also lets developers add…
JUnit best practices
Techniques for building resilient, relocatable, multithreaded JUnit tests JUnit is a typical toolkit: if used with care and with recognition of its idiosyncrasies, JUnit will help to develop good, robust tests. Used blindly, it may produce a pile of spaghetti…
C#: A language alternative or just J–?, Part 2
The semantic differences and design choices between C# and Java In Part 1 of this series, I covered the similarities between C# and Java, explained C#’s role in .Net, speculated on the possible outcomes of using multiple languages in application…
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…
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 security evolution and concepts, Part 3: Applet security
Tackle Java applet security with confidence Java’s early growth was spurred by code downloadable over a network, better know as applets. Applet security has evolved with the growth of Java, and today is a source of frequent confusion due to…
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
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 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…