[an error occurred while processing this directive]
Start Search Contents Index Links About
Google
Introduction to JUnit
Creating basic JUnit 4.0 test
2007 - Week 30 - Havard Rast Blok

This article marks the first in a series here at Remember Java which will look at technologies outside the core Java API. One such very relevant technology is JUnit for creating white box unit testing for your Java code. This and future articles will focus on JUnit 4.x, which requires Java JDK 5.0 or later. JUnit 4.x uses Java annotations , for marking various aspects of the test cases. JUnit is a Free and Open Source project, and junit.org is the official web site, where you can download the Jar you need for free.

Load resources
Find external resource files
2007 - Week 12 - Havard Rast Blok

When loading images, data files and other external resource files for an application, some path often has to be specified. It is then most useful to specify a relative path, and search for the file dynamically in runtime. These small example shows how to build in a little redundancy when loading files.

Save that screen
Simple screencapture and image output
2007 - Week 11 - Havard Rast Blok

Caputring the screen is easy in Java, using the java.awt.Robot class. Saving is also a breeze, with the javax.imageio package. Binding it all together, is the java.awt.image.BufferedImage class.

News
Using Subversion, NetBeans IDE, and Sun Java System Web Server With Java ME
This technical article offers Java ME developers suggestions on how to add support for source-code management and application deployment.
Creating Rich Internet Applications With Compiled JavaFX Script Technology
Learn to use JavaFX Script technology to create a compiled JavaFX program that contains user interface components and 2D graphics.
Glassfish v2: Open for Business
Find out why the open source GlassFish v2 application server is a good choice for handling critical business applications and the demands of a production environment.
JSFTemplating and Woodstock: Component Authoring Made Easy
Frustrated with the complexities of writing a JavaServer Faces component? With the help of the JSFTemplating and Woodstock projects, you can write a component with only two files.


site: Håvard Rast Blok
mail:
updated: 15 November 2009