Jump to content

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


cridus

Recommended Posts

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...