An Interview Question on Spring Singleton

An Interview Question on Spring Singleton
Spring Singleton While taking interview on Spring core, Often I ask a question What do you mean by Spring Singleton scope? Most of the time I got an answer like Spring singleton scope manages only one object in the container. Then after getting...

Java:Pushing runtime behaviour without Lambda

Java:Pushing runtime behaviour without Lambda
Java:Pushing runtime behaviour without Lambda In Java8 one of the best features is Lambda Expression The Idea of Lambda expression is passing a behavior to a method. This has been adopted from Functional programming, In Functional programming,...

Spring @Transactional & Exception

Spring @Transactional  & Exception
Spring Transactional Annotation & Exception What is Transaction? The transaction is unit work which will success or fails as the unit. So suppose we are dealing with two accounts for transfer money from one to another.  Now if Money from...