According to the characteristics of the retail industry and the requirement of the domestic retailers group company, we propose and implement a solution of targeted customer marketing and maintenance system for retail industry based on data mart. It has been proved that this is a good solution. The pluggable software development framework based on business components proposed in the paper has been widely used in other software projects. It cannot only economize on a lot of manpower and material resources, but also accelerate the pace of software development.