Spring Boot Scheduler In this article, we will discuss Schedule configuration in Spring Boot. By using @Scheduled annotations, you can easily enable the scheduler with different types of schedule execution. Schedule enabled method should not accept any method parameter and method return should be void. Enable Spring Boot Scheduler By using @EnableScheduling annotation, you can […]
Month: April 2020
Spring boot command line maven commands
Spring boot command line maven commands How to create a spring boot jar file by using mvn command? Open windows command prompt, go to the project location i.e where pom.xml exist and execute the following command. In this process, by default, all test cases are also executed so it will take time to create […]
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 install Apache LDAP Directory and Studio?
How to install Apache LDAP Directory and Studio? In this post, I am going to show How to install Apache LDAP Directory and Studio, How to access Apache LDAP Directory from Apache Studio, How to add users into Apache LDAP Directory, How to add user attributes from Apache Studio and How to start/stop Apache LDAP […]
How to send request data in Ajax HTTP GET and POST?
How to send request data in Ajax HTTP GET and POST? In this post, going to show How to send request data in Ajax HTTP GET and POST? How to send data insecure? what is the best Http method to send request data? How to send data in the query string in Http GET and […]
How to integrate OpenIDM with OpenDJ
How to integrate OpenIDM with OpenDJ In this post, I am going to show How to integrate OpenIDM with OpenDJ. Before going to integration OpenDJ installed in the system and get the connection properties that are required to access it from OpenIDM. Pre-Requisites 1. Java 1.8 2. OpenDJ Installation 3. OpenIDM Installation OpenDJ […]
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 […]