The question is, whether use command line + NetBeans, eclipse with JBoss Tools or JBoss Studio to deploy our project.
For deploying we will use plugin for maven jboss-as.
Process throw the command line is clear. Above is manual to start server and maven plugin jboss-as. When you go to the directory with project and run command mvn package jboss-as:deploy (next time you can run command
mvn jboss-as:deploy
to redeploy)
and in browser (
localhost:8080/your-app/) you should see your app
.
JBoss Studio
You can download it here. It´s based on Eclipse. So the using of WildFly here is very similar to using it in Eclipse with JBoss Tools plugin. Eclipse will be probalby better for us because it is much more general.
Eclipse
How was meantioned above, there is JBoss Tools plugin for eclipse. For starting server and deploy click on Run as... -> Run on Server. There is also plugin for GWT, thats why we will propably decide to use this.
The result of this article is use IDE as usually because the work is faster with known enviroment than the new one. Deployment is almost same. :)
No comments:
Post a Comment