jooq/jOOQ-examples/jOOQ-javaee-example
2015-05-26 16:24:39 +02:00
..
src/main Updated copyright to 2015 2015-01-09 08:57:16 +01:00
.gitignore
LICENSE.txt Updated copyright to 2015 2015-01-09 08:57:16 +01:00
pom.xml Upgraded jOOQ Examples to jOOQ 3.6.1 2015-05-26 16:24:39 +02:00
README.md [#4214] Add jOOQ-meta-extensions artefact to group JPADatabase, VertabeloDatabase and others 2015-04-20 15:24:36 +02:00

Thanks for downloading jOOQ. Please visit http://www.jooq.org for more information.

To install and run this example, please check out the complete jOOQ repository first, and use Maven to install the latest SNAPSHOT version of jOOQ:

$ pwd
/path/to/checkout/dir
$ ls
jOOQ jOOQ-meta jOOQ-codegen ...
$ mvn clean install
...
$ cd jOOQ-examples/jOOQ-javaee-example
...
$ mvn clean install

After the above, you should find a jooq-javaee-example.war file in

$ pwd
/path/to/checkout/dir
$ cd jOOQ-examples/jOOQ-javaee-example/target
...

You can deploy this war file in your WildFly AS or any other application server. The example will use an embedded H2 database, which should be pre-filled with the library example H2 database. It uses a non-managed DataSource, which is configured and consumed directly by the application itself.

For more information about how to setup a WildFly project using EJB, please visit the WildFly Quickstart projects, e.g.: https://github.com/wildfly/quickstart/tree/master/ejb-in-war