Apache OFBiz

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
(第三方集成)
第29行: 第29行:
 
  http://localhost:8080/manufacturing
 
  http://localhost:8080/manufacturing
 
  user:admin/flexadmin/demoadmin, password:ofbiz
 
  user:admin/flexadmin/demoadmin, password:ofbiz
==Technical==
 
[[Image:apache-ofbiz.-architecture.jpg|right|thumb|OFBiz Technical Architecture]]
 
[[Image:ofbiz-framework.gif|right|thumb|OFBiz Framework]]
 
  
===Screens===
 
* Generic Screens
 
* Generic Forms
 
* HTML, XSL:FO, XUL
 
* Controller
 
===Entity Engine===
 
Entity: small unit of data model
 
* Data Model definded in XML: Entitymodel.xml, entitygroup.xml
 
* GenericDelegator API
 
* GenericValue API
 
* Database Independent
 
* OFBiz apps work with relational stores directly
 
* Entity Engine provides a “ResultSet on steroids”interface to relational data called a GenericEntity
 
Entityengine.xml, fieldtype.xml, cache properties
 
* Schemas and queries are database agnostic
 
* A caching infrastructure is provided to accelerate common lookups. Cache sizes can be adjusted on an Entity by Entity basis
 
===Service Engine===
 
Service: small unit of business logic
 
* Generic Business Logic defined in XML, Defined in services.xml
 
* Dispatcher API
 
* Services are exposed as stateless units of functionality with named parameters and can be called synchronous, asynchronous or scheduled
 
* Services can be implemented in a variety of languages; The calling interface shields any calling code from the implementation details
 
* Services can be delegated to remote machines via SOAP, XML-RPC and other messaging services; OFBiz services can also be externally exposed via the same protocols
 
Example Service
 
<service name="quickShipEntireOrder" engine="simple" auth="true" location="org/ofbiz/shipment/shipment/ShipmentServices.xml"
 
invoke="quickShipEntireOrder">
 
<description>Quick Ships An Entire Order Creating One Shipment Per Facility and Ship Group. All approved order items are automatically
 
issued in full and put into one package. The shipment is created in the INPUT status and then updated to PACKED and SHIPPED.
 
</description>
 
<attribute name="orderId" type="String" mode="IN" optional="false"/>
 
<attribute name="originFacilityId" type="String" mode="IN" optional="true"/>
 
<attribute name="setPackedOnly" type="String" mode="IN" optional="true"/>
 
<attribute name="shipmentShipGroupFacilityList" type="List" mode="OUT" optional="false"/>
 
</service>
 
===Workflow===
 
* SECA
 
* XPDL
 
 
==Products==
 
==Products==
 
Products based on Apache OFBiz
 
Products based on Apache OFBiz
第76行: 第36行:
 
*[[Neogia]]
 
*[[Neogia]]
 
*[[Open Business Platform]]
 
*[[Open Business Platform]]
 +
 
==Source Code==
 
==Source Code==
 
  http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Source+Repository+and+Access
 
  http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Source+Repository+and+Access
 +
 
==PostgreSQL==
 
==PostgreSQL==
 
[[Image:ofbiz-postgresql.png|right|thumb|OFBiz and PostgreSQL]]
 
[[Image:ofbiz-postgresql.png|right|thumb|OFBiz and PostgreSQL]]
第115行: 第77行:
 
==框架==
 
==框架==
 
OFBiz Framework 是涉及实体引擎、服务引擎、屏幕、规则引擎、工作流等核心部分。
 
OFBiz Framework 是涉及实体引擎、服务引擎、屏幕、规则引擎、工作流等核心部分。
 +
 +
[[Image:apache-ofbiz.-architecture.jpg|right|thumb|OFBiz Technical Architecture]]
 +
[[Image:ofbiz-framework.gif|right|thumb|OFBiz Framework]]
 +
 +
===Screens===
 +
* Generic Screens
 +
* Generic Forms
 +
* HTML, XSL:FO, XUL
 +
* Controller
 +
===Entity Engine===
 +
Entity: small unit of data model
 +
* Data Model definded in XML: Entitymodel.xml, entitygroup.xml
 +
* GenericDelegator API
 +
* GenericValue API
 +
* Database Independent
 +
* OFBiz apps work with relational stores directly
 +
* Entity Engine provides a “ResultSet on steroids”interface to relational data called a GenericEntity
 +
Entityengine.xml, fieldtype.xml, cache properties
 +
