HTTP Methods

An HTTP method is a verb that is used on a resource. There are four main HTTP methods: GET, POST, PUT, DELETE which should be used in certain situations. For example: GET is used to download cacheable data from the server. It doesn’t have a request body POST is used to submitting form data. Has

Docker Commands

Docker is an open source project that was released by dotCloud in 2013. Docker is build on features of Linux Container (LXC) technology, and just like any container technology it has its own file system, storage, CPU, RAM memory, etc. But hey, what is a container? From the very basic point of view, a container

Explain the Spring Bean Scopes

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 that when you request the

Some words on scaling databases

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. Represents the process of splitting

How to create a self-signed certificate on MAC OS

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 certificate varies from operating system

What is the deal with microservices?

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 with focus on producing a

Basic Concepts in Angular

Angular is a client side framework. To work with angular you must have node and npm installed on your machine. This post assumes that you already have them installed on your machine and jump right into the creation of the angular application. You also need to have the angular cli installed. You can install it

Java 8 – What is new

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 developer it is an argument