I'm currently new to deployment with Java and getting confused with jar and war. If someone can clear my couple of questions below
Do I need to convert my jar (Java spring services) to war and deploy on Jboss/Tomcat? or I should copy my jar on prod server and run java -jar "jar name" with nohup.
What should be the ideal production deployment approach?
It's an enterprise level application. Can someone please help me how do I deploy jar app in EC2 production server.