文档介绍:cyan yellOW
MAGENTA BLACK
PANTONE 123 C
Books for professionals by professionals® The EXPERT’s VOIce® in Java™ Technology
Companion
eBook Available
Practical API Design: Confessions Practical API Design
of a Java™ Framework Architect
Dear Reader,
Maybe you’re standing in a bookstore, holding this book in your hand, and ask-
ing yourself, “Should I buy it?” Here is your answer. If you’ve ever written code
and handed it to others to let pile their code against yours, then you’re
ready to enter the API design world and this book will help you explore it. Practical
However, this book doesn’t attempt to “teach API design in five easy lessons.”
It cannot be read in “only three days!” If you’re looking for a quick handbook,
this book is probably not for you. On the other hand, if you’re interested in a
deeper knowledge of API design, in knowing not only the how, but also the why,
let me introduce myself to you before you put this book back on the shelf.
My name is Jaroslav Tulach and I am the founder and initial architect of the
NetBeans™ project, which is not just a well-known IDE, but also the first modu-
lar desktop application framework written in the Java™ language. This book is
based on notes that I’ve collected over the last ten years, while designing and API Design
Beans APIs and transferring this knowledge to the rest of our
developers. It’s a journal from the heart of Beans laboratory, describing
our problems, our growing understanding of them, the solutions we’ve chosen, ™
and the conclusions we made after applying them. Although our knowledge has Confessions of a Java Framework Architect
been gathered while working Beans, it’s general enough to be useful for
most software projects.
Knowledge of proper API design is essential for the essful creation of
21st century software. Let this book be your guide while exploring the big wide
world of API design.
Jaroslav Tulach
API desig