Fedora 15 via Ubuntu 11.04

 I just installed Fedora 15 in my laptop. Unfortunately there was no option to do an online upgrade from Fedora 14 and so had to download the ISO image. In the meantime, I did try the Ubuntu 11.04 in my other laptop and I really got surprised by…

ModelMap vs Sessions

I found a peculiar problem today. Normally when I make controller methods, I use a ModelMap object for carrying data from the method to the jsp. Using these in spring mvc allows me to access the data using the ${ } construct and jstl tags when needed. This…

Log4j Configuration

This is pretty simple stuff. Too easy if you ask me.  The log4j is a handy tool for handling logs for your application. Log4j can be configured to just display logs in console or to write logs in files. The above screenshot  shows how a typical console log…

Basic Hibernate : My first attempt

 Today I started on hibernate and this is about the basic stuff. More like a hello world. I just finished re-writting my LoginDao to use hibernate framework. This webpage has helped me to do this : www.vaannila.com/spring/spring-hibernate-integration-1.html Heres what I have done. This time instead of spending time…

Oracle in Fedora 14 x86-64

Finally after much research in the internet, I have successfully installed Oracle 11gR2 database in my Fedora 14 x86-64. As a side-note, Oracle is impossible to install in any of the debian based distros. Only the old school RPM based distros like Fedora, can be used. You might…

Using Datasource in Spring

Finally I have managed to use a datasource in spring. My database is called AKDB, which was created in Oracle Database11gR2. To use this database as a datasource, heres what I have done in my app : First, I created a jdbc.properties file. In the file I put…

Spring: Yet another surprise!

My demo code started working again and this time I see a pattern. This code was deployed into my weblogic server at the context root of “/”. When I changed it to something else like “aklogin”, I started getting the 404 errors again and all that I have…