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:

  1. 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.

  2. you can deploy war file manually in glassfish_root/glassfish/domains/domain1/autodeploy , it'll deployed if server running. not efficient during development.

  3. 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

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -