Apache OfBiz Cookbook


Apache OfBiz Cookbook
eBook: $26.99
Formats: PDF, PacktLib, ePub and Mobi formats
$22.94
save 15%!
Print + free eBook + free PacktLib access to the book: $71.98    Print cover: $44.99
$44.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Support
Sample Chapters
  • Optimize your OFBiz experience and save hours of frustration with this timesaving collection of practical recipes covering a wide range of OFBiz topics.
  • Get answers to the most commonly asked OFBiz questions in an easy-to-digest reference style of presentation.
  • Discover insights into OFBiz design, implementation, and best practices by exploring real-life solutions.
  • Each recipe in this Cookbook is crafted to describe not only "how" to accomplish a specific task, but also "why" the technique works to ensure you get the most out of your OFBiz implementation.

Book Details

Language : English
Paperback : 300 pages [ 235mm x 191mm ]
Release Date : September 2010
ISBN : 1847199186
ISBN 13 : 9781847199188
Author(s) : Ruth Hoffman
Topics and Technologies : All Books, Enterprise Products and Platforms, e-Commerce, Java, Open Source


Table of Contents

Preface
Chapter 1: Getting Started
Chapter 2: Java Development
Chapter 3: The User Interface
Chapter 4: OFBiz Services
Chapter 5: The OFBiz Entity Engine
Chapter 6: OFBiz Security
Chapter 7: WebTools
Chapter 8: Web Services
Chapter 9: OFBiz Tips and Tricks
Appendix: Entity Engine by Example
Index
  • Chapter 1: Getting Started
    • Introduction
    • Getting the project code
    • Getting code from the Subversion repository
    • Fixing IP port collision errors
    • The JAVA_HOME setting
    • "Class Not Found" errors
    • Installation verification
    • SSL verification
    • Running JUnit tests
    • Locating an OFBiz Component
    • Locating an OFBiz Application
  • Chapter 2: Java Development
    • Introduction
    • Java runtime CLASSPATH
    • Java compile time CLASSPATH
    • Naming conventions
    • Writing OFBiz Java Events
    • Writing OFBiz Java Services
    • Debugging using the logfile
    • Calling OFBiz Services from a Java program
    • Getting and validating request parameters (Events)
    • Getting and validating request parameters (Services)
    • Managing error messages
    • Using Java properties files
    • Sending e-mail from an OFBiz Event or Service
    • Handling XML files
  • Chapter 3: The User Interface
    • Introduction
    • Creating HTML web pages
    • Adding actions to Screen widgets
    • HTML markup in Screen widgets
    • CSS styling in Screen widgets
    • Platform-specific widgets
    • OFBiz Tree widgets
    • OFBiz Menu widgets
    • OFBiz Form widgets
    • Creating web pages using FreeMarker
    • Passing Screen widget parameters to FreeMarker
    • Calling Java methods from FreeMarker
    • Forcing FreeMarker to render HTML markup
    • Uploading files in FreeMarker forms
  • Chapter 4: OFBiz Services
    • Introduction
    • Managing existing OFBiz Services
    • Calling a Service from an HTML form
    • Calling asynchronous Services from HTML forms
    • Calling a Service many times from an HTML form
    • Creating a new Service definition file
    • Creating a new Service definition
    • Implementing Services
    • Defining Service attributes (INPUT/OUTPUT)
    • Service Event Condition Actions
    • Service groups
    • Handling Service errors
    • Writing Groovy Services
    • Mail Event Condition Actions
    • Entity Event Condition Actions
  • Chapter 5: The OFBiz Entity Engine
    • Introduction
    • Changing the default database
    • Connecting to a remote database
    • Connecting to multiple databases
    • Creating entity groups
    • Disabling automatic database checks
    • Mapping database data types
    • Creating a new entity model
    • Modifying an existing entity model
    • Building a view-entity
  • Chapter 6: OFBiz Security
    • Introduction
    • Securing communications ports
    • Disabling demonstration user accounts
    • Protecting OFBiz web pages
    • Creating user accounts
    • Protecting applications using security groups
    • Protecting views ("Tarpitting")
    • Retrieving forgotten passwords
    • Changing your password
    • Adding or changing SSL certificates
    • OFBiz single sign-on and the external login key
  • Chapter 7: WebTools
    • Introduction
    • Cache maintenance
    • Changing debug settings
    • Exporting database data to XML documents
    • Loading database(s) from XML documents
    • Managing internationalization labels
    • Using the SQL processor
    • Exploring the entity reference tool
    • Viewing OFBiz usage statistics
    • Uncovering artifact information
    • Working with temporal expressions
  • Chapter 8: Web Services
    • Introduction
    • Requesting web services using URL parameters
    • Requesting web services using an HttpClient
    • Creating HttpClients and passing XML documents
    • Creating XML-RPC web service clients
    • Becoming an XML-RPC web service provider
    • OFBiz SOAP messaging clients
    • Generating a WSDL document
    • Creating SOAP-compliant web services
  • Chapter 9: OFBiz Tips and Tricks
    • Introduction
    • Fixing Java memory allocation errors
    • Reloading OFBiz seed and demo data
    • Creating new seed data files
    • Changing the administrative user's password
    • Creating a new administrative user
    • Getting the OFBiz version number
    • Building an OFBiz instance
    • Building a single OFBiz Component
    • Creating a new OFBiz Component or Application
    • Creating a FreeMarker transform
    • Preparing data using Groovy
    • Pop-up new browser windows
    • Installing an OFBiz Visual Theme
    • Creating an OFBiz Visual Theme
  • Appendix: Entity Engine by Example
    • Introduction
    • Putting it all together with a data model example
    • 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
    • EntityOperator reference

