Project Deployment to run independently

asked 2020-09-01 12:18:53 +0800

Awal gravatar image Awal

updated 2020-09-01 12:19:31 +0800

I have created a zk project and running it well using eclipse but I want to run the project independently. Can anyone help me, please that how I can build the project to run independently?

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2020-09-01 16:55:52 +0800

cor3000 gravatar image cor3000
5833 2 7
ZK Team

updated 2020-09-01 16:57:16 +0800

You'll have to create/build/export a war file in order to deploy it in an application server, such as tomcat, jetty, glassfish, wildfly, etc.

(You haven't specified) In case you have a maven war project the default build command is mvn clean package.

Alternative (advanced):

If you need a standalone jar file runnable by itself (without a separate application server), please checkout springboot and our related zkspringboot integration library which also contains several demos runnable from command line independent of any IDE and are easily runnable inside any Java IDE.

However, your question indicates that you're quite new to java servlet applications and war files in general. So the concepts of springboot (hiding/automating the details) might not be the most beneficial for you to start with.

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

1 follower



Asked: 2020-09-01 12:18:53 +0800

Seen: 10 times

Last updated: Sep 01 '20

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More