Are you still using the old Java plugin for Firefox?

In about:plugins, what’s the filename of the Java plugin? Is it libjavaplugin_oji.so? If so, you should update to the new Java plugin. Run: sudo update-alternatives –config xulrunner-1.9-javaplugin.so Now select libnpjp2.so instead and restart Firefox. Source: Out of date java 6 plugin installed.

Today’s thoughts about programming languages

Maybe some of you have heard me ranting about this already? I’m not productive enough in C++ and I feel too limited by Java A large chunk of Java frameworks seem to serve no other purpose than to workaround limitations in Java I believe (and hope!) that Java will cease to be the default language… Continue reading Today’s thoughts about programming languages

Instantiating Java objects of generic type parameter

I was going to write a really grand blog entry about how to instantiate a Java object of the type specified as parameter to a generic class but I figured that someone must have done that already. The blog article Java Generics: Instantiating Objects Of Type Parameter Without Passing Class Literal To Instance sums it… Continue reading Instantiating Java objects of generic type parameter

SpringSource to stop providing maintenance releases for free

Is this possibly the latest Java community buzz? SpringSource Announces Enterprise Maintenance Policy. Mats Henricson asks What is SpringSource doing with its license? and while the SpringSource Enterprise Maintenance Policy FAQ states that there is no license change, the SpringSource Enterprise Maintenance Policy sure is a change. They summarize it quite consise themselves: After a… Continue reading SpringSource to stop providing maintenance releases for free

Entity bean bloat

I’m currently getting acquainted with JBoss, SpringSource Application Platform, JBoss Seam and Spring Framework. One thing that amazes me is the amount of code required for some simple O/R mapping, or I am missing something? I hope to be wrong about this, but it seems like an EJB3 "entity bean" requires, for each column in… Continue reading Entity bean bloat

Andi Gutmans: “Java is losing the battle for the modern Web”

Andi Gutmans (of PHP fame) has written a very interesting blog post about Java’s future on the web. The article is called Java is losing the battle for the modern Web. Can the JVM save the vendors? He gives some good arguments for using a LAMP stack for web applications. One of the interesting quotes… Continue reading Andi Gutmans: “Java is losing the battle for the modern Web”

Is required in or not?

In an XSLT script I didn’t use <xsl:text> inside of <xsl:message>. It worked fine in xsltproc, but the Java XSLT implementation we use complained. What was wrong then? The text in an <xsl:message> was not inside an <xsl:text> element. Bad code: <xsl:message>Don’t do like this</xsl:message> Good code: <xsl:message><xsl:text>Do like this</xsl:text></xsl:message> To avoid making the same… Continue reading Is required in or not?

Ant “replace” task does not preserve Unix file permissions

This is probably a well-known fact for everyone who has used Ant on Unix for a while, but an annoying discovery for me who have been hiding under a C++ rock. The five year old bug report File Permissions not preserved in replace task pretty much says it all: Java couldn’t stat files, and it… Continue reading Ant “replace” task does not preserve Unix file permissions