Archive for January, 2011

How to implement Master/Detail forms using Spring Roo

How to implement Master/Detail forms using Spring Roo
I jumped in the Spring Roo wagon since version 1.1.0M1. The first thing I wanted to do after got used to it. It was to try typical requirements that come very often in the work of a Web Developer. I needed a wep app to work on, so I came up with World Alamac by jD. Basically, WorldAlmanac web ...

Spring Roo: Two Databases Configuration

Spring Roo: Two Databases Configuration
I've seen very often a recurrent question on Spring Roo forums. The question is "How to configure the application to handle two databases".Certainly this is a more ample question to Spring Roo only, due it involves JPA and the Spring persistence stack. So, I believe it will be of interest to all the Spring development community ...

Dynamic unread count Favicon in PHP

Dynamic unread count Favicon in PHP
Gmail has just launched small but really useful feature in Gmail Labs. Dynamic Favicon showing unread email counts directly in your browser tab icon. If your browser window has lots and lots of tabs open at anytime, this might be really a wonderful feature that lets user know ...

Your first Play! – GAE – Siena application: Tutorial with Example

Your first Play! - GAE - Siena application: Tutorial with Example
Convention over configuration has became a buzz word these days. It is a software design paradigm which seeks to decrease the number of decisions that developers need to make, gaining simplicity, but not necessarily losing flexibility. More and more web frameworks are using this approach and making web development simple. Ruby on rails, DJango, Grails, CakePHP, ...

Tutorial:Saving/Retreving BLOB object in Spring 3 MVC and Hibernate

Tutorial:Saving/Retreving BLOB object in Spring 3 MVC and Hibernate
Working with BLOB / CLOB data types in database is sometime a trivial task. I found particularly when working with Hibernate 3 to store and retrieve BLOB objects we need certain things to be taken care of. Let us see a tutorial where we will using Spring 3 MVC and Hibernate 3 to store and retrieve ...

Java: Convert Exponential form to Decimal number format in Java

While working with Doubles and Long numbers in Java you will see that most of the value are displayed in Exponential form.For example : In following we are multiplying 2.35 with 10000 and the result is printed.//Division example Double a = 2.85d / 10000; System.out.println("1) " + a.doubleValue());//Multiplication example a = 2.85d * 100000000; System.out.println("2) " + a.doubleValue());Result:1) 2.85E-4 2) 2.85E8Thus you can see the result is ...
Tags: ,