Anastasiia's repositories

AbstractFactory

Create a game using the Abstract Factory pattern.

Language:JavaStargazers:0Issues:1Issues:0

Builder

Create a House class with the number of rooms, the presence of a pool. Use the Builder design pattern to create a House object. Create several House objects with different characteristics using different ConcreteBuilder and HouseDirector options. Output information about the House objects to the console.

Language:JavaStargazers:0Issues:1Issues:0

ElectricApplianceDAO

Determine the hierarchy of electrical appliances. Plug some in. Calculate the power consumption. Carry out sorting of appliances in the apartment based on power. Find a device in the apartment that matches the specified range of parameters. Use database access and DAO.

Language:JavaStargazers:0Issues:1Issues:0

FactoryMethod

A video game involves several types of characters. Each character has a name, a health level, a damage level, and a special ability. The wizards can cast spells, the warriors can block attacks, and the archers can shoot arrows. You have been tasked with implementing a factory method to create these characters.

Language:JavaStargazers:0Issues:0Issues:0

FactoryMethodMavenHibernate

Create a new database using MySQLWorkbench, Maven project and set it up properly, hibernate.cfg.xml settings file, create with using hibernate a new table with initial value.

Language:JavaStargazers:0Issues:1Issues:0

FromFormToFileSpringMvc

Create a controller and an HTML form, from which data will be written to a file, and after sending the form, a message will be displayed about the successful operation and the number of records for the entire time the application is running.

Language:JavaStargazers:0Issues:0Issues:0

GradleHibernateBook

Get a Book object and a collection of objects. Get a specific Book by id. Add New Book. And this is all implemented in the BookHelper class.

Language:JavaStargazers:0Issues:1Issues:0

HibernateAnimal

Create a new database using MySQLWorkbench, Gradle project and set it up properly, hibernate.cfg.xml settings file, Animal(int age, String name, boolean tail) class with get and set methods, as an entity to our table, with using hibernate a new table with initial value.

Language:JavaStargazers:0Issues:1Issues:0

HibernateDelete

In the BookHelper class add methods for deleting a book by id and by author.

Language:JavaStargazers:0Issues:1Issues:0

HibernateFlush

Loop through 200 author objects and save them to the database. Field values can be any. Use the flush method for every 10 objects. Execute the commit method once at the end.

Language:JavaStargazers:0Issues:1Issues:0

HibernateFlushLogging

Set up project logging

Language:JavaStargazers:0Issues:1Issues:0

HibernateManyToMany

Using MySQL Workbench to rewrite the database so that one book could be written by several authors, also one author can write several books. Implement a many-to-many relationship.

Language:JavaStargazers:0Issues:1Issues:0

HibernateSelectDelete

Write a method for selecting by searching for an expression, and rewrite the createCriteria and createCriteriaLogic methods correctly

Language:JavaStargazers:0Issues:1Issues:0

HibernateUpdate

Update the name field for all records whose last_name field value length is greater than 7 In the name field, write the value "1" * Task for independent search for solutions.

Language:JavaStargazers:0Issues:0Issues:0

HibernateUpdateAuthorById

Add a method to update the author's name by id.

Language:JavaStargazers:0Issues:0Issues:0

JpaHibernateAnimal

Create a new database using MySQLWorkbench. Create a regular java project and connect the JPA and Hibernate libraries to it. Create a file with persistence.xml settings in the META-INF folder. And create an Animal class with get and set methods as an entity to our table. And using jpa to make crud in the AnimalHelper class.

Language:JavaStargazers:0Issues:1Issues:0

Json4Currencies

Using JSON, connect to the NBU and find out the current exchange rate.

Language:JavaStargazers:0Issues:1Issues:0

JsonSpringMvc

Create a new controller with a different mapping that will only accept Get requests and return randomly generated information in JSON format.

Language:JavaStargazers:0Issues:1Issues:0

PojoDiIocQuest

Create the Quest interface and several of its implementations, as well as the Knight class. A knight can accept any implementation of the Quest interface and complete that Quest successfully. Use new knowledge about POJOs, DI & IoC while doing the task.

Language:JavaStargazers:0Issues:1Issues:0

Prototype

You are developing a system for managing products in an online store. One of the tasks of the system is to create copies of products for editing or creating new products based on existing ones. You need to implement this functionality using the "Prototype" design pattern.

Language:JavaStargazers:0Issues:1Issues:0

Singleton

Write a program for tracking sales in an online store using the Singleton pattern.

Language:JavaStargazers:0Issues:1Issues:0

SpringAopAfterThrowing

Implement the Exception output aspect. Create a method of dividing numbers. In case of an error: displays it on the screen.

Language:JavaStargazers:0Issues:0Issues:0

SpringAopExecutionSpeed

Display the execution speed of only those methods that are marked with @ShowTime. Output results to the console only for those methods marked with @ShowResult. Create @ShowTime and @ShowResult yourself.

Language:JavaStargazers:0Issues:1Issues:0

SpringAopFolderNameStatistic

Add folder name output. Display statistics by extensions.

Language:JavaStargazers:0Issues:1Issues:0

SpringAopTwoMethodsToPrint

Display the runtime of only those methods that return the Map type. Split the print method into 2 types: the first prints only Set, the second prints only Map.

Language:JavaStargazers:0Issues:1Issues:0

SpringConfigCandy

Create a new class with multiple fields. Some fields must be set using the constructor, some using the setter method, and some using the init method, which you must specify when you declare the bean in the configuration. Transform the XML configuration into a Java configuration. Create a Map bean in the XML configuration.

Language:JavaStargazers:0Issues:1Issues:0

StaticFactoryBook

Сreate a Book class, which represents a book with a title, author, and year of publication. To create an instance of the Book class, you should use a static factory called BookFactory

Language:JavaStargazers:0Issues:1Issues:0

StaxParserCandies

Create an xml-document candies.xml, with a root element that will contain several candies with characteristics. Using the StAX parser, get the Candy collection from the xml file.

Language:JavaStargazers:0Issues:1Issues:0

TightLooseCouplingUser

Change the strongly coupled code to loosely coupled on the example of the User class.

Language:JavaStargazers:0Issues:1Issues:0

XmlPrintInsideTag

Using file manipulation, output not all the contents of the XML document, but only what is inside the tag.

Language:JavaStargazers:0Issues:1Issues:0