<< March 5, 2007 | Home | March 7, 2007 >>

Erasure To Be Erased In Java 7

Peter Ahé: Alex and I are on stage at EclipseCon 2007 waiting to give our presentation, unfortunately this means that we are missing Scott Adams who we can hear from the conference room next to ours.

The "presentation" is about Java SE 7 Language Features. I'm delighted to see that my call to "Erase Erasure" 45 days ago made it into the Java 7 feature list (page 12):

Tags :

Today's Task: Explain Just Copy My War File Into Your Webapps Folder

My contention is that you can't explain "just copy my war file into your webapps folder" without

  • first training him into a Java developer
  • and then teaching him the full Servlet Specification
  • and then showing him how a war file is really a jar file in disguise
  • and then how a jar file is nothing but a zip file
  • and that a zip file is sort of like a directory
  • and that the webapps folder is inside your servlet container
  • and that the servlet container will unzip your war file and put the result into a directory whose name is the same as the war file without the war extension
  • and that that directory name is really your context
  • and that the context is really something that you put at the end of your URL

In other words, forget about it.

Tags :

Java News Brief (JNB): Introduction to Grails

The March issue of the Java News Brief (JNB) is out. Jeff Brown gives an introduction to Grails—the "framework for agile web development using Groovy and Java."

Jeff Brown: Grails is a remarkably flexible framework while maintaining an ease of use that is unparalleled by other web application frameworks targeted for the JVM. Use the exercises in this article as a jump start with Grails and have fun exploring the possibilities.