• How to Mock in Scala Unit Tests

    This post is a short summary of mocking in unit tests. I mainly use ScalaTest as the test framework and Mockito as the mocking library. This is not intended to be comprehensive; rather, it is my two cents on how to write maintainable and rich unit tests. [Read More]
    Tags:
  • Work with NoSQL - a Few Lessons

    Traditional relational databases are not suitable for cloud services anymore. Its vertical scaling model imposes a relatively low scaling limit to your services. Complicated sharding and replication schemes could be used to go beyond the capacity of the largest database machine, adding complexity to your system, reducing engineering velocity, and... [Read More]
  • AngularJS

    AngularJS is a JavaScript framework. It can be added to an HTML page with a <script> tag. [Read More]
  • Java JVM

    JVM is a engine that provides runtime environment to drive the Java Code or applications. It converts Java bytecode into machines language. JVM is a part of JRE (Java Run Environment). It stands for Java Virtual Machine. [Read More]
    Tags:
  • Java GC

    In C/C++, programmer is responsible for both creation and destruction of objects. Usually programmer neglects destruction of useless objects. Due to this negligence, at certain point, for creation of new objects, sufficient memory may not be available and entire program will terminate abnormally causing OutOfMemoryErrors. But in Java, the programmer... [Read More]
    Tags: