This project contains an excessively commented Java servlet called TheLearningServlet along with other excessively commented files. It is meant as an introduction to servlets for anyone new to this technology. It is written to be explored and so there is not much that needs to be said here. It also does not do much, I leave that to you.
I have assumed that:
- you know basic Java programming
- you know how to setup a Java Application server such as Payara, WildFly, or others
- you can deploy a war file to your server
The project is Maven based and so should load and run in any IDE that support Maven which should be all of them.
It was written with Java 11 but it should run without any problem with Java 1.8. If you will be using Java 1.8 make sure you change the maven.compiler.source and the maven.compiler.target properties in the pom.xml file from 11 to 1.8.
Please don’t hesitate to let me know of any issues, bugs, or just plain wrongness on my part.
Ken Fogel
Twitter: @omniprof
April 17, 2020
Written with StackEdit.