Covers creating a new Spring MVC web application without Spring XML configuration files or a web.xml file. A good introduction to the Spring Web MVC framework for web applications.
Tag Archives: java
Example of debugging a multi-threading deadlock in Java using VisualVM.
I upgraded my work mack to OSX 10.7 Lion today, and, to my surprise, there was no Java runtime installed. When I went to launch the .jnlp from our KVM device, it alerted me that there wasn’t one installed and, if I wanted, it would find and download one for me.
An example of using UUID primary keys and JPA (Java Persistence API), serializing the UUID to a byte array, and back into a UUID.
A quick way to determine the MIME type for a file is to check the extension of the file against a mapping of known extensions to MIME types. The Apache web server provides a good list of known mappings that is easy to parse