Skip to content
This repository was archived by the owner on Oct 3, 2021. It is now read-only.

mark-vrb/java-learn

Repository files navigation

Welcome to java-learn

My Java language university learning. Builded with IntelliJ IDEA. Database dump for agile-tool projects made by MySQL Workbench is placed in db-dump folder.

  1. Hello world

Simple hello world application with two classes in two different packages. Folder just-hello.

  1. Containers

Class for performing math operations with matrices, such as multiplying. There are two realizations of Matrix class. One of them based on ArrayList, another - on LinkedList. Simple console app tests performance of this two realizations. Also included unit tests for all public methods in Matrix and Vector classes. JUnit library was used for this purpose. Folder matrix-math.

  1. Strings IO

  • Class SymbolsUsageStatistics can read text file and calculate statistics of usage for all symbols from this file.
  • Read/write from/to file for Matrix class (arraylistbased) with Reader and Writer.
  • Serialization for Matrix class (arraylistbased) with ObjectInputStream and ObjectOutputStream.
  1. Threading

Queuing system, representing Bank with Accounts, Cashiers and Clients. Clients working in own threads and each has a Pocket. There is another thread for Watcher, which tracking amounts of money on Accounts and in Pockets and checking that summ of amounts is not changed. Placed in folder threading.

  1. Jdbc

DAO layer for agile-tool aplication with simple CRUD logic. Using jdbc connector for MySQL. Entities: User, Board, BoardColumn, WorkItem, BoardUserRole. Corresponding scheme should be deployed to local instance of MySQL.

  1. Unit testing, logging

Unit tests with JUnit4 for DAO layer of agile-tool app, errors logging with Log4j2. Log4j2 package added via Maven. Log4j settings file log4j2.xml added to resources folder.

  1. Build tools

Maven settings file pom.xml for agile-tool project created and configured.

  1. Java Servlets

REST API implemented on Java Servlets. Placed in project agile-tool-servlet. Web interface for REST API in simple Html pages with Javascript.

  1. JSP

Sample JSP application with custom tags in layout and Java code. Project agile-tool-jsp.

About

My Java learning

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •