1. 定义entity bean
WebSphereCommerceServerExtensionData/
2. 定义databean和command
WebSphereCommerceServerExtensionLogic/
3. 注册resources
WC/xml/config/wc-server.xml
<ToolsGenralConfig>标签中注册<toolname>/resources.xml
4. 注册xml文件
WC/xml/tools/<toolname>/resources.xml
注册resourceBundle和resourceXML
5. 注册后台menu入口
WC/xml/tools/common/CommerceAcceleratorB2C.xml
<menu>
<menuitem …>
<node …>
….
6. 定义tool XML配置文件
WC/xml/tools/<toolname>/
7. 定义properties文件
WC/properties/com/ibm/commerce/tools/<toolname>/properties/
8. 注册jsp页面
CommerceAccelerator/WebContent/WEB-INF/struts-config-ext.xml
定义Action mapping和Global Forwarding
9. 编写jsp页面
CommerceAccelerator/WebContent/tools/<toolname>/
10. 编写js文件
CommerceAccelerator/WebContent/javascript/tools/<toolname>/
构建WebSphere Commerce Server的扩展模块:从概念到实践
本文详细介绍了如何构建并集成WebSphere Commerce Server的扩展模块,包括定义实体、数据和命令,注册资源和XML文件,设置后台菜单入口,配置工具XML,定义属性文件,注册JSP页面,编写JS文件等关键步骤。

942

被折叠的 条评论
为什么被折叠?



