I would like to have access to h2 console feature during development of my app. I am using JavaEE and wildfly as my application server.
I know that for spring boot we need to add follwing lines of configuration:
spring.h2.console.enabled=true
spring.h2.console.path=/h2
and than we have console at http://localhost:8080/h2/
But what about javaEE? How Can I access it? My pom has followin dependency to h2:
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>1.4.196</version>
<scope>runtime</scope>
</dependency>
and persistance.xml:
<properties>
<property name="eclipselink.logging.level" value="INFO"/>
<property name="eclipselink.logging.parameters" value="true"/>
<property name="hibernate.show_sql" value="true" />
<property name="javax.persistence.schema-generation.database.action" value="create"/>
<property name="javax.persistence.sql-load-script-source" value="META-INF/initial.sql"/>
</properties>