Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Apache OfBiz Cookbook

You're reading from   Apache OfBiz Cookbook Over 60 simple but incredibly effective recipes for taking control of OFBiz

Arrow left icon
Product type Paperback
Published in Sep 2010
Publisher Packt
ISBN-13 9781847199188
Length 300 pages
Edition 1st Edition
Arrow right icon
Toc

Table of Contents (15) Chapters Close

Apache OFBiz Cookbook
Credits
About the Author
About the Reviewers
1. Preface
1. Getting Started FREE CHAPTER 2. Java Development 3. The User Interface 4. OFBiz Services 5. The OFBiz Entity Engine 6. OFBiz Security 7. WebTools 8. Web Services 9. OFBiz Tips and Tricks Entity Engine by Example

Chapter 2. Java Development

In this chapter, we will cover

  • CLASSPATH basics

  • Java file naming conventions

  • Creating OFBiz Java Events

  • Creating OFBiz Java Services

  • Debugging

  • Calling an OFBiz Service from a Java program

  • Java programs and request parameters

  • Error messages: best practices

  • Using properties files

  • Sending e-mail

  • Manipulating XML files

Note

Note: This chapter is not intended to instruct Java developers planning to commit code back to the OFBiz project. Such code is subject to the OFBiz Contributors Best Practices document found at:

http://cwiki.apache.org/confluence/x/JIB2

Introduction

Before you can write effective OFBiz Java code, you need to understand some basics about the environment in which OFBiz operates. In the previous chapter, we learned that OFBiz executes within a JVM. That JVM, in turn, hosts a Java servlet container. The servlet container provides all the basic programming infrastructure necessary to build and run OFBiz web applications (sometimes referred to as "webapps").

Note

Out...

lock icon The rest of the chapter is locked
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Apache OfBiz Cookbook
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £16.99/month. Cancel anytime
Modal Close icon
Modal Close icon