Hi there,
According to my understanding of
http://javahowto.blogspot.com/2010/04/datasourcedefinition-examples-in-javaee.html
and
http://java.sun.com/javaee/6/docs/api/javax/annotation/sql/DataSourceDefinition.html
The following annotation, which is part of a no-interface SLSB defined inside a test.war package:
@DataSourceDefinition(
name="java:global/ClientesDS",
className="org.hsqldb.jdbcDriver",
url="jdbc:hsqldb:file:/tmp/data/cliente",
user="sa", password="")
Should register "java:global/ClientesDS" on the application server JNDI three. But when I deploy under JBoss AS 6.1.0.Final, the DataSource is registed as "java:internal/test/test/ClienteDAO/ClientesDS"
Am I wrong or is JBoss AS violating the spec?
[]s, Fernando Lozano