Using randomization in your Java unit tests is easy and not as time consuming as you think. Plus, it will increase the value of your tests in the short and long term.
Other Java Section Index
Learn how to use Java annotations to discover code automatically at runtime with a ServiceLoader. This useful technique will make your life easier.
New JavaFX RAD Tool for NetBeans coming next week, in preview at least.
ProGuard makes the simple yet time-consuming activities of Java code cleanup and optimization relatively trivialeven in large-scale Java development projects.
NetBeans 6.5 for JavaFX 1.0 is an elegant tool for developing JavaFX projects. Learn how to develop a complete JavaFX project using the NetBeans support and various JavaFX classes.
The results you get out of any performance prediction exercise are bound to be wrong. The goal is to make them as least wrong as possible. Rob Bogue will help you understand how to avoid getting them too wrong.
If you've looked for a Java position or if you are on the other side and are looking to fill a Java position in your company, then here are a few tips that will come in handy.
Did you ever get stuck having to choose between a recursive or iterative implementation? Get the answers to whether one is better than the other or whether it really matter?
Explore three of RSF's primary tenets: primacy of markup, zero server state, and correct use of POST/GET.
Every now and then it is interesting to step back and see what other people are reading. Here are the most popular Java articles so far this year.
Discover how to combine the Model-View-Controller (MVC) architectural principles with the Java EE platform to derive multitier Java EE application architecture. You will also see how the Java EE design patterns catalog provides guidance and how you can document this architecture using UML notations.
Learn how to add animated movement into your program where multiple objects chase a lead object as it moves randomly in a given environment.
Learn how to secure a web service using WS-Security. WS-Security is a specification from OASIS (Organization for the Advancement of Structured Information Standards) that describes enhancements to SOAP messaging to provide message integrity and confidentiality.
Learn how to write a Java program to apply a blurring or softening filter to your digital photos. The amount of softening is controlled by the user with a slider.
Using Java to work with Microsoft Excel spreadsheets has never been easer with the help of the JExcel API, a Java library that provides the ability to read, write, and modify Microsoft Excel spreadsheets from within Java applications.
The Java collections framework contains classes you use to maintain collections of other objects. These collection classes have different performance and ordering properties. See how the HashMap and HashSet Classes allow objects to be added to a collection, removed from a collection, or found in roughly constant time. Discover how to use these classes and what to do to achieve good performance from them.