Sunday, 29 September 2013

Java 8 and JSR 335

JSR 335 refers to Lambda Expressions in Java and boasts Goldman Sachs, Google and JetBrains on the Expert Group. Brian Goetz is the Spec Lead on this. Brian is with Oracle now, though formerly was an engineer at Sun Microsystems before the takeover.

JBoss becomes WildFly

As of November 2012, JBoss has become WildFly.  This name has been chosen "by the community".

Sunday, 1 September 2013

The Java Control Panel on Windows

This can be used to turn off Java in the browser. It is usually called javacpl.exe on Windows.

Thursday, 25 April 2013

Signing Jar Files with the "JJA" Sequence

Jar files can be signed using the following syntax [henceforth referred to as the "JJA" sequence]:

jarsigner jar-file alias

The alias identifies the private key used to sign the Jar file, and the key's associated certificate. Quite interesting how that alias works....it's a lookup into the Keystore, where each private and public key pair is identified by an alias, and a password is needed to access the private key. The keystore is generated by the Keytool.

Saturday, 16 March 2013

Good Old java.io.RandomAccessFile

An old friend from JDK 1.0 days. The overloaded write operation will write byte arrays, ints etc. to the file from the position of the current file pointer. The length() method returns the length of the file in bytes.

Wednesday, 16 January 2013

Department of Homeland Security Says No to Web Java (Java 7, That is)

The DHS recommends users disable Java in their web browsers. Oracle has issued some security fixes.