How to create and write data into files in Linux This article explained how to create and write data into files in the Linux and Unix flavors. By using different types of commands we can create the files and we can write the data into files. Create Empty Files touch using the touch command, we […]
Category: Java
Java Online Tutorial
Oracle Database User Unlock, Update and Password Reset
Oracle Database User Unlock, Update, and Password Reset In this article, explaining how to unlock Oracle database user, update the password, reset the when the password expired. Unlock the database user Before going to unlock the database user, you can check the user status by using the following query. Syntax select username, account_status from […]
How to compare two lists equal in java
How to compare two lists equal in java How to compare two lists either equal or not by using list equal method in java. If two lists are equal then it will true else it will return false. List following the index order and comparing the data. String type List following Case Sensitive. So be […]
JSON File to Java Example
JSON File to Java Example In this article, I am going to show how to parse the JSON file to java object. Suppose we have a JSON file and we need to parse the JSON data into java object to perform the operations Pre-Requisites Java 1.8 Google JSON Eclipse IDE Maven In the eclipse create […]
Java SFTP Connection Shell Script Execute
Java SFTP Connection Shell Script Execute In this article, I am going to explain how to connect the SFTP server from Java API, how transfer files from the local system to remote SFTP server and how to execute remote shell scripts from java? Pre-Requisites Java 1.8 JSch.jar Eclipse IDE Maven SftpShellChannel.java To get SFTP […]
Java SFTP Connection Files Transfer
Java SFTP Connection Files Transfer In this article, I am going to show SFTP connection with java, transfer files from the local system to the remote system. Here we are going to using the JSch library to connect SFTP/STP server. Pre-Requisites Java 1.8 JSch.jar Eclipse IDE Maven SftpChannel.java We need to get SFTP server […]
How to send a mail using java Office365 SMTP server
How to send a mail using java Office365 SMTP server In this article, I am going to show How to send a mail using java Office365 SMTP server, Office365 SMTP server details and how to connect Office365 from java Pre-Requisites java 1.8 Eclipse Java Mail API Office365 Connection Properties String USERNAME = “[email protected]”; String PASSWORD […]
How to decode Id Token in java
How to decode Id Token in java Id Token generated by the authorization server which contains the user information and authorization server details. Here I am sharing the java example program to decode the Id Token. Pre-Requisites java 1.8 Eclipse Create java maven project in eclipse the add the following pom.xml and java file into […]