[JAVA] What is Facade? ??

Facade is one of the design patterns lol

A design pattern is A pattern of commonly used designs in object orientation. The content of each pattern is clarified, and it has a fixed role such as "data access"! As for how to use it, it is used as a class (sometimes a method) like "~ Facade.java".

Then about the main subject Facade.

・ Facade

Classes with different roles will be processed in this order! It is a design pattern that executes a series of steps as a set lol

For example, if there is a Facade that "updates the master data",

  1. Have the input information set. (VO)
  2. Refill the beans set in VO.
  3. Execute controller to register and update with Bean value as an argument.

If any one of them is processed like this, the bad one will be done as a set with Facade's class or method.

Well, I think it's okay to imagine the entrance of C in MVC lol

Are you looking at it at a glance? You may think that, but with this, it is easy to check if there is any omission in the middle of the process, so I think that it is convenient when repairing the system lol

Please use it by all means lol

Recommended Posts

What is Facade? ??
What is Cubby
What is Docker?
What is null? ]
What is java
What is Keycloak
What is maven?
What is Jackson?
What is Docker
What is Jenkins
What is ArgumentMatcher?
What is IM-Juggling?
What is params
What is SLF4J?
What is Java <>?
What is Gradle?
What is POJO
What is Java
What is centOS
What is RubyGem?
What is programming?
What is before_action?
What is Docker
What is Byte?
What is Tomcat
What is the Facade pattern useful for?
What is Maven Assembly?
What is a constructor?
What is vue cli
What is an interface?
What is Ruby's self?
What is hard coding?
What is a stream
What is Ruby's attr_accessor?
What is Java Encapsulation?
What is permission denied?
What is instance control?
What is an initializer?
What is Spring Tools 4
What is object orientation?
What is Guava's @VisibleForTesting?
What is MVC model?
What is an annotation?
What is Java technology?
What is Java API-java
What is @ (instance variable)?
What is Gradle's Artifact?
What is JPA Auditing?
[Swift] What is dismiss?
[Java] What is flatMap?
What is a Servlet?
What is web development?
[Java] What is JavaBeans?
[Android] What is Context? ??
[Java] What is ArrayList?
[Ruby] What is true?
What is HttpSession session = request.getSession ();
What is docker run -it?
[Memorandum] What is an error?
What is DI (Dependency Injection)
What is a wrapper class?