Month: September 2020

Mediator Pattern in Java

1 A program is considered to be efficient if it has less coupling between its software module. However, this does not mean that objects should not have the necessary interactions between them. Often situations arise when objects have to be tightly coupled so that fast interaction between them is possible. The mediator pattern comes into […]

Continue Reading

Interpreter Design Pattern in Java

3 The Interpreter Design Pattern defines the grammatical representation for an object-oriented programming language. It governs the nuances of syntax and provides users with a concrete interpreter that will refer to the representation provided by the pattern itself to decode lines of code written in that particular language. A simple way to think of it […]

Continue Reading

Flyweight Pattern in Java

1 Flyweight Pattern is a memory-efficient JAVA design pattern that is an integral part of structural design patterns. This pattern is used in a code that requires a huge number of objects to be created. As the name suggests, objects created using this pattern (generally referred to as flyweight objects) take up as less memory […]

Continue Reading

Factory Pattern in Java

2 One of the key creational patterns of JAVA, the Factory design pattern in Java is used in programs that deal with several classes. This structure of coding is commonly used in the Java Development Kit. Certain frameworks also make use of this effective pattern such as Spring and Struts. Object manipulation such as testing, […]

Continue Reading

Java Web Services

1 In general terms, web services are software-based interactions that take place between a client and a server over the Internet or the World Wide Web. The mode of interaction or the protocol that is normally followed is the HyperText Transfer Protocol (HTTP). Any kind of web service works on the principle of interoperability between […]

Continue Reading

Facade Design Pattern in Java

1 If you look up the meaning of Facade, the work means the front of a building. Facade only represents the beautiful exterior with glass walls and fancy decorations. What it hides from an onlooker is the complex pipelining, electrical circuits, and drainage system. While these components are essential to make a beautiful house, it […]

Continue Reading

Design Patterns in Java

1 If a software is in extensive use, it goes without saying that the developers must have faced several problems designing the user interface and making it efficient. Design Patterns are well-structured ideas that are used to tackle such problems concerning software development. These patterns are constantly in use as new updates bring with it, […]

Continue Reading

Decorator Pattern in Java

1 The Decorator Pattern, as the name suggests, has an ornamental function of adding features and attributes of existing objects. Functionalities of objects are added using wrapper classes either dynamically or statically. This patter finds use all the time in programs as developers are constantly in the process of increasing code efficiency and adding features. […]

Continue Reading

Translate »