All Stories
XML Tutorial

Cache Management in Hibernate

Hibernate has a two-level cache architecture . The first-level cache is the persistence context cache. A Hibernate Session lifespan corresponds to either a single request (usually implemented            ...
Java Tutorial

Static Initialization Block

When a class is loaded, all blocks that are declared static and don’t have function name (i.e. static initializers) are executed even before the constructors are executed. As the name suggests they are ...
Java Tutorial

Java memory management and heapstack

Java’s memory management (i.e. Garbage Collection) prevents lost references and dangling references but it is still possible to create memory leaks in other ways. If the application runs with memory ...

Lazy loading and Eager Loading

Lets try to find out what’s the difference between Lazy and Eager Loading in Hibernate. Lazy loading : Lazy loading  means that it does not actually load all the children when loading the parent. ...

Basic steps to develop CRUD in Hibernate

Following are the basic steps to develop the CRUD application in Hibernate. Create a table as “Employee”. Use the script mentioned below: CREATE TABLE Employee ( emp_id int(11) NOT NULL ...

ORM Basics

What is ORM & Why we need ORM? ORM is Object Relational Mapping tool that lets developers think and work with objects rather than tables and columns. Some important points to remember about ORM are ...
XML Tutorial

XSLT Basics

XSL stands for Extensible Stylesheet Language, and is a style sheet language for XML documents. It is frequently used and referred in the SOA Methodologies. Various products like IBM Websphere Datapower ...
Java Tutorial

Abstract class

In design,  want the base class to present only an interface for its derived classes. This means,  don’t want anyone to actually instantiate an object of the base class.  Only want to upcast to it ...
Java Tutorial

Access levels

Java provides a following access modifiers to access levels for classes, variables, methods and constructors. The four access levels are: Default : Visible to the package. the default. No modifiers ...
Java Tutorial


Packages  helps resolve naming conflicts when different packages have classes with the same names. This also helps you organize files within your project. For example: package do something related ...
Java Tutorial

Java Hello World

This article explains on how to create a hello world program in Java using Eclipse IDE. This is meant for java beginners and programmers new to java. Prerequisites : install the JDK Install the Eclipse Java ...
Java Tutorial

Simple class and objects

Java is an Object Oriented Language. Java has evolved over the concept of OOPS and has now surpassed the other Object Oriented languages like C++. It is extensively used in building enterprise level application ...
Page 3 of 512345
Powered by WordPress · Designed by Theme Junkie
You might also likeclose