IBM websphere commerce后台开发步骤

来源:互联网 发布:优盘格式化恢复软件 编辑:程序博客网 时间:2024/05/22 12:54

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>/

原创粉丝点击