Java Read Amazon S3 Object as String

In previous post you saw how to delete several S3 objects from Amazon S3 using Java AWS SDK. Today I'll show how to read specific S3 object and convert it to...

Delete Objects from Amazon S3 Bucket using AWS SDK for Java

In previous post you saw how to Get list of files and folders from specific Amazon S3 directory. Today I'll show how to delete a list of objects from S3 bucket. Please not that...

Java Run Sudo Command on Remote Linux Host

It turns out that to run sudo command on remote Linux machine via your Java code is a tricky task. The problem is that when you connect to the machine and...

Creating Simple RESTful Service in Kotlin and Spring Boot

Today you'll see how to create a simple RESTful web service using Kotlin and Spring Boot. This article is adapted for those who are not familiar with Kotlin and Spring Boot...

Java Stream API groupingBy examples

For inexperienced developer usually it is hard to imagine the real benefit of using Java Stream API instead of regular for/foreach cycles. Today I'll show several examples that will help you significantly...

Java Dependency Injection Simple Example

Today we'll see a simple code that shows what actually Dependency Injection is. Imaging that you have Student class, and several different loggers for this class. Each logger prints messages in his own...