This repo contains a simple tomcat-9 project, showing a JSP made full of bad practices. At least, 14 has been identified. This is just one way to show (among many other ways) how you can write code, but you can NOT write Software.
In order to test this example of "bad things" to be done when making Software, you should:
- Create a directory for this experiment
- Clon this repo in that directory
- Update the '.sh' files for them to reflect the directory of this experiment
- Start our dockerized DB
- Restore the script for that DB
- Change the IP (172.31.92.214) for the one in your host machine in fle: webbapp/lista.jsp
- Start our dockerized tomcat
- Test it with: http://your.ip.or.localhost/webapp/list.jsp
For his to work, it needs:
- A machine with docker and GIT (this works better if the host machine is new without any other servcie using reserved ports and docker names)
That's it :)
UNO DOS