Java Tutorials and examples

Java Memory Overview

Java Memory Overview Java Memory management mainly deals with Allocation of memory to new Object Removing unused objects through Automatic Garbage Collection Heap Memory: All objects are created with in available Heap memory. Heap memory will be created on  application…

JDBC Batch Tutorial

 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 Use method  statement.addBatch(sql) to add list of SQL statements. invoke statement.executeBatch()…

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 master password Check User Authentication against directory and user password…

2 thoughts on “Java”

Leave a Reply