* Schemas and queries are database agnostic
 +
* A caching infrastructure is provided to accelerate common lookups. Cache sizes can be adjusted on an Entity by Entity basis
 +
===Service Engine===
 +
Service: small unit of business logic
 +
* Generic Business Logic defined in XML, Defined in services.xml
 +
* Dispatcher API
 +
* Services are exposed as stateless units of functionality with named parameters and can be called synchronous, asynchronous or scheduled
 +
* Services can be implemented in a variety of languages; The calling interface shields any calling code from the implementation details
 +
* Services can be delegated to remote machines via SOAP, XML-RPC and other messaging services; OFBiz services can also be externally exposed via the same protocols
 +
Example Service
 +
<service name="quickShipEntireOrder" engine="simple" auth="true" location="org/ofbiz/shipment/shipment/ShipmentServices.xml"
 +
invoke="quickShipEntireOrder">
 +
<description>Quick Ships An Entire Order Creating One Shipment Per Facility and Ship Group. All approved order items are automatically
 +
issued in full and put into one package. The shipment is created in the INPUT status and then updated to PACKED and SHIPPED.
 +
</description>
 +
<attribute name="orderId" type="String" mode="IN" optional="false"/>
 +
<attribute name="originFacilityId" type="String" mode="IN" optional="true"/>
 +
<attribute name="setPackedOnly" type="String" mode="IN" optional="true"/>
 +
<attribute name="shipmentShipGroupFacilityList" type="List" mode="OUT" optional="false"/>
 +
</service>
 +
===Workflow===
 +
* SECA
 +
* XPDL
  
 
==应用==
 
==应用==

2011年5月31日 (二) 08:15的版本

Wikipedia-35x35.png 您可以在Wikipedia上了解到此条目的英文信息 Apache OFBiz Thanks, Wikipedia.
Ofbiz-logo.jpg

OFBiz 已经正式成为 Apache 的顶级项目: Apache OFBiz

OFBiz商业处理流程

Apache OFBiz 是一个开放的电子商务平台和ERP套件。

目录

What

OFBiz Architecture
  • OFBiz is a general purpose framework for building software that controls common business processes
  • Unlike many systems which provide abstract software structures, OFBiz attempts to supply a set of data structures and software libraries for managing more concrete business elements such as orders, employees, contracts, and manufacturing processes
  • The OFBiz data schema is based on Len Silverston’s comprehensive survey of industry data modeling practices
  • OFBiz provides more than 700 data classes representing common business structures

Features

  • Advanced e-commerce (integrated catalog, pricing, order and sales management)
  • Customer relationship management
  • Warehouse management and fulfillment (auto stock moves, batched pick, pack and ship)
  • Accounting (invoice, payment and billing accounts, fixed assets)
  • Work efforts (manufacturing, events, tasks, etc.)
  • Content management (product content, web sites, documents, blogging, forums, etc)

Install

$ svn co http://svn.apache.org/repos/asf/ofbiz/trunk ofbiz
$ ant run-install
$ java -jar ofbiz.jar

or

get current version from http://download.huihoo.com/apache/ofbiz/

This will give a base install running on an embedded Derby database and web services listening on port 8080 and 8443

http://localhost:8080/ecommerce
http://localhost:8080/manufacturing
user:admin/flexadmin/demoadmin, password:ofbiz

Products

Products based on Apache OFBiz

Source Code

http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Source+Repository+and+Access

PostgreSQL

OFBiz and PostgreSQL

将 postgresql-8.3-603.jdbc4.jar 放到 ofbiz-trunk\framework\entity\lib\jdbc

createuser -S -D -R -P -E ofbiz 
createdb -O ofbiz ofbiz

修改 ofbiz-trunk\framework\entity\config\entityengine.xml

<delegator name="default" entity-model-reader="main" entity-group-reader="main" entity-eca-reader="main" distributed-cache-clear-enabled="false"> 
<group-map group-name="org.ofbiz" datasource-name="localpostgres"/> 
... 
</delegator> 
<datasource name="localpostgres" 
... 
<inline-jdbc 
jdbc-driver="org.postgresql.Driver" 
 jdbc-uri="jdbc:postgresql://127.0.0.1:5432/ofbiz" 
jdbc-username="ofbiz" 
jdbc-password="ofbiz" 
isolation-level="ReadCommitted" 
pool-minsize="2" 
pool-maxsize="250"/> 
</datasource> 

