ofbiz--configuration file

Source: Internet
Author: User

OFBiz is a very good enterprise-level development architecture that enables multiple layers of loosely coupled structures with great flexibility and configuration files that provide a great support for flexibility.

Here are some of the more important configuration files in development.

1.entityengine.xml File

This file is configured for the data source, and also includes the database connection pool, the configuration of the transaction implementation class, and the configuration file for the field type.


In OFBiz, the configuration of the database in this file, first configure a group-map, and then configure the corresponding data source.

2.entitymodel.xml

OFBiz essence is database-oriented design, entitymodel.xml configuration entity,entity the table in the corresponding database, the Entity field corresponds to the fields in the database table.

Cases:


In fact, the configuration is written similar to the or-mapping framework using a configuration file, property names, property types. The configuration of the field-typename in Entityengine.xml, depending on the configuration to find the specified type to complete the mapping, equivalent to the configuration file and the real type in the middle of the addition of a layer, to complete the mapping, this is a great benefit, the replacement of the database is much easier.

3.ofbiz-containers.xml

It is configured with a variety of container classes, often modified container is the name of the Catalina-container container, using embeded tomcat, which can modify the various tomcat configuration items, As we modify the Tomcat configuration file Server.xml, we modify the ports and other information inside.

Summary:

Of course ofbiz configuration file is not only these, but also include many, such as: General.properties, cache.properties and so on. OFBiz has a large number of configuration files to ensure system flexibility.

ofbiz--configuration file

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.