![]() Install a Datasource as a module on WildFlyįor our example, we will use PostgreSQL Database. For this reason, a driver can be installed as a module (that is, static deployment) or it can be deployed as any normal application. WildFly automatically recognizes any JDBC 4 compliant driver. H2 is a Java SQL database, used mainly as an in-memory DB for testing purpose with SQL support. Out of the box, WildFly ships with a default configuration, which includes the ExampleDS datasource, bound to the “H2” driver. For this reason, for WildFly to provide database integration, it needs a Driver and a Datasource. The datasource, in turn, uses a Driver to communicate with the underlying database. A Datasource is the component used by Enterprise applications to connect to the database.
0 Comments
Leave a Reply. |