Blog

Blog

UML(Unified Modeling Language) Tutorial

-->

1. Explain Deployement Diagram? Used for describing the hardware components where software components are deployed Component diagrams are used to describe the components and deployement diagram shows how they are deployed in hardware Deployement diagrams consist of nodes Nodes are nothing but physical hardwares used to deploy the application Describe the physical components and their…

Java 2018 Latest Interview questions

How garbage collection works internally in Java?

-->

All Java objects are always created on heap in java. What is GC (Garbage collection) process in java? GC (Garbage collection) is the process by which JVM cleans objects(unused objects) from heap to reclaim heap space in java. What is Automatic GarbageCollection in JVM heap memory in java?  Automatic garbage collection is the process of Identifying objectswhich are in use in java heap memoryand which objects…

Java 2018 Latest Interview questions

Object Oriented Design Principles in Java

-->

DRY (Don’t repeat yourself) – avoids duplication in code Don’t write duplicate code, instead use Abstraction to abstract common things in one place. If you have block of code in more than two place consider making it a separate method, or if you use a hard-coded value more than one time make them public final constant. Benefit…

Spring Transaction Propagation Tutorial

-->

While dealing with spring managed transactions the developer is able to specify how the transactions should behave in terms of propagation. In other words the developer has the ability to decide how the business methods should be encapsulated in both logical and physical transactions. Methods from distinct spring beans may be executed in the same transaction scope…

What’s dependency injection in spring?

-->

Dependency injection (DI) is a process whereby objects define their dependencies, that is, the other objects they work with, only through constructor arguments, arguments to a factory method, or properties that are set on the object instance after it is constructed or returned from a factory method. The container then injects those dependencies when it…

Top 20 Hibernate Interview Questions – 2019

-->

Question 1:  What is Hibernate Framework? Object-relational mapping or ORM is the programming technique to map application domain model objects to the relational database tables. Hibernate is java based ORM tool that provides framework for mapping application domain objects to the relational database tables and vice versa. Hibernate provides reference implementation of Java Persistence API,…

Top 25 Spring Interview Questions – 2019

-->

Question 1:  What is Spring Framework? Spring is one of the most widely used Java EE framework. Spring framework core concepts are “Dependency Injection” and “Aspect Oriented Programming”. Spring framework can be used in normal java applications also to achieve loose coupling between different components by implementing dependency injection and we can perform cross cutting…