Java LDAP Authentication
Java LDAP Authentication In this tutorial, we will see sample java program for LDAP authentication. Checking LDAP authentication requires two steps Check LDAP authentication against LDAP url, base directory and…
Java LDAP Authentication In this tutorial, we will see sample java program for LDAP authentication. Checking LDAP authentication requires two steps Check LDAP authentication against LDAP url, base directory and…
JDBC Batch Tutorial In this tutorial, we will see “how to execute multiple queries using a single JDBC Statement“. Add allowMultiQueries=true to mysql url Get the database connection Create Statement…
Running a shell script using process builder in java Running shell script using process builder java: Linux shell scripts or windows bat scripts will called using Java with below…
Java Memory Overview Java Memory overview tutorial intended for java beginners to learn above memory management like memory types etc. In Nutshell, java memory management deals with: Allocation of memory…
ConcurrentHashMap and Hashtable are both classes in Java that provide thread-safe implementations of the Map interface. However, there are some key differences between the two: Synchronization: Hashtable is synchronized, meaning…
Import SSL Certificate into Java keystore We will get the javax.net.ssl.SSLHandshakeException error when we try to access HTTPS urls in java. To avoid these certificate issues, we need to import…
Tomcat Maven Deployment in Eclipse You will get 404 error when you deploy the imported maven web application into tomcat. so first time you need to run the maven command…
In this tutorial, we will learn ThreadPool Example. Lets say, Application needs to send 1000 of email as part of nightly job. In this case, Thread Thread is a Simple…
Java 8 introduced the Stream API, which allows you to perform functional-style operations on collections of data. Here are some examples of using the Stream API: 1. Filtering a list…
1. Grouping a list of articles by their category and then sorting them by their title: 2. Finding the most frequent element in a list of log entries: 3. Summing…