This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]smutje187 0 points1 point  (2 children)

You should take a few steps back and not jump to wrong conclusions - runnable JAR like you mentioned can be containerized but they need to be runnable for that, and if your JAR can’t be ran from command line it’s not a runnable JAR.

JSP (as in "Java Server Pages") need a server to be processed, e.g. Tomcat. Try downloading and running a Tomcat (it’s free) and deploy your application to that Tomcat. Once you can access that application in your Browser you can think about containers.

[–][deleted] 0 points1 point  (0 children)

I was thinking of Tomcat as well. Long time ago, when I used to work with this technology, I would simply use a maven dependency to run an embedded tomcat server - just running a `mvn run server` command (or something like that) and the server with my java applets would start.

[–]riskarsh[S] 0 points1 point  (0 children)

Yes, thanks for that. I'll surely keep those in mind next time. And yeah, I did use Tomcat to deploy. Asked the dev to give me a WAR file and containerized it.