I just finished my personal project about writing a simple version of Apache Tomcat. The "simple version" means following the main structure and implementing the basic features of Apache Tocmat. The project does help me a lot in learning about how a server works. It was based on a book which explains the principles of Apache Tomcat. The project was only for educational use and definitely will not get into commercial use. I want to put it on github so my friends can also read it.
Do I need to add the Apache license2.0 to my project?
Also, do I need to follow the naming restriction when it is not a commercial product:
If you use the words "Tomcat" or "Apache" in your product name then you must call your product "... for Apache Tomcat". No other form of product name that includes "Tomcat" or "Apache" is permitted.
which is found on the official page of Apache Tomcat.
Sorry for the silly question, but I do not know much about copyright and licensing.
UPDATED
The book I mentioned contains the source code of Tomcat to help describing the features. Also, I have utilitzed a component of Tomcat jspc in my project. Sorry I didn't explain it clearly in my first post.
jspc). Sorry I didn't explain it clearly in my question.(I have edited it now). But I understand what you mean. I am still restricted to the license of Apache Tomcat in my case. Thanks! – Chaozy Sep 05 '20 at 01:47