Why Node.js is awesome ?

In the beginning, there was a 1:1 mapping between URL’s and the filesystem from which they returned files. These files were heterogeneous, being both binary image files and text html files. Dynamic code was kept in cgi-bin directories and not usually mixed with everything else. Each HTTP request spawned a new web server process, it retrieved a file, […]

Top 25 Interview Questions in Node.js

Top 25 Node.js Interview Questions & Answers 1) What is node.js? Node.js is a Server side scripting which is used to build scalable programs. Its multiple advantages over other server side languages, the prominent being non-blocking I/O. 2) How node.js works? Node.js works on a v8 environment, it is a virtual machine that utilizes JavaScript […]

NodeJS vs Java

In the history of computing, 1995 was a crazy time. First Java appeared, then close on its heels came JavaScript. The names made them seem like conjoined twins newly detached, but they couldn’t be more different. One of them compiled and statically typed; the other interpreted and dynamically typed. That’s only the beginning of the […]

Cached vs Fixed Thread Pool

Cached Thread Pool : A thread pool that creates as many threads it needs to execute the task in parallel. The old available threads will be reused for the new tasks. If a thread is not used for 60 seconds, it will be terminated and removed from the pool. Suitable for applications that launch many […]

Spring 4 New Features

On Dec 2009 – Spring 3.0 released. In this time, there is lot of changes in the spring community. Spring is not just seen as the framework, it is moving beyond that level and seen as a enterprise solution provider. Spring is largest Java community in the world. After the acquisition by VMWare, Vmware and […]

AngularJS: Dependency Injection Demystified

What is Dependency Injection? Dependency Injection is a software design pattern in which an object is given its dependencies, rather than the object creating them itself. It is about removing the hard-coded dependencies and making it possible to change them whenever needed. Why do you need to inject dependencies? Separate the process of creation and […]

AngularJS: Best Parts

AngularJS is a structural framework for building dynamic web applications. It is not a library. So, by the principle of ‘inversion of control’, the developer is expected to code following certain rules and guidelines laid out by the framework. Angular is opinionated about how a dynamic web application should be built. And almost all of […]