Ruth Hoffman

An OFBiz evangelist with over 25 years of information technology experience including stints in software design and development, training, project management, product marketing and software sales, Ruth has dedicated the last few years of her eventful career to furthering the OFBiz vision. Whether it be writing about OFBiz, providing implementation and OFBiz consulting services or just “kicking the OFBiz tires” for each new release, she enjoys working with and telling the world about all that this amazing ERP software suite has to offer.
Ruth’s current passion is her quest to provide high quality, cost effective OFBiz training and documentation. She has pursued this quest through multiple channels including the myofbiz.com website. She invites everyone to stop by, take a gander and give some feedback: http://www.myofbiz.com
As a long standing supporter of OFBiz, she has authored several other OFBiz titles including “OFBiz E-Commerce Out-Of-The-Box” and “The OFBiz Catalog Manager” For more information, please see: http://www.myofbiz.com.
Acknowledgements
I’d like to thank my partner, JC,  for being so patient and understanding, my daughter for not getting too upset when I cancelled our planned Lilac Festival adventure and my dog Sadie for sitting by me all those long hours when no one else would.
Also, my sincerest thanks go to Adrian Crum and Shi Jinghai for their dedicated efforts in providing technical review of this book. Thanks for keeping me honest and setting me straight on a number of occasions. Your contributions are greatly appreciated!

Sorry, we don't have any reviews for this title yet.

Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

Sample chapters

You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

Frequently bought together

Apache OfBiz Cookbook +    Unity Shaders and Effects Cookbook =
50% Off
the second eBook
Price for both: $39.00

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

  • Learn OFBiz artifact organization and effective (OFBiz) project navigation skills
  • Configure OFBiz web applications and framework settings using various WebTools
  • Access and manage one or more database(s) using the OFBiz Entity engine
  • Create Java programs that call other OFBiz Services and utilities
  • Use Groovy to prepare data for web page presentation
  • Enhance existing OFBiz applications or create new ones, by implementing OFBiz Screen, Form, Tree, and Menu Widgets
  • Create and deploy OFBiz Events and Services
  • Make administrative changes easily from the command-line
  • Add web service client(s) and service provider features to your OFBiz instance
  • Minimize frustration and wasted time with straightforward recipes designed to get you up and running quickly

In Detail

Apache Open For Business (OFBiz) is an enterprise resource planning (ERP) system that provides a common data model and an extensive set of business processes. But without proper guidance on developing performance-critical applications, it is easy to make the wrong design and technology decisions. The power and promise of Apache OFBiz is comprehensively revealed in a collection of self-contained, quick, practical recipes in this Cookbook.

This book covers a range of topics from initial system setup to web application and HTML page creation, Java development, and data maintenance tasks. Focusing on a series of the most commonly performed OFBiz tasks, it provides clear, cogent, and easy-to-follow instructions designed to make the most of your OFBiz experience.

Let this book be your guide to enhancing your OFBiz productivity by saving you valuable time. Written specifically to give clear and straightforward answers to the most commonly asked OFBiz questions, this compendium of OFBiz recipes will show you everything you need to know to get things done in OFBiz.

Whether you are new to OFBiz or an old pro, you are sure to find many useful hints and handy tips here. Topics range from getting started to configuration and system setup, security and database management through the final stages of developing and testing new OFBiz applications.

Unlock the power and promise of Apache OFBiz with this comprehensive collection of concise, insightful, and proven recipes, timesaving techniques, and helpful hints.

Approach

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.

Who this book is for

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.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software