Hello everybody,
I have been struggeling a long time with this problem, but didn't solve it.
I have a tomcat server 6.0.24 and try to use the resource annotation to get
ms sql database access. It works fine if i do a jndi lookup without
annotations, but if I try to use resource injection my Data
Thank you, that helped a lot! I am new to j2ee... I have a lot of application
logic that will be used without representation as a jsp or a servlet:
objects that extend TimerTask and register at a timer objekt. they execute
code which accesses a database (importer classes that collect data from
di
@gurkan & Chris: actually I don't want to use the resource directly in a
servlet or JSP - due to architectural reasons - so is there a way to inject
resources into plain java classes?
@Pid: Thanks for the Information. I will check out the spec and hope that it
is not too much to read ;-)
And tha