Institutional Repository of Vilnius University
Java kodo skirstymo į paketus funkcinės strategijos variacijos ir palaikymas įrankiais /
Abstract
dc:descriptionIn object-oriented programming world feature-based packaging strategy (also known as package by feature) gains more and more popularity. Results of the previous research paper conducted by the author show that feature-based packaging strategy helps with reducing system package coupling and increasing system cohesion as well as encapsulation and scalability more than its alternative – layered packaging strategy. Despite the increase in its popularity, there is still a lack of formalized feature-based strategy variations. The lack of technical support tools tailored for this packaging strategy based structure creation, maintenance and validations is observed as well. This paper presents possible answers to usually occurring questions regarding the process of choosing the variation of a feature-based strategy (out of many possible different variations). The two main topics are under investigation: ways to group classes into separate functional packages and ways to manage dependencies between the packages. Pros and cons of each decision are discussed having in mind general object-oriented programming principles. Conclusion was made that exact recommendations on how to group classes into separate functional packages are hard to make due to the lack of universal domain functionality definition. As for dependency management between the packages, the author recommends adhering to the well-known Dependency Inversion Principle and only allow package dependency flow to be bottom-up. The extension of ArchUnit library is presented in this paper as a technical tool, allowing for functional packaging strategy based architecture definition and validation in the system in form of unit tests. The extension is practically tested in several systems. The outcome shows that provided functionality can be used both in the early stages of system creation when defining the package structure as well as when gradually refactoring the existing system structure.
Degree
thesis:*- Grantor dc:publisher
- Institutional Repository of Vilnius University
- Year dc:date
- 2022
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Šuliokaitė, Agota,
Rights
dc:rights- Statement dc:rights
-
- info:eu-repo/semantics/openAccess
- Language dc:language
- lit
Identifiers
dc:identifier.*- Repository record dc:identifier
- https://repository.vu.lt/VU:ELABAETD146242465&prefLang=en_US