It is possible deploy a simple jar in tomcat and it run that???
A simple example,is just execute main and print a hello world :P
No, it's not. You have to create a web app that includes your jar and a servlet (as a bare minimum).
Have a look at this http://docs.oracle.com/javaee/6/tutorial/doc/bnafd.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With