The end of Sun Microsystems, Image via James Gosling’s Blog
RIP Sun Microsystems
January 21st, 2010 Comments
→ Lessons Learned From Java EE’s Evolution
December 7th, 2009 Comments
Rod Johnson talks about Java’s evolution, in particular J2EE, presenting the lessons to be learned from its failures, like committee-led standards and container-managed frameworks, preparing to avoid such mistakes in the future.
Using Ram Disk for Maven Repository on Mac OS X
October 23rd, 2009 Comments
Using Maven sometimes becomes a pain for a large project. Compiling sometimes takes forever. Recently I heard a tip on our office floor that if I use a RamDisk for maven repository it may be faster. So I tried to find out easy way to setup the RamDisk on Mac OS X (Snowleopard). Here’s how I did it.
Though you can use commands to create the memory based file system, there’s an excellent free preference pane from here and install it. It is pretty straight forward from there, make sure you check Save in disk image and Self auto restore. In this way your RamDisk will be saved to the disk and restored automatically when you start the session. Now move your maven repository which defaults to ~/.m2 in Mac OS X to the newly created RamDisk. Make sure you update the location of repository in your maven’s configuration settings.xml.
If your project is small enough, you can even move the source code to the RamDisk and start up from there. I found the speed to be pretty good since the disk I/O is now minimal.
→ Final list of Project Coin changes for JDK 7
September 4th, 2009 Comments
Project Coin got its name because it is about making “small change”(s) to the Java programming language for JDK 7. Sun’s Joe Darcy has been leading the project. In his blog post, Project Coin: The Final Five (Or So), has announced which small changes will actually make it into JDK 7.
Debugging maven-jetty web application in NetBeans
May 12th, 2009 Comments
Setup Jetty to run with Debugging enabled on port 8000
export MAVEN_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8000"
Run Jetty using Maven Plugin
mvn jetty:run
In NetBeans, Goto Debug→ Attach Debugger menu. Select Java Debugger(JPDA) and specify the port as 8000. Now you can debug the webapplication using NetBeans.
13949712720901ForOSX
November 22nd, 2007 Comments
Vote for Java 6 on Leopard