原创 ofbiz的ant命令創建模塊

1.簡介說明        一般我們在hot-deploy下部署應用是,可以通過ant的create-component這個命令來創建,這種方法的好處是自動創建的會節省自己很多時間,並且避免一些不必要的錯誤,下面就從簡述一下ant構建,

原创 ofbiz實體引擎(四) ModelReader的作用

public class ModelReader implements Serializable { public static final String module = ModelReader.class.getName()

原创 ofbiz 服務引擎(一) controller中服務的調用解析

首先根據handler-controller.xml文件中對應handler文件,然後運行RequestHandler中的runEvent方法,方法如下: /** * @Description: 查找event處理句柄,並調用

原创 ofbiz中FreeMarkerWorker的makeConfiguration方法

            這個方法是說明了爲什麼在ftl中可以使用一些java方法             1.代碼展示 public static Configuration makeConfiguration(BeansWrapper

原创 ofbiz初級教程

              本教程是ofbiz 基本應用,它涵蓋了OFBiz應用程序開發過程的基本原理。目標是使開發人員熟悉最佳實踐,編碼慣例,基本控制流程以及開發人員對OFBiz定製所需的所有其他方面。            

原创 ofbiz實體引擎(五) ModelGroupReader

public class ModelGroupReader implements Serializable { public static final String module = ModelGroupReader.class

原创 cordova學習八 跨域請求

           Cordova的跨域請求處理其實很簡單,只需在對應平臺的Config.xml文件中,將            platforms\平臺名\res\xml\config.xml           <access or

原创 ofbiz實體引擎(三) GenericDelegator實例化的具體過程

/** * @author 鄭小康 * 1.設置delegatorFullName 基本delegatorName+"#"+tenantId 如果tenantId爲空 則就是默認的delegatorName

原创 ofbiz實體引擎(一) 獲取Delegator

public abstract class DelegatorFactory implements Factory<Delegator, String> { public static final String module =

原创 ofbiz實體引擎(六) GenericHelper的初始化創建

/** * @author 鄭小康 * * 1.根據groupName獲取GenericHelperInfo * * 2.獲取GenericHelperInfo的helperBaseNa

原创 ofbiz實體引擎(二) delegator實例化具體方式

/** * @author 鄭小康 * 採用spi創建對應實例DelegatorFactoryImpl * */ public static <A, R> R getObjectFromFactory

原创 ofbiz實體引擎(九) 多租戶

多租戶在平臺中是根據delegator不同操作不同的數據庫 /** * @author 鄭小康 * 設置完整的delegator 其可能形式有 default 或者defalut#tenantDelegat

原创 ofbiz實體引擎(七) 檢查數據源

/** * Check the datasource to make sure the entity definitions are correct, optionally adding missing entities or

原创 activiti學習筆記(一) 獲取流程配置實例

activiti獲取流程配置實例 流程配置的獲取方法api        流程配置的獲取共有七種方法,但是隻分爲三類,一類是根據配置文件路徑進行獲取、一類是根據流文件獲取、還有一類是構建一個空的實例,根據類的默認屬性來獲取 /**

原创 tomcat請求處理分析(一) 啓動container實例

1.1.1  啓動container實例 其主要是進行了生命週期中一系列的操作之後調用StandardEngine中的 startInternal方法,不難看出其調用其父類的startInternal方法, 其父類是ContainerBa