Girl in IT-wolrd

Everything has been downloaded. Quit download loop.

Tag Archives: programming

Design Patterns – MVC Pattern

MVC Pattern stands for Model-View-Controller Pattern. This pattern is used to separate application’s concerns.

  • Model – Model represents an object or JAVA POJO carrying data. It can also have logic to update controller if its data changes.
  • View – View represents the visualization of the data that model contains.
  • Controller – Controller acts on both model and view. It controls the data flow into model object and updates the view whenever data changes. It keeps view and model separate.

Read more of this post

Design Patterns. Behavioral.

Behavioral Design Patterns

1. Template Method Pattern
2. Mediator Pattern
3. Chain of Responsibility Pattern
4. Observer Pattern
5. Strategy Pattern
6. Command Pattern
7. State Pattern
8. Visitor Pattern
9. Interpreter Pattern
10. Iterator Pattern
11. Memento Pattern

Read more of this post

Design Patterns. Structural.

Structural Design Patterns

1. Adapter Pattern
2. Composite Pattern
3 .Proxy Pattern
4. Flyweight Pattern
5. Facade Pattern
6. Bridge Pattern
7. Decorator Pattern

Read more of this post

Design Patterns – Creational.

Creational:

1. Factory Pattern
2. Abstract Factory Pattern
3. Singleton Pattern
4. Builder Pattern
5. Prototype Pattern

Read more of this post

Design Patterns

Creational Design Patterns

1. Factory Pattern
2. Abstract Factory Pattern
3. Singleton Pattern
4. Builder Pattern
5. Prototype Pattern

Structural Design Patterns

1. Adapter Pattern
2. Composite Pattern
3 .Proxy Pattern
4. Flyweight Pattern
5. Facade Pattern
6. Bridge Pattern
7. Decorator Pattern

Behavioral Design Patterns

1. Template Method Pattern
2. Mediator Pattern
3. Chain of Responsibility Pattern
4. Observer Pattern
5. Strategy Pattern
6. Command Pattern
7. State Pattern
8. Visitor Pattern
9. Interpreter Pattern
10.Iterator Pattern
11. Memento Pattern

69 Spring Interview Questions and Answers

Spring overview

1. What is Spring?

Spring is an open source development framework for Enterprise Java. The core features of the Spring Framework can be used in developing any Java application, but there are extensions for building web applications on top of the Java EE platform. Spring framework targets to make Java EE development easier to use and promote good programming practice by enabling a POJO-based programming model.

2. What are benefits of Spring Framework?

  • Lightweight: Spring is lightweight when it comes to size and transparency. The basic version of spring framework is around 2MB.
  • Inversion of control (IOC): Loose coupling is achieved in Spring, with the Inversion of Control technique. The objects give their dependencies instead of creating or looking for dependent objects.
  • Aspect oriented (AOP): Spring supports Aspect oriented programming and separates application business logic from system services.
  • Container: Spring contains and manages the life cycle and configuration of application objects.
  • MVC Framework: Spring’s web framework is a well-designed web MVC framework, which provides a great alternative to web frameworks.
  • Transaction Management: Spring provides a consistent transaction management interface that can scale down to a local transaction and scale up to global transactions (JTA).
  • Exception Handling: Spring provides a convenient API to translate technology-specific exceptions (thrown by JDBC, Hibernate, or JDO) into consistent, unchecked exceptions.

Read more of this post

Лекции из JavaRush.ru