JBoss seam reference section 1.2.1.8 contains the following instructions
The persistence.xml file tells the EJB persistence provider where to find the datasource, and contains some
vendor-specific settings. In this case, enables automatic schema export at startup time.
<persistence-unit name="userDatabase">
org.hibernate.ejb.HibernatePersistence
<jta-data-source>java:/DefaultDS</jta-data-source>
</persistence-unit>
How to create this DSN ? Is this data source similar to Websphere datasource ? Is there a way where we can create this through Eclipse IDE and map it to corresponding database ? please clarify.
It's very much like a WebSphere DataSource, which is just a DataSource bound to JNDI. Looks at the examples, particularly in the file jboss-beans.xml for how to do this with JBoss.