Jump to content

[Answered] Can I deploy a jar file made with Spring Boot?


Recommended Posts

Posted

So, I need hosting for the backend of a small application I'm doing. It's very simple and I made it with Spring Boot. This allows me to run the compiled .jar file just with

java -jar TheJarFile.jar
(assuming the jar's name is "TheJarFile.jar").

It runs on its own, self-contained Tomcat.

 

Is it possible to use something like this in your servers? Or do I absolutely need to have a .war file?

 

 

Side question: do I need to prevent by myself people from trying to DDoS me (it's not very likely but it's possible) or do you already protect your servers from that kind of things?

 

Thanks for the help.

Posted

It must be something that can run through our cPanel/Apache instance of Tomcat, so it'd need to be a WAR. We don't allow custom daemons or other standalone applications that run their own server.

Posted (edited)

Ok, I suspected that. I'll have to find out how to make it become a .war...

Edited by cridus
Posted (edited)

I guess you don't use Java 1.8, right? I haven't seen it written anywhere.

 

Edit: nevermind, I managed to make a .war and to make it run with java 1.7.

Edited by cridus

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...