Friday, January 1, 2021

How I automated my tasks with AWS

In this article I want to describe how Amazon Web Services helped me to automate my tasks.

I have an Android application which provides parking information for the users. A scheduled Android job checks for updates every 4 hours. Updates can be found in a static Json file hosted on Firebase Hosting. This Json file has a specific structure, but it differs from the source, where all data comes from. There is another file called config.json which contains the version number of the data. Although it's a cost-effective way to store minimum amount of data, but it was a pain in the ass to maintain it.

Tuesday, December 29, 2020

Create deployment to Firebase Hosting with Java

In this article I'd like to introduce "firebase-hosting-api-java", which is an API library for Firebase Hosting REST API written in Java 8. It supports all available V1Beta1 services, such as query the releases, delete deployment versions and so on. From version 0.4, theres a common service called createDeploy(), which is a combination of all deployment related function, and this is the recommended function for deployment.

Saturday, November 7, 2020

Useful Enterprise Java resources

 I've collected a huge list of useful URL's related to Java EE development. The collection is not complete :)

https://github.com/szrnka-peter/JavaEEResources

Monday, August 12, 2019

Proxy connection manager service for Spring Boot

In some special cases, like company security policies, our services are blocked by firewalls, the only chance to use the internet connection for our software is to setup an HTTP/HTTPS/FTP/etc. proxy connection. In this article I'll introduce my idea to solve this problem, when our webservices based on Spring Boot.

With this, we don't have to deal with system properties: (https://docs.oracle.com/javase/6/docs/technotes/guides/net/proxies.html).

Wednesday, March 13, 2019

WorkManager in practice Part II: Periodical Workers and Constraints

In the previous article we discussed the One Time Workers, and the basics of WorkManager. In this tutorial we'll see how to create PeriodicWorkerRequest. We'll use the same project which is used in the previous part of this tutorial.

Android WorkManager in practice Part I: One Time Workers

WorkManager is an API to schedule deferrable, asyncronous jobs. This is one of the JetPack's best component and it's released only one week ago. Now I want to introduce it in a nutshell. To be honest, I've been waiting for a library like this FOR YEARS.

Sunday, February 10, 2019

Checking your Android application code with Lint

In Android application development it's a standard to check and improve the code and it's quality of your app. You can easily do it with the Android Studio's built-in function, Lint.

Configure and use VSCode for Java web development

Embarking on Java web development often starts with choosing the right tools that streamline the coding process while enhancing productivity...