IntelliJ IDEA – Import Spring Boot Maven / Gradle Project

This is how to import spring boot with maven or gradle project in intellij idea. 1.Open your intellij idea 2.In top left menu, choose “File” -> “New” -> “Project from existing sources…” 3.Choose your project in your local disk, but make sure there is a pom.xml or .gradle file inside your project. Then click “OK” 4.Select option “import… Read More »

IntelliJ IDEA – Create Spring Boot Application

This is how to create spring boot application from IntelliJ IDEA. 1. On the top IDE menu choose “File” -> “New” -> “Project…” 2. Setup JDK 3. Fill project details like group artifact type of build tools (maven or gradle) programming language (java, kotlin, groovy) packaging (jar or war) file application name application description package (com.example.module-name) 4. Choose… Read More »

How to Use Spring JdbcTemplate

This is how to use spring JdbcTemplate in spring boot application. In this example i’m using : Spring boot 2.0.2.RELEASE Maven 3.5.3 for build tools Java 1.8 How to Use Spring JdbcTemplate First import spring jdbc library: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jdbc</artifactId> </dependency> Second, create new java class for JdbcTemplate configuration like this: @Component public class JdbcConfig { @Value(“${spring.datasource.driverClassName}”) String… Read More »

Flutter – Minimum System Requirements

First to run your first flutter application you must know about minimum system requirements for developing flutter apps. Minimum System Requirements To install and run Flutter, your development environment must meet these minimum requirements: Operating Systems: Windows 7 SP1 or later (64-bit) Disk Space: 400 MB (does not include disk space for IDE/tools). Tools: Flutter depends on these… Read More »

Firebase Push Notification From App Server

You can send message from server to device with firebase “FCM Server”. First go to firebase console and create new project. After that you can follow this steps. Push Notification with Firebase from App Server For example, you can send notif using http POST like this: POST HTTP/1.1 Content-Type: application/json Authorization: Bearer {your access token} { “message”:{ “token”… Read More »

How to Install IntelliJ IDEA Ultimate Version

IntelliJ IDEA – In this tutorial i will show to you how to install IntelliJ IDEA ultimate version. How to Install IntelliJ IDEA Ultimate Version Step 1 – Download Installer Download intellij idea installer on jetbrains official website here             Click download button and you will be redirect into installer download page.  Then… Read More »

Read a File in Java Stream Full Examples

Read a File in Java – I’m so happy because in Java 8 you can use Files.lines to read file as Stream. In this tutorial, i’ll show to you how to read a file using Java Stream with Java 10 (Read a File in Java). 1. Java Read File + Stream package; import; import java.nio.file.Files; import java.nio.file.Paths; /** *… Read More »

Read File in Java 10 Using FileInputStream

In this Java tutorial i’ll share about how to “Read File in Java 10 Using FileInputStream”. In Java, FileInputStream is a bytes stream class that’s used to read bytes from file. The following example will use FileInputStream to read a file named “C:/PromoTiketTraveloka.txt” and display its content to console. Before starting trying this example, please prepare the file before. Read File in… Read More »

Write to File in Java 10 Using FileOutputStream

In this java tutorial we will learn about “Write to File in Java” with FileOutputStream. FileOutputStream is a bytes stream class that’s used to handle raw binary data. To write the data to file, first you must convert the data into bytes and then save it to file. Let’s see below for full java example. Write to File in Java… Read More »

How To Check File Exists In Java 10

This is a sample Java source code about “How To Check File Exists In Java 10”. To determine whether a file is exist in your file system, you can use the Java IO File.exists(). How To Check File Exists In Java 10 For example i am using java 10 with syntactic sugar keyword: package; import; public static… Read More »