Archive for 'Java'
Passing reference data to the success view
When using Spring’s SimpleFormController, the default behaviour is to pass reference data to the form view, but not to the success view. However it’s very easy to override this behaviour, and access the reference data from the success view as well.
To do this, override the 4-argument onSubmit method like this:
protected ModelAndView onSubmit(HttpServletRequest request, HttpServletResponse response, [...]
Posted: March 17th, 2007 under Java, Spring.
Comments: 2
Subversion plugin for History Flow
Following on from my post a few weeks ago about the API for History Flow, I’ve made a plugin for accessing files in Subversion. You can download the plugin JAR file here, or get the source code (in the form of an Eclipse project) from here.
To use it, you’ll need a few additional JARs:
javasvn.jar (JavaSVN)
swixml.jar [...]
Posted: September 23rd, 2006 under Java.
Comments: none
Spring 2.0 Seminar
Today I attended Rod Johnson’s Spring 2.0 seminar in London. Rod spoke about the new features of Spring 2.0, which is scheduled for release at the end of September.
Simplifying Spring seems to be one of the main goals of 2.0. The new configuration syntax will make things a lot more readable; it’s also possible to [...]
Posted: September 19th, 2006 under Java.
Comments: none
Creating EJBs with XDoclet
I’ve been meaning to have a look at XDoclet for a while now, and finally got round to figuring out how to use it when developing EJBs today. XDoclet 1.2.3 is the most recent stable version. However, the component of XDoclet that parses source code - XJavaDoc - doesn’t support Java 5 code (that uses [...]
Posted: September 4th, 2006 under Java.
Comments: none
History Flow API
In March 2005 IBM released History Flow, a tool for visualising the evolution of documents over time. The tool has been designed to allow new plugins to easily be added, but at the moment it isn’t open source, and there isn’t any documentation for the API. Fortunately the API isn’t too difficult, so I thought [...]
Posted: September 2nd, 2006 under Java.
Comments: 1