Archive for the ‘Java’ category

Spring PropertyPlaceholderConfigurer with Velocity

2008/02/25

Part of the configuration magic is (one of several) Spring post-processors, that allows load the property file or files and refer to the values in these files inside XML configuration files. The rationale behind these is that property files are much easier to edit that possibly huge XML config file and using property values prevents [...]

Oracle SQLDeveloper and mystery of the missing host

2008/02/23

If you work with Oracle database, a very good tool you should not ignore is the Oracle SQL Developer. It gives you much more power when it comes to manipulating data or managing database. I use most of the time MyEclipseIDE plugins, but when I need e.g. export data, the SQLDeveloper is way to go. [...]

Book recommendation: Java Concurrency in Practice

2008/02/06

After long time, I stumbled upon something that is both educational and practical. Since Doug Lea’s classic, this is very readworthy work on concurrency in Java world. It focuses on Java 5 features and addresses both Web applications as well as GUI apps – each group having their own share of concurrency related problems Here [...]

Spring Framework – the biggest missing piece

2008/02/04

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 [...]

Spring 2 MVC and ResourceBundleViewResolver problem

2008/01/24

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: and the view.properties was: It kept givin exception saying that /WEB-INF/jsp/list.jsp does not exist. Which it did. [...]

Using iBatis with Abator

2008/01/20

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 [...]

Installation of Mongrel gem on JRuby

2007/12/23

I bought the Ola Bini‘s eBook on JRuby and started to work through the examples. The installation of the Mongrel gem in JRuby (trunk revision 5341 fails with the following error code: This error is logged in JIRA with id JRUBY-1771Workaround (possibly applicable for other gems is to explicitly specify the plaform:

Great Spring blog

2007/12/19

in case you have not noticed – Interface21 aka SpringSource (great name change, btw) runs a blog with lots of hidden treasures inside. Recent article describes new addition to Spring portfolio which is territory within my “watched space”: enterprise integration. See the blog entry for more. If you are in corporate space that is keen [...]

Ragioni per fare il grande salto

2007/11/09

During the vacation, we stopped in small bookstore in Verona which was selling computer software as well. At the entrance, there was a poster showing smiling Finder’s face, Apple logo and announcing reasons why you would want to make the big jump – il grande salto – to Mac platform. That is to explain the [...]

Installing ATG on Fedora Core

2007/11/08

Trying to install ATG on the Linux platform turned out to be not completely hickup-free. The default installer died with the following message: Fortunately, the fix was easy after I found out what went wrong: incorrect assumption about kernel version. To make it work, this “hack” helped: None of this of course happens on Windows [...]


Follow

Get every new post delivered to your Inbox.