Created
April 19, 2015 02:50
-
-
Save thjanssen/f67b2c2474808e80a81b to your computer and use it in GitHub Desktop.
JBoss Forge - Speedup your enterprise development - Part II RESTful Webservices (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
[ForgeExample] Author.java $ rest endpoint-from-entity --contentType | |
application/xml blog.thoughts.on.java.forge.model.*; | |
***SUCCESS*** Generated REST endpoint for | |
[blog.thoughts.on.java.forge.model.Author] | |
***SUCCESS*** Generated REST endpoint for | |
[blog.thoughts.on.java.forge.model.Book] | |
Wrote D:\/dev/wrk4/forge/ForgeExample/src/main/java/blog/thoughts/on/java | |
/forge/model/Author.java | |
Wrote D:\/dev/wrk4/forge/ForgeExample/src/main/java/blog/thoughts/on/java | |
/forge/rest/AuthorEndpoint.java | |
Wrote D:\/dev/wrk4/forge/ForgeExample/src/main/java/blog/thoughts/on/java | |
/forge/model/Book.java | |
Wrote D:\/dev/wrk4/forge/ForgeExample/src/main/java/blog/thoughts/on/java | |
/forge/rest/BookEndpoint.java |
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
[ForgeExample] Author.java $ rest setup --activatorType APP_CLASS; | |
? What root path do you want to use for your resources? [/rest] | |
? In what package do you want to store the Application class? | |
[blog.thoughts.on.java.forge.rest] | |
? How do you want to name the Application class? [RestApplication] | |
***SUCCESS*** Installed [forge.spec.jaxrs.applicationclass] successfully. | |
***SUCCESS*** Installed [forge.spec.jaxrs] successfully. | |
***SUCCESS*** Rest Web Services (JAX-RS) is installed. | |
Wrote D:\/dev/wrk4/forge/ForgeExample/src/main/java/blog/thoughts/on/ | |
java/forge/rest/RestApplication.java | |
Wrote D:\/dev/wrk4/forge/ForgeExample/pom.xml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment