Tutorial hub

Technical Tutorials

Hands-on Java technical articles including Hibernate, JSON, Apache POI, JUnit, search algorithms and project utilities.

Learning path

32 lessons and references

Browse the curated chapter list and continue directly into the topic you want to study.

All JDK Features The Java Development Kit (JDK) is one of three core technology packages used in Java programming, along with the JVM (Java Virtual Machine) and the JRE (Java Runtime Environment). The JDK allows developers to create Java programs that can be executed and run by the JVM and JRE. Collection Programs in Java In this chapter, we will learn to code a program on ArrayList with list. ArrayList is a class that uses a dynamic array for storing the elements. Datatypes in Java Data types specify the different sizes and values that can be stored in the variable. There are two data types : 1) Primitive Datatype. 2) Non-primitive Datatype. Hibernate Basics Hibernate is an open source, lightweight, ORM (Object Relational Mapping) tool. An ORM tool simplifies the data creation, data manipulation and data access. It is a programming technique that maps the object to the data stored in the database. The ORM tool internally uses the JDBC API to interact with the database. Hibernate ScrollResults and ScrollMode In Hibernate, ScrollableResults is used to scroll large amount of data and ScrollMode provides different modes such as scrolling only in forward direction and sensitive/insensitive to changes in underlying data. How HashSet works internally in Java? HashSet uses HashMap internally to store it’s objects. Whenever you create a HashSet object, one HashMap object associated with it is also created. How to Set Data into Excel sheet using Apache POI in Java? In this tutorial, we will learn how to set data into Excelsheet using Apache POI in Java. We will see live example of setting data into Excelsheet using Apache POI. How to create pyramid of numbers in Java? In this chapter, we will learn to create various pyramids of number patterns in Java with examples. This is one of the frequently asked java interview question for freshers. How to read Excel File using Java? In this chapter, we will learn about how to read excel file using java. We will be using Apache Poi Library to perform read and write operations with excel sheets. JDBC Introduction JDBC is the java API which facilitates connectivity of java application to database. It is a part of JavaSE (Java Standard Edition). There are four types of JDBC drivers: 1)Type 1 or JDBC-ODBC Bridge Driver. 2)Type 2 or Native Driver. 3)Type 3 or Network Driver. 4)Type 4 or Pure Java Native Driver. JUnit 5 in Java JUnit is an open-source testing framework for java programmers. It is one of the unit testing frameworks. Current version is JUnit 5. Testing of single entity (Class or Method) is called as Unit Testing. JVM Memory Management in Java Whenever you execute a java program, a separate memory area is reserved for storing various parts of your application code which you roughly call JVM memory. Java Common Errors with Solution In this chapter, we will see about some common errors that usually occurs in Java and also solutions to troubleshoot Java errors. Java First Program In this chapter, we will learn how to code a very basic program of Java to print a string. And also we will learn how to compile and run Java Programs. Java Singleton Design Pattern Java Singleton pattern belongs to the family of design patterns, that governs the instantiation process. This design pattern proposes that at any time there can only be one instance of a singleton (object) created by the JVM. Java and Selenium Technical Tutorial Java and Selenium Technical Tutorial section covers all technical concepts related to Java interviews and Selenium interviews with real-time examples/programs to get a high end technical knowledge of Java and Selenium. MVC Framework Basics in Java Model View Controller or MVC is a software design pattern for developing web applications. A MVC pattern is made up of the following three parts: 1)Model. 2)View. 3)Controller. MySQL & Query Browser Installation In this tutorial, we will learn step-by-step installation of MySQL. After successful installation of MySQL, we will learn how to use MySQL Browser for executing MySQL statements. MySQL Database Export and Import In this tutorial, we will learn how to import MySQL Database as well as to export a backup file of MySQL Database. Overview of Binary Search in Java A binary search algorithm finds the position of a specified input value within an array sorted by key value. For binary search, the array should be sorted i.e. arranged in ascending or descending order. Overview of Immutable Class in Java Immutable class means a class whose object cannot be modified once created. If we do any modification on immutable object will result in another immutable object. String class, Integer class etc. are the immutable classes in Java. Sequential Search in Java Sequential search is the simplest approach. Given a collection it try every element in the collection until it founds the desired element or until it reaches to the end of the collection. Server Basics in Java In this chapter, we will learn about basics of Tomacat Server and also learn about Folder structure. Shallow Copy and Deep Copy In this chapter we will learn about shallow copy and deep copy in Java. Default version of clone method creates the shallow copy of an object. To create the deep copy of an object, you have to override clone method. Spring 4 + REST Web Service + JSON Example with Tomcat In this chapter, we will learn to develop a demo project using Spring 4, REST API and JSON. This demo project will help programmers to build complex applications that requires hands on experience. Spring AOP with Examples Spring AOP enables Aspect-Oriented Programming in spring applications. In AOP, aspects enable the modularization of concerns such as transaction management, logging or security that cut across multiple types and objects (often termed crosscutting concerns). Spring Setter Injection Spring Framework allows to inject the dependency by setter method also. The subelement of it is used for setter injection. Spring Setter Injection is also called as Dependency Injection by setter method. Steps to create Spring Boot Project with Spring Initializr In this chapter, we will learn to create a project on Spring Boot with Spring Initializr. Variable Initialization, Declaration and Casting In this chapter, we will learn 1)How to initialize a variable in java? 2)How to declare a variable in java? 3)Typecasting in Java. 4)Automatic type conversion in java. Vector in Java The Vector class implements a growable array of objects. Vectors basically fall in legacy classes but now it is fully compatible with collections. WAR File and its Deployment in Java In this chapter, we will learn about WAR File in Java and also about deployment of WAR File. First we will Export WAR File from Project. And then deploy WAR File using Tomcat Server. What is Aggregation in Java? Aggregation represents part and whole relation between classes in Java. It is weaker relation as both entity can exist independently. Aggregation can be implemented by containing the object of a class as member of another class.

Learn with mentors in Pune, Nagpur or live online.

Go beyond self-study with classroom and live online training, project practice, mock interviews and placement support.

Talk to Counsellor