I can sucessfully access the DataStore using JNDI, but cannot access it when
I am using @RESOURCE annotation.
I do not use JPA. I though that I do not need JPA for @RESOURCE annotation
Here it is the code:
* private* @Resource (mappedName=jdbc/Cobra)
DataSource ds;
*public* DataSource
alla winter wrote:
TOMCAT 5.5.25; Windows XP, JDK 1.5.0_17. Currently I am trying to use
Tomcat from IBM RAD
What makes you think annotations are even supported with that
combination? Hint: read the 2.4 Servlet spec.
Mark
I would appreciate if you can tell me specifically what is wrong. thanks
On Wed, Jul 8, 2009 at 1:04 PM, Mark Thomas ma...@apache.org wrote:
alla winter wrote:
TOMCAT 5.5.25; Windows XP, JDK 1.5.0_17. Currently I am trying to use
Tomcat from IBM RAD
What makes you think annotations are
From: alla winter [mailto:alla1.win...@gmail.com]
Subject: Re: usage of @resource annotation
I would appreciate if you can tell me specifically what is wrong.
Is it too hard to read the servlet spec? Questions to ask yourself:
1) What servlet spec version supports use of annotations?
2
thanks
On Wed, Jul 8, 2009 at 1:28 PM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
From: alla winter [mailto:alla1.win...@gmail.com]
Subject: Re: usage of @resource annotation
I would appreciate if you can tell me specifically what is wrong.
Is it too hard to read