Microservices Architecture in Cloud | How different is SOA and Microservices

Microservices are the evolution from SOA architecture. As we know, the traditional Monolithic Architecture lacks in granular scalability and consumes lot of time to build and deploy, SOA was born. And with the increasing adoption of Cloud technologies and DevOps the rise of Microservices over SOA is inevitable. How different is SOA and Microservices? – The talk of the town question is here. The answer is simple, Microservices are more granular than SOA. Service Oriented Architecture is coarsely grained and Microservices are finely grained. SOA…

Continue reading »

The final Keyword in Java

Final Variables: Variables that are final are prevented from being modified. Once it is declared and initialized, it can’t be changed after that. final int marks = 95; final float score = 80.50f; Ant attempts to modify the above variables will throw a compile-time error. Points to Remember: Final variables must be initialized during its declaration. Final Methods: A method that is declared as final cannot be overridden in a subclass. public final int marks() {} Points to Remember: marks() cannot be overridden in subclass.…

Continue reading »

The super Keyword in Java

Usages of super keyword: It calls the constructor of super class. Access a member of a super class that has been hidden by a member of the class. Syntax for calling base class Constructor, super(arg_list); super() should be the first statement in derived class constructor. Example: //Demonstrating super in CodeParent.com public class First { String Name; String Result; First(String n, String r) { Name = n; Result = r; } void showResult() { System.out.println(“Name is :” + Name); System.out.println(“Result is :” + Result); } }…

Continue reading »