On Sun, Oct 27, 2013 at 1:44 PM, Arun Gupta <arun.gupta(a)gmail.com> wrote:
- Java EE 7 runtime require a database to be provisioned at runtime.
GlassFish download comes bundled with JavaDB. What is the typical
choice for WildFly developers ?
There is not a database server, but users can setup a h2 database in
tcp server mode.
What is the actual JDBC resource name ?
There is
https://issues.jboss.org/browse/WFLY-2027 "EE Default
DataSource is not working"
Discussion:
http://lists.jboss.org/pipermail/wildfly-dev/2013-September/000778.html
However, wildfly provides a default datasource, if you see at
datasource subsystem in either domain.xml or standalone.xml, there is
<subsystem xmlns="urn:jboss:domain:datasources:1.1">
<datasources>
<datasource
jndi-name="java:jboss/datasources/ExampleDS" pool-name="ExampleDS"
enabled="true" use-java-context="true">
<connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1</connection-url>
<driver>h2</driver>
<security>
<user-name>sa</user-name>
<password>sa</password>
</security>
</datasource>
<drivers>
<driver name="h2"
module="com.h2database.h2">
<xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>
</driver>
</drivers>
</datasources>
</subsystem>
- Are any RI from GlassFish are used in WildFly ?
AFAIK there is JSF-RI (mojarra) in
modules/system/layers/base/com/sun/jsf-impl/
--
Claudio Miranda
claudio(a)claudius.com.br
http://www.claudius.com.br