Blog

Blog

What are the new features are added in spring latest version?

-->

1. Spring 3.2 features Spring MVC Test Framework Asynchronous MVC processing on Servlet 3.0 custom @Bean definition annotations in @Configuration classes @Autowired and @Value to be used as meta-annotations Concurrency refinements across the framework loading WebApplicationContexts in the TestContext framework JCache 0.5 (JSR-107) 2. Spring 4.0 features Removed Deprecated Packages and Methods Java 8 Support Java EE…

Java 2018 Latest Interview questions

Java Interview Questions – 2018

-->

What’s the difference between class diagram and sequence diagram? How many types of design patterns are available? What’s the use UML diagram? How to create singleton design Pattern? Which tool is used to create UML diagram? What’s Immutable object? How to create custom Immutable class? What’s the difference between String and StringBuffer? What’s the difference…

Java 2018 Latest Interview questions

Recent Java Interview Questions – 2018

-->

What’s encapsulation and example and advantages? What’s Abstraction? Explain interface and polymorphism? Explain Serialization and write the program? What’s marker interface? How to clone the object? Draw exception hierarchy? Explain synchronized block and method? Can we override main method? If we override which method will be invoked by jvm? Write the program to sort the…

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 – 2018

-->

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,…