Struts2 CRUD sample
This is a sample Struts2 CRUD application migrated to run on a JBoss EAP 7. Data persistence (on Oracle) is managed by Hibernate.
1. Requirements
-
Install Red Hat Enterprise Application Platform 7.0.0 in someway.
-
Apply Red Hat JBoss Enterprise Application Platform 7.0 Update 05.
-
Download and install
ojdbc6.jar
(availabe on Oracle Database 11g Release 2 JDBC Drivers) on JBoss EAP 7.
-
-
Download and install Red Hat JBoss Enterprise Application Platform 7.0.0 Maven Repository.
-
Install Oracle XE in someway (pt-br).
-
-
Configure (and export)
SQLCL_HOME
variable pointing it to your installation. -
Oracle SQL will be used to run oracle SQL scripts.
-
-
Start Oracle Database
2. Steps
2.1. Test application (out of JBoss EAP container)
./oracle/create-links ./oracle/create-database ./oracle/install-driver-on-maven-repo mvn test