↓ Skip to main content

Posts

2008

Spring Framework - the biggest missing piece

·561 words·3 mins
I am having the pleasure working with Spring 2.x since about October last year. It is my return back to Spring, after first encounter in 2005 (counting only larger projects). Same as in previous project, it has been so much fun :-). So much fun in fact, that I was spending my evening playing with code and reading up what is new in 2.5, rather that blogging ;-) I am still amazed about how nice is the whole thing designed and how many ways it can be used. It's flexibility is simply breathtaking. The price for the flexibility is complexity - sometimes it is not obvious what of many options should be chosen and what are all these options anyway :-).

Spring 2 MVC and ResourceBundleViewResolver problem

·129 words·1 min
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: [code language='xml'] [/code] and the view.properties was: [code language='xml'] 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 [/code] It kept givin exception saying that /WEB-INF/jsp/list.jsp does not exist. Which it did. I tried couple of things, no result.

Using iBatis with Abator

·457 words·3 mins
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 of the iBatis suite) to generate initial version of data mapping (as we inherited the database schema). Only necessary part is abator.jar (there are no other dependencies).

Steve's latest ...

·947 words·5 mins
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 very large amount of people. I was waiting with this post full day to allow the new-ity of the keynote sink in and reality distortion field to evaporate .... This is my take on the latest from Appleverse - and an answer to all who were asking whether I did already (pre)ordered and what :-). The answer is - nothing so far. I even have mixed feelings about the four Macworld news and here is why:

The best GTD tool is still a Wiki - part II

·590 words·3 mins
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 and actions. Action (or task or todo) is smallest building stone. The actions in GTD are really small actions. Every goal that requires multiple steps is a project - thus project has multiple actions. Context is an environment for executing the actions - e.g. Office, On-Line, Errands. Action can be in of the the state: "next" - ready to be started, waiting-for (something else needs to happen before you can start), future (something you may want to do later but not really a task right now) or done. OK, this is slightly oversimplified - for real explanation check the resources in Part I.

Safari Books Online and Lynda.com on iPod Touch

·258 words·2 mins
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 actually worth the time spent on them are Google technical talks from Google channel. Few examples of videos I watched and liked:

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

·176 words·1 min
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 that it is not native Cocoa app: You can also edit metadata, which is very important because of the limited screen space on PRS500. As added benefit, the application gives you a reader for LRF file format that allows reading unprotected LRF books on the Mac/Linux as well in addition to Windows. Here is a snapshot:

The best GTD tool is still a Wiki - part I

·891 words·5 mins
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 in stores outside of the narrow window around Christmas and Halloween (I am grateful for that :-)). In software world, the most seasonal category is tax preparation software, for obvious reasons. Taxes, like the dentist checkup are not something you will be crazy even thinking about, unless it is that time of year ....

JRuby - keeping your database.yml really DRY

·180 words·1 min
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' option rather than 'Bridged'. With NAT, you database host IP address will not follow the network. It was quite annoying to change it from 192.168.X to 192.168.Y everytime I reconnected at home from work or vice versa.

Free Microsoft Press E-Books !

·73 words·1 min
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 books on ASP.NET and .NET. See this blog for more details and download links.