Comparison of HiveMind and Spring (one)

xiaoxiao2021-03-06  58

HiveMind and Spring see a large part of the implementation is overlapping, all of which use ICO control flipping, dependency injections, etc. to achieve similar functions, from this point in the guiding spirit of the two.

The existence is reasonable. HiveMind and Spring implementations and focuses are large.

HiveMind is a microconcord that provides component services and configurations, a foundation framework for a variety of Java programs. The Java program here can be a Tapestry application, or a servlet-based web application, but also a command line tool, a Swing or a AWT GUI program, and so on.

The service in HiveMind is to implement a specific interface and registering the Java class. HiveMind uses dependency injection mode to generate and provide these services in real time. (See the following example)

As for Spring, there are many communities that have introductions here are not documented.

Below is a graphic comparison of these two frames: HiveMind architecture

Spring architecture:

The following two architectures are compared in the following text. Main example: 1, with HiveMind and Spring to implement a method interception. Continue tomorrow :-) Another friend's comparison: h vs shttp://rAibleDesigns.com/wiki/wiki.jsp? Page = Appfuse Tian Chunfeng

转载请注明原文地址:https://www.9cbs.com/read-113225.html

New Post(0)