Last active
August 29, 2015 14:19
-
-
Save thjanssen/e5e73369970c1c54b902 to your computer and use it in GitHub Desktop.
JBoss Forge - Speedup your enterprise development (http://www.thoughts-on-java.org/2013/09/rapid-application-development-with.html)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
entity --named Book | |
field string --named title | |
field temporal --type DATE --named publicationDate | |
field int --named pages |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new-project --named ForgeExample --topLevelPackage blog.thoughts.on.java.forge |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
field oneToMany --named books --fieldType blog.thoughts.on.java.forge.model.Book.java --inverseFieldName author |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
persistence setup --provider HIBERNATE --container JBOSS_AS7 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scaffold setup | |
scaffold from-entity blog.thoughts.on.java.forge.model.* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
forge install-plugin jboss-as-7 | |
as7 setup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment