Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the types of J-Hi components

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article is about what J-Hi component types have. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

In fact, in the final analysis, it is nothing more than the division of component particles, and the functions and functions of components will vary greatly under different conditions and environments. secondly, when defining components, we should ensure that the functions are relatively independent and can be assembled and deployable. therefore, J-Hi divides components into the following four types of components according to their uses and scope: technical components, entity components, business components and system components. The relationship between them is progressive and based on each other.

Before we go any further, let's briefly explain the relationship between the various component types in the figure above. For example, an OA system can be understood as a system component, while multiple system components (warehousing system, human resources system, etc.) can dynamically build a larger application system (ERP). There will be multiple business components under each system component, for example, there will be reimbursement, conference management and other business components under the OA system. Because most business components are generally loosely coupled, all business components can be seamlessly migrated to other system components, that is, to achieve the reusability of business components. Under a business component, there will be one or more entity components. We also take the reimbursement business component as an example. In the reimbursement, there will be at least two entity components: the reimbursement and the details of the reimbursement. An entity can be understood as a table corresponding to the database. Entities can be inherited between entities, and an entity can have multiple sub-entities. But an entity is not just a database table, it includes all the code implementations from the page to the database table and all the functional units of CURD operations. We will discuss entity components in more detail later. * is a technical component. In J-Hi, a technical component can be said to be an abstract concept. A technical component is a technical functional unit. It may be a set of generated templates, a framework support, a set of API (such as support for SMS, full-text search, etc.)

Entity component: J-Hi defines an entity component as a collection unit, which includes not only the database table, but also the basic operations (add, delete, query, change) to the database table; including the front-end display page; including the entity's permissions, menus, configuration information; and its interaction with other entities. Of course, the granularity of an entity component is still too small to fully describe a business function. However, entity components are relatively independent and can integrate a collection unit. J-Hi is based on entity components to achieve larger granularity integration, so as to achieve the description of a complete business.

Business component: in fact, a business component J-Hi corresponds to a service, which can be regarded as a business function module to describe the complete business model and the relative business independence. The code within the service is highly clustered, because a service is a complete set of business, so we should try our best to reduce the coupling between the service and the service when designing the service. Because on the basis of this theory, the portability of business components between systems can be realized seamlessly. Because the definition of components can be assembled and deployed independently, so we develop the attached product of the platform-Hi platform product integration tool, which is mainly composed of publishers and deployers to facilitate the migration of business components.

The purpose of developing publisher and deployer is to realize the migration of cross-database data and cross-application business components through visualization. Business components can be regarded as an independent business unit, which can be seamlessly integrated into any project developed on the J-Hi platform. In order to achieve the real combination on demand, dynamically build the actual business system, really achieve the reuse of business components, and reduce unnecessary repeated development.

System components: from the business function point of view, the system component is just the splicing of multiple business components, a larger level of business encapsulation. Theoretically, there should be absolute isolation between system components and system components. Even if there is communication, data exchange should be carried out through a third party (there are two common solutions: one is intermediate database; the second is webservice). However, if it is based on platform development, this unnecessary workload can be reduced very little, or even without the need for third-party interaction technology. As long as the communication interface between the two systems is guaranteed, it should be easily implemented. The migration of system components can also be realized through publishers and deployers.

Technical components: from a technical point of view, J-Hi is not much different from other technical components. It is nothing more than developing some technical components based on the platform, such as support for SpringMVC, SpringJDBC, DB2 database, etc., the page side will also be integrated like DWZ or simpleframework, we will also provide more page side generation templates, and so on, the technical components of the platform will be expanded at different levels of technology. But it is different from other technical components in that it can be pluggable and woven as needed as a plug-in.

Thank you for reading! This is the end of this article on "what are the types of J-Hi components?". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report