cd $OFBIZDIR

ant run-install // to populate the data in PostgreSQL
java -jar ofbiz.jar

GlassFish

ZK

http://docs.ofbiz.org/display/OFBIZ/ZK+Rich+Client+-+integration+tutorial

OSGi

OFBiz OSGi Integration

配置

修改端口: trunk/framework/base/config/ofbiz-containers.xml <property name="port" value="8080"/>

框架

OFBiz Framework 是涉及实体引擎、服务引擎、屏幕、规则引擎、工作流等核心部分。

OFBiz Technical Architecture
OFBiz Framework

Screens

  • Generic Screens
  • Generic Forms
  • HTML, XSL:FO, XUL
  • Controller

Entity Engine

Entity: small unit of data model

  • Data Model definded in XML: Entitymodel.xml, entitygroup.xml
  • GenericDelegator API
  • GenericValue API
  • Database Independent
  • OFBiz apps work with relational stores directly
  • Entity Engine provides a “ResultSet on steroids”interface to relational data called a GenericEntity

Entityengine.xml, fieldtype.xml, cache properties

  • Schemas and queries are database agnostic
  • A caching infrastructure is provided to accelerate common lookups. Cache sizes can be adjusted on an Entity by Entity basis

Service Engine

Service: small unit of business logic

  • Generic Business Logic defined in XML, Defined in services.xml
  • Dispatcher API
  • Services are exposed as stateless units of functionality with named parameters and can be called synchronous, asynchronous or scheduled
  • Services can be implemented in a variety of languages; The calling interface shields any calling code from the implementation details
  • Services can be delegated to remote machines via SOAP, XML-RPC and other messaging services; OFBiz services can also be externally exposed via the same protocols

Example Service

<service name="quickShipEntireOrder" engine="simple" auth="true" location="org/ofbiz/shipment/shipment/ShipmentServices.xml"
invoke="quickShipEntireOrder">
<description>Quick Ships An Entire Order Creating One Shipment Per Facility and Ship Group. All approved order items are automatically
issued in full and put into one package. The shipment is created in the INPUT status and then updated to PACKED and SHIPPED.
</description>
<attribute name="orderId" type="String" mode="IN" optional="false"/>
<attribute name="originFacilityId" type="String" mode="IN" optional="true"/>
<attribute name="setPackedOnly" type="String" mode="IN" optional="true"/>
<attribute name="shipmentShipGroupFacilityList" type="List" mode="OUT" optional="false"/>
</service>

Workflow

  • SECA
  • XPDL

应用

OFBiz Applications 是可实施的企业应用套件, 包含以下应用: 网店/POS, 订单处理, 产品/目录管理, 会员管理, 销售管理, 市场管理, 场所管理, 生产管理, 财务管理, 应收帐, 应付帐, 人力资源管理, 资产管理, 项目管理, 工作计划, 系统管理。

  • Accounting Manager

Setup your chart of accounts, manage agreements, billing, invoices, payments, and more.

  • Catalog Manager

Create catalogs and populate products by categories. Maintain product features, price rules, promotions, subscriptions, reviews, and more.

  • Content Manager

Underlying CMS capability that can be customized to manage website content, blogs, surveys, and more.

  • Facility Manager

Pick, pack, and ship while maintaining inventory information.

  • Manufacturing Manager

MRP, job shop, routing and routing task screens, and BOM screens.

  • Marketing Manager

Maintaining mailing lists, manage online marketing campaigns that are fully integrated with e-commerce.

  • Order Manager

Manage purchase and sales orders, create orders, handle returns.

  • Party Manager

Create individuals and groups, manage roles.

  • Webtools Application

Track site traffic and related performance metrics.

  • WorkEffort Manager

Events, calendar, project management, and more ready to be customized to meet your specific needs.

第三方集成

支付网关

Apache-ofbiz-payment-gateways.gif

物流

Apache-ofbiz-shipping.jpg

多渠道

Apache-ofbiz-multi-channel.gif

第三方Checkout

Apache-ofbiz-3rd-party-checkout.gif

SSO和身份管理

Apache-ofbiz-identity-management.jpg

Magento

Apache-ofbiz-magento.jpg

指南

相关链接

Powered by

Ofbiz-cart.png

More User: http://docs.ofbiz.org/display/OFBIZ/Apache+OFBiz+User+Stories

服务公司

Comment-32x32.png

<discussion>characters_max=300</discussion>

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