Problem of deadlocks exists in all programming languages with lock-based synchronization. And even more, if the language has message passing synchronization program can still be stuck in deadlock at database level. Down here I’ll write a Java JDBC example of database deadlock:Continue reading “Database deadlock example”
At the end of the 2019 Google Play announced that starting from the beginning of 2021 new submissions of apps with Google Play Billing implementation based on AIDL would be rejected at review. All newer versions of apps should use Google Billing Library 2.0+ instead.
Here are my thoughts and notes about implementing Billing Library 2.0 support from the perspective of backend engineer.Continue reading “Google Play Billing acknowledge implementation”
MongoDB has vast support for arrays but syntax seems to be complicated at first glance. Performing array operations using MongoDB Java driver abstractions is a bit trickier.Continue reading “MongoDB array $push tutorial for Java”
Many people hate to update their software. Every time you have a risk to ruin an app, its data or even an entire system.
Blog platforms as WordPress are not an exception. Because of this you are guided to backup your files and database at the very beginning.
I had covered full WordPress backup from cli in a minute previously.
All WordPress owners are struggling with WordPress platform updates or new plugin releases. And only really brave one deals with it without making a full backup of files and wordpress database.
There is no need to introduce such popular document-oriented database as MongoDB.
So let’s go straight to the point.
Continue reading “Where are MongoDB database and config stored”
Got interesting collision while trying to implement flutter navigation while WebviewScaffold rendered on the screen.
My project uses flutter_webview_plugin: ^0.3.9+1.
A named route is pushed onto navigator from an AppBar of the webview_plugin’s WebviewScaffold like this:
Continue reading “Flutter route navigaton from webview_plugin and back”
After attempt to add Firebase client library com.google.gms:google-services:4.3.2 into root level Gradle config build.grade, I caught error during Android Studio syncing:
Caused by: org.gradle.internal.event.ListenerNotificationException: Failed to notify project evaluation listener.
... 85 more
Caused by: java.lang.NoSuchFieldError: JAVA_LETTER_OR_DIGIT
Continue reading “Android Gradle plugin, issue with Google’s maven repo”
@ThreadSafe class not found compilation error occurs after updating your org.apache.httpcomponents:httpcore dependency version to 4.4.11 or above.
This httpcore version comes with:
Class org.apache.http.annotation.Immutable removed
Class org.apache.http.annotation.NotThreadSafe removed
Class org.apache.http.annotation.ThreadSafe removed
There is no need to tell about importance of JVM debugging some feature at development, test or sometimes even at production environment.
The Java Debug Wire Protocol (JDWP) and java agent library included into JDK provides the ability to debug java applications.
Continue reading “Java: local and remote JVM debugging — JDK 8, 9 and later”