Java is a general-purpose, concurrent, class-based, object-oriented computer programming language that is specifically designed to have as few implementation dependencies as possible.
Developers can “write once, run anywhere” (WORA), meaning that code that runs on one platform does not need to be recompiled to run on another. Java applications are typically compiled to bytecode (class file) that can run on any Java virtual machine (JVM) regardless of computer architecture.

Java

Java File handling – when is a file actually…

Consider the following code…. File ff=File.createTempFile(“page”,”.bin”, new File(ObjectStore.temp_dir)); BufferedOutputStream to = new BufferedOutputStream(new FileOutputStream(ff)); to.write(currentDisplay.serializeToByteArray(null));          to.flush();            to.close(); pagesOnDisk.put(key,ff.getAbsolutePath()); It stores...
Mark Stephens
37 sec read

Printing PDF files from Java

Printing PDF files from Java is something that raises a lot of general questions, so this short article is a general guide to the...
Mark Stephens
1 min read

Two issues with Java File access for temporary files

In theory, Java has a very flexible and powerful set of commands for manipulating Files. The File object allows you create a File or...
Mark Stephens
51 sec read

New year resolutions

The end of the year is a great time to step back, have a good think and take perspective, and come up with some...
Mark Stephens
37 sec read

JPedalFX – a JavaFX PDF Viewer

During a recent trip to Sun Microsystems’ customer briefing centre in London I sat through an enjoyable overview of JavaFX and its short-term future....
Sam Howard
56 sec read