Articles
Tooltips are a great place to attach additional help information for users. However, you probably, like me, often forget about them in your application. Usually, tooltips are limited only to the title of an element, but you probably know that you can attach more content to them to make your application more pleasant for users. When I got the idea, I started to think about how I could do this, and how to implement it for my application in JavaFx. Then I came to this idea with a tooltip with delayed content.
Repository is an object responsible for storing entities states. It is used to find right objects and to store them for later use. Here I would like to show you how to implement a simple repository in Java using PostgreSQL database and JSONB type available there. The solution is very simple to implement. Although it has its weaknesses it is often the good enough one.
Optimistic locking is one of the concurrency control mechanisms. It can help avoid situations when one user overrides changes made by another one. When 2 users want to save the same object at the same time, we will reject one of them. The rejected user should review the new state of the object and decide if he still wants to do the update.
Choosing a framework is quite an important and binding decision, which is difficult to change later. This decision will significantly affect the development of the application, as well as its future maintenance costs. Do we have to make it for sure?
I have been developing projects with and without frameworks. Now for some time, I develop applications without frameworks, and you know what? - it’s not so complicated at all. You can feel a lot of lightness and flexibility in your application.
Generally speaking, an application that does not use the framework is more independent, and I will try to explain this below.