Using Dependency Injection in Java EE 5.0
Subject:   Error in using Dependency Injection
Date:   2006-11-06 02:21:24
From:   Varun.Khurana
When I type
' @Resource (name="jdbc/OracleDS")
private DataSource fooDS; '
in my IDE, I get a couple of errors which read:
1) class 'name' not found
2) formal parameter list: expecting ; ( This comes at the end of the first line

Any pointers for solving this?