PinnedMuhammad DurrahFactory Pattern, The dynamic way with Java 8Factory pattern is one of the most used design patterns in Java. This type of design pattern comes under creational pattern as this pattern…Aug 27, 20182Aug 27, 20182
Muhammad DurrahDo We need a more readable and expressive syntax for Java?Originally posted on LinkedinJul 1Jul 1
Muhammad DurrahPractical Java15 sealed interfaces with design patternsAs a quick review of template method and chain of responsibility patterns we can define a template of the chain (no to have a broken…Dec 26, 20201Dec 26, 20201
Muhammad DurrahWhat does that ‘if’ mean?While I was working on fixing a bug today, I came across with a method containing a conditional check to execute some updates on some…Jun 27, 20191Jun 27, 20191
Muhammad DurrahDeployment of EJB server and client independentlyA friend asked me to work on an EJB and EJB client project in an independent separated deployment package for each.Dec 31, 20181Dec 31, 20181
Muhammad DurrahInheritance without extendsYes, inheritance means adding or changing the behavior of a class by a sub class the traditional way of doing inheritance is by extending a…Sep 26, 20181Sep 26, 20181