This repo contains solutions to five excercises in Java from my studies. The objective was to learn and practice the basics of the Java language, its application into webs and databases, also the MVC architecture, and Java coding conventions. The initial problem, purposed for the model of the program, was integral calculating.
IntegralCalculation - basic console application consisting of controller, view, model solving the integration problem, and custom exception.
IntegralCalculation2.0 - improved version of the first program, using standard collections, a generic type, annotations, and other techniques. Unit tests of the model are defined too.
IntegralCalculationTCP-IP - consists of two seperate projects, one for server, and the other one for the client of the application. The application uses TCP/IP protocol to transfer data between client and server so that the server processes calculations in the model and responds to client's requests.
IntegralCalculationServlets - simple web application running on localhost that uses HttpServlet class to respond to client's requests.
IntegralCalculationDB - extended version of IntegralCalculationServlets, adding a database on localhost that stores the history of performed calculations, also available to be read by the client.