In RAD, the following declaration will produce error:
@Resource(name="dataSource")
public void setDataSource(DataSource dataSource) {
this.jdbcTemplate = new SimpleJdbcTemplate(dataSource);
}
while in eclipse the above code will be working very well.