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...
Home » All posts
An Interview Question on Spring Singleton
in
GOF singleton,
interview,
interview question on spring scope,
java,
scopes,
singleton,
spring,
spring scope,
spring singleton
- on February 11, 2017
- No comments
Java:Pushing runtime behaviour without Lambda
in
functional program,
java,
java8,
jdk1.8,
lambda,
runtime,
runtime behavior,
strategy,
strategy pattern
- on February 06, 2017
- No comments
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,...
Labels:
functional program,
java,
java8,
jdk1.8,
lambda,
runtime,
runtime behavior,
strategy,
strategy pattern
Spring @Transactional & Exception
in
@Transactional,
BMT,
CMT,
declarative transaction,
Ejb,
spring,
spring transaction,
Transaction,
Transaction & Checked Exception,
Transaction & Runtime Exception
- on February 02, 2017
- No comments
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...