Archive for January, 2008

Spring 2 MVC and ResourceBundleViewResolver problem

24-January-2008

This one took some time to figure out - it is one of those problems that are obvious after you know the solution but hard to see beforehand.
I had the ResourceBundleViewResolver configured with Tiles 2, like this:

<bean id="viewResolver" class="org.springframework.web.servlet.view.ResourceBundleViewResolver">
<property name="order" value="0"/>
<property name="basename" value="views"/>
<property name="defaultParentView" value="parent-view"/>
</bean>

and the view.properties was:

parent-view.(class)=org.springframework.web.servlet.view.JstlView
parent-view.(abstract)=true

about.url=/WEB-INF/jsp/about.jsp
form.url=/WEB-INF/jsp/form.jsp
list.url=/WEB-INF/jsp/list.jsp

It kept givin exception saying that /WEB-INF/jsp/list.jsp does [...]

Using iBatis with Abator

20-January-2008

I am back to Java and on mission of re-discovering Spring coolness - and in awe how much was added since 1.2 to current 2.5.1. Thanks, SpringSource and hundreds of contributors.
Data layer of the current project is based on iBatis and Spring DAO. We have decided to try out the Abator tool from Apache (part [...]

Steve’s latest …

16-January-2008

Of course, I mean the other Steve, Steve Jobs. My world is revolving around few Steves. Steve Jobs is usually Steve Nr. 2 - and no, Joel - the Steve #1 is definitely not Ballmer :-). But every year, for two brief occasions - Macworld and WWDC - Steve Jobs becomes Steve #1 for [...]

The best GTD tool is still a Wiki - part II

14-January-2008

Continuation of this post.
As every TiddlyWiki, the main building block of the MGTDTW (MonkeyGTD TiddlyWiki, if you are wondering what kind of monstrous acronym is that) is a tiddler. And the only one building block because everything is a tiddler. How does this map to the GTD approach ?
The GTD workflow works with projects, contexts [...]

Safari Books Online and Lynda.com on iPod Touch

11-January-2008

Last few weeks I have been using one application on iTouch much more than before: YouTube. Within my how wireless network, I can have an access to the videos on YouTube without sitting behind the computer - for example while walking on treadmill (I recommend walking slowly) or on a sofa :-).
Very interesting videos and [...]

Sony eReader format (LRF) viewer for the Mac, Linux and Windows

7-January-2008

Thanks to Kovid Goyal, the Sony Reader’s very own terrible software (iTunes wannabe) can very soon be decommissioned from my software collection. The libprs500 project, multi-platform solution written in Python works very well and allows to move data between Sony and your Mac / Linux / Windows. The UI is actually pretty decent, considering [...]

The best GTD tool is still a Wiki - part I

6-January-2008

Did you notice that there are seasons for software as well ? Similarly as with other merchandise, there are times during the year when many more people suddenly decide they need that one application X. Luckily, this trend is not as extreme as with e.g. Santa hats or carved pumpkins, which are impossible to find [...]

JRuby - keeping your database.yml really DRY

3-January-2008

I am experimenting in JRuby and use database in virtual machine (VMWare Fusion). This is great because you can have multiple versions of multiple databases ready without polluting the notebook. One downsize though is that IP address of the database will change between the VM restarts.
First important setting in Fusion is to use the ‘NAT’ [...]

Free Microsoft Press E-Books !

2-January-2008

Microsoft Press is handing out 3 books:
- Introducing Microsoft LINQ by Paolo Pialorsi and Marco Russo
- Introducing ASP.NET Ajax by Dino Esposito
- Introducing Microsoft Silverlight 1.0 by Laurence Moroney
Silverlinght 1.0 is probably a bit outdated (with 1.1/2.0 close), but the others should be good, judging by the authors. Dino Esposito wrote couple of very good [...]

Face(book) time

1-January-2008

It is a tradition to do crazy and wild things on New Year’s Eve. Some people play with fireworks and other noise making devices, other tend to celebrate the end of year by partying and drinking. I am not big fan of explosives and to sacrifice too many neurons to honor randomly chosen point on [...]