eclipse - Running Maven project on glassfish server -
i want run web based maven project on glassfish server. totally new on maven. however, have build maven project , glassfish server , running also. moreover, there war file in target folder confused next step run project on glassfish ?
any highly appreciated.
you have different options solve task:
if new eclipse suggest change netbeans. comes integrated support application server deployments. add maven (or other type of project war, ejb , ear) project , desired application server instance (glassfish) , ready: right-click project , choose
deploy
, it'll deployed server. netbeans supports hot-deployment.you can deploy war file manually in
glassfish_root/glassfish/domains/domain1/autodeploy
, it'll deployed if server running. not efficient during development.if want stay eclipse can use maven-glassfish-plugin or maven plugin deployment you. i'm not sure 1 better topic discussed in this question , this question.
Comments
Post a Comment