万本电子书0元读

万本电子书0元读

顶部广告

Apache OfBiz Cookbook电子书

售       价:¥

15人正在读 | 0人评论 9.8

作       者:Ruth Hoffman

出  版  社:Packt Publishing

出版时间:2010-09-07

字       数:172.0万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
The best way to experience OFBiz is to dive right in and start "kicking the tires". No matter if you are an end user exploring the out-of-the-box e-commerce web store or a software developer getting ready to build a new application, you will find, eventually, that you perform the same tasks over and over again. This book is designed as a reference to guide you though those oft-encountered OFBiz tasks. It is a collection of recipes, not necessarily in any particular order of importance, that address and give answers to many of the real-world questions asked about how to do things with OFBiz. If you are an OFBiz user who has some familiarity with enterprise software systems, and perhaps more importantly, Internet and Web exposure, you will be able to glean useful information from this book. You will need only basic knowledge of modern browser behavior (for example: how to click a mouse button) to follow some recipes, while others assume a passing familiarity with a text-editor and XML documents. If you are a software developer looking for Java and/or Groovy examples, this book also includes a chapter on Java software development.
目录展开

Apache OFBiz Cookbook

Table of Contents

Apache OFBiz Cookbook

Credits

About the Author

About the Reviewers

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Errata

Piracy

Questions

1. Getting Started

Introduction

Getting the project code

Getting ready

How to do it...

How it works...

There's more...

See also

Getting code from the Subversion repository

Getting ready

How to do it...

How it works...

See also

Fixing IP port collision errors

Getting ready

How to do it...

How it works...

There's more...

The JAVA_HOME setting

Getting ready

How to do it...

How it works...

There's more...

"Class Not Found" errors

Getting ready

How to do it...

How it works...

There's more...

Installation verification

Getting ready

How to do it...

How it works...

There's more...

SSL verification

Getting ready

How to do it...

How it works...

There's more...

See also

Running JUnit tests

Getting ready

How to do it...

How it works...

There's more...

Locating an OFBiz Component

Getting ready

How to do it...

How it works...

There's more...

Locating an OFBiz Application

Getting ready

How to do it...

How it works...

There's more...

2. Java Development

Introduction

Java runtime CLASSPATH

How to do it...

How it works...

Java compile time CLASSPATH

Getting ready

How to do it...

How it works...

Naming conventions

How to do it...

Writing OFBiz Java Events

Getting ready

How to do it...

How it works...

There's more...

Writing OFBiz Java Services

Getting ready

How to do it...

How it works...

There's more...

See also

Debugging using the logfile

Getting ready

How to do it...

How it works...

Calling OFBiz Services from a Java program

Getting ready

How to do it...

How it works...

There's more...

Getting and validating request parameters (Events)

How to do it...

How it works...

There's more...

Getting and validating request parameters (Services)

How to do it...

How it works...

Managing error messages

How to do it...

There's more...

Using Java properties files

How to do it...

How it works...

See also

Sending e-mail from an OFBiz Event or Service

Getting ready

How to do it...

How it works...

There's more...

See also

Handling XML files

Getting ready

How to do it...

How it works...

3. The User Interface

Introduction

Creating HTML web pages

Getting ready

How to do it...

How it works...

There's more...

Adding actions to Screen widgets

Getting ready

How to do it...

How it works...

There's more...

HTML markup in Screen widgets

How to do it...

How it works..

There's more...

CSS styling in Screen widgets

How to do it...

How it works...

There's more...

Platform-specific widgets

How to do it...

How it works...

There's more...

OFBiz Tree widgets

How to do it...

How it works...

There's more...

OFBiz Menu widgets

How to do it...

How it works...

OFBiz Form widgets

How to do it...

How it works...

There's more..

Creating web pages using FreeMarker

Getting ready

How to do it...

How it works...

There's more

See also

Passing Screen widget parameters to FreeMarker

How to do it...

How it works

There's more

Calling Java methods from FreeMarker

How to do it...

How it works...

There's more...

Forcing FreeMarker to render HTML markup

How to do it...

How it works

Uploading files in FreeMarker forms

Getting ready

How to do it...

How it works...

There 's more...

4. OFBiz Services

Introduction

Managing existing OFBiz Services

How to do it...

How it works...

There's more...

Calling a Service from an HTML form

Getting ready

How to do it...

How it works...

Calling asynchronous Services from HTML forms

Getting ready

How to do it...

How it works...

There's more...

Calling a Service many times from an HTML form

How to do it...

How it works...

Creating a new Service definition file

How to do it...

How it works...

Creating a new Service definition

How to do it...

How it works...

See also

Implementing Services

Getting ready

How to do it...

How it works...

There's more...

Defining Service attributes (INPUT/OUTPUT)

How to do it...

How it works...

Service Event Condition Actions

Getting ready

How to do it...

How it works...

There's more...

Service groups

Getting ready

How to do it...

How it works...

See also

Handling Service errors

Getting ready

How to do it...

How it works...

See also

Writing Groovy Services

Getting ready

How to do it...

How it works...

Mail Event Condition Actions

Getting ready

How to do it...

How it works...

See also

Entity Event Condition Actions

How to do it...

How it works...

There's more...

See also

5. The OFBiz Entity Engine

Introduction

Changing the default database

Getting ready

How to do it...

How it works...

See also

Connecting to a remote database

Getting ready

How to do it...

How it works...

Connecting to multiple databases

Getting ready

How to do it...

How it works...

Creating entity groups

Getting ready

How to do it...

How it works...

Disabling automatic database checks

Getting ready

How to do it...

How it works...

Mapping database data types

Getting ready

How to do it...

How it works...

Creating a new entity definition file

How to do it...

How it works...

Creating a new entity model

Getting ready

How to do it...

How it works...

There's more...

Modifying an existing entity model

Getting ready

How to do it...

How it works...

Building a view-entity

Getting ready

How to do it...

How it works...

There's more...

See also

6. OFBiz Security

Introduction

Securing communications ports

How to do it...

How it works...

There's more...

See also

Disabling demonstration user accounts

How to do it...

How it works...

Protecting OFBiz web pages

Getting ready

How to do it...

How it works...

There's more...

Creating user accounts

How to do it...

How it works...

There's more...

Protecting applications using security groups

How to do it...

How it works...

There's more...

Protecting views ("Tarpitting")

Getting ready

How to do it...

How it works...

There's more...

Retrieving forgotten passwords

Getting ready

How to do it...

How it works...

Changing your password

How to do it...

How it works...

Adding or changing SSL certificates

Getting ready

How to do it...

How it works...

There's more...

See also

OFBiz single sign-on and the external login key

Getting ready

How to do it...

How it works...

There's more...

7. WebTools

Introduction

Cache maintenance

Getting ready

How to do it...

How it works...

There's more...

See also

Changing debug settings

Getting ready

How to do it...

How it works...

There's more...

Exporting database data to XML documents

Getting ready

How to do it...

How it works...

Loading database(s) from XML documents

Getting ready

How to do it...

How it works...

There's more...

Managing internationalization labels

Getting ready

How to do it...

How it works

There's more...

Using the SQL processor

Getting ready

How to do it...

How it works...

Exploring the entity reference tool

Getting ready

How to do it...

How it works...

Viewing OFBiz usage statistics

Getting ready

How to do it...

How it works...

Uncovering artifact information

Getting ready

How to do it...

How it works...

Working with temporal expressions

Getting ready

How to do it...

How it works...

There's more...

8. Web Services

Introduction

Requesting web services using URL parameters

Getting ready

How to do it...

How it works...

There's more...

Requesting web services using an HttpClient

Getting ready

How to do it...

How it works...

There's more...

See also

Creating HttpClients and passing XML documents

Getting ready

How to do it...

How it works...

Creating XML-RPC web service clients

Getting ready

How to do it...

How it works...

See also

Becoming an XML-RPC web service provider

Getting ready

How to do it...

How it works...

See also

OFBiz SOAP messaging clients

Getting ready

How to do it...

How it works...

There's more...

Generating a WSDL document

Getting ready

How to do it...

How it works...

Creating SOAP-compliant web services

Getting ready

How to do it...

How it works...

9. OFBiz Tips and Tricks

Introduction

Fixing Java memory allocation errors

Getting ready

How to do it...

How it works...

There's more...

Reloading OFBiz seed and demo data

Getting ready

How to do it...

How it works...

There's more...

Creating new seed data files

Getting ready

How to do it...

How it works...

There's more…

Changing the administrative user's password

Getting ready

How to do it...

How it works...

There's more…

Creating a new administrative user

Getting ready

How to do it...

How it works...

There's more...

Getting the OFBiz version number

Getting ready

How to do it...

How it works...

There's more...

Building an OFBiz instance

Getting ready

How to do it...

How it works...

There's more...

See also

Building a single OFBiz Component

Getting ready

How to do it...

How it works...

Creating a new OFBiz Component or Application

Getting ready

How to do it...

How it works...

There's more...

Creating a FreeMarker transform

How to do it...

How it works...

There's more...

Preparing data using Groovy

Getting ready

How to do it...

How it works...

There's more...

See also

Pop-up new browser windows

How to do it...

How it works...

There's more...

Installing an OFBiz Visual Theme

Getting ready

How to do it...

How it works...

There's more...

Creating an OFBiz Visual Theme

Getting ready

How to do it...

How it works...

There's more...

See also

A. Entity Engine by Example

Introduction

Putting it all together with a data model example

Sample use case

Entity diagram

New entity definitions

2-way SQL join view-entity

3-way SQL join view-entity

View-entity reports

Next steps

Reading data from an OFBiz data source

Working with large result sets (EntityListIterator)

Removing data from the database (Java)

Writing data to the database (Java)

Using the automatic sequence generator

EntityUtil

EntityUtil.getFirst()

EntityUtil.filterByDate()

EntityUtil.orderBy()

EntityUtil.getFieldListFromEntityList()

EntityUtil.getRelated()

EntityUtil.filterByCondition()

EntityOperator reference

Index

累计评论(0条) 1个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部