One possible question for a Java Interview could be: what can you tell me about the spring bean scopes? In Spring Framework we have 5 (five) bean scopes: SINGLETON which means that only one instance of a bean is allowed per container (in other words, per application); PROTOTYPE which means
Spring RestTemplate is like a bridge between client application and server applications. It is used to call REST services and deal with outages. RestTemplate has an builtin HTTP client and it is able to send HTTP request to the endpoints.
Nowadays, there are two different kinds of databases: relational databases (aka, Oracle, Microsoft MS, IBM DB 2) document oriented databases (some lectures call them NO-SQL databases) (aka, Mongo DB, FileNet) Let’s go to the subject, Scaling a relational database There are three operations involved in scaling a relational database: sharding.
In computer security, a self-signed certificate is an identity certificate which is signed by the same entity whose identity it certifies. Of course, a certificate like this doesn’t have a lot of security value, but it is a convenient way to test things without without spending money. Creating a self-signed
Microservices is a type of architecture with a single goal: to avoid complexity. Most of the books define microservices as an alternative architecture for building applications, while they offer a great way to to decouple components within an application boundary. In microservice paradigm, each component is a full but miniature application
Java 8 was released on March 2014 and it is about functional-style programming. It proposes a set of new features: lambdas method references the stream api default methods in interface parameterization Lambdas Lambda is a technique to passcode to methods. Looking at lambda from the point of view of a
In this post, I want to share a quick answer to the most two favorite question of the interviewers: what can you tell me about the dependency injection (DI) concept introduce by spring years ago? what is inversion of control (IoC)? It is not my goal to share an elaborate
In one of the previously post, I talked about how to push your work at github.com using eclipse IDE. In this post I will show you how to “grab” (git term is clone) a repository from git hub.com and start adding new feature. First thing, first thing to do is
A long time ago I remember I installed MySQL on my MAC. Actually it is about Maria DB, but that’s pretty much the same thing as it was made by the original developers of MySQL database. Now I am in the position to start a new project with Struts Framework