Creating your first Java EE 6 application with JBoss Forge
So Forge installation is quite easy; however, creating your first Java EE 6 application will be even faster! Although we can create rather advanced applications with Forge, for the purpose of learning we will just use a simple schema that contains a user
table, which can be built using the following command:
CREATE TABLE user ( id int(10) NOT NULL PRIMARY KEY auto_increment, name varchar(50), surname varchar(50), email varchar(50));
The first thing we need to do is to create a new project using the new-project
command. Execute from within the Forge shell the following commands:
new-project --named forge-demo --topLevelPackage com.packtpub.as7development.appendix –projectFolder forge-demo ...
Get JBoss AS 7 Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.