Programming Books C Java PHP Python Learn more Browse Programming Books
Rich Client Programming: Plugging into the NetBeans Platform and over one million other books are available for Amazon Kindle. Learn more
Have one to sell? Sell on Amazon
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

Rich Client Programming: Plugging into the NetBeans Platform Paperback – May 10, 2007

ISBN-13: 978-0132354806 ISBN-10: 0132354802

8 New from $44.35 44 Used from $0.01
Amazon Price New from Used from
Kindle
"Please retry"
Paperback
"Please retry"
$44.35 $0.01

Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student



Customers Who Viewed This Item Also Viewed

NO_CONTENT_IN_FEATURE

Save up to 90% on Textbooks
Rent textbooks, buy textbooks, or get up to 80% back when you sell us your books. Shop Now

Product Details

  • Paperback: 640 pages
  • Publisher: Prentice Hall (May 10, 2007)
  • Language: English
  • ISBN-10: 0132354802
  • ISBN-13: 978-0132354806
  • Product Dimensions: 1.3 x 6.8 x 9.1 inches
  • Shipping Weight: 2 pounds
  • Average Customer Review: 2.8 out of 5 stars  See all reviews (5 customer reviews)
  • Amazon Best Sellers Rank: #678,595 in Books (See Top 100 in Books)

Editorial Reviews

About the Author

Tim Boudreau coauthored NetBeans™: The Definitive Guide (O'Reilly), served on the team that open-sourced NetBeans, and continues to develop for the NetBeans project.

Jaroslav Tulach cofounded the NetBeans project, and remains a leading guardian of the project API.

Geertjan Wielenga is the technical writer responsible for NetBeans documentation relating to module development and rich-client application development.

Excerpt. © Reprinted by permission. All rights reserved.

Welcome to the world of rich client development on the NetBeans Platform.

Though the Internet boom pushed much programming effort to the server side, the demand for quality desktop software remains and is arguably increasing. Some of the reasons include

  • Web pages, which are generally the interfaces for server-driven applications, often are insufficient for the needs of the end user.
  • Not every application requires a constant Internet connection, and some applications need to function offline.

In this book, we will focus on using the NetBeans Platform as a framework for creating rich client applications that can be written once and then run on any operating system. The NetBeans Platform is the foundation of the NetBeans IDE, which helpshundreds of thousands of programmers develop applications of all sizes and complexity. As such, the platform is a very powerful and robust base that you can use for your own applications, whether they are commercial applications or in-house solutions. In addition, we will show you what you need to know to create modules to plug into the NetBeans IDE itself.

Rich Client Applications

What do we mean by the term rich client application? A rich client application is simply a piece of software where a good portion, if not all, of the application's features work on the user's local system. This is in contrast with a Web application, where the features are entirely dependent on code that is run from a remote server and (usually) accessed by the user through a Web browser. More or less, the term rich client is a fancy new moniker for "desktop application." For example, NetBeans IDE itself is a rich client application.

What Is NetBeans?

NetBeans is best known as a popular and award-winning integrated development environment (IDE) for developing Java applications. At the IDE's core is the NetBeans Platform, a modular and extensible application framework. The IDE is a well-orchestrated combination of the platform and a vast array of modules.

At a very early stage in the history of the IDE, the IDE's architecture was modularized to make development of the IDE more flexible. The IDE's modular

  • It simplifies the creation of new features.
  • It makes it easy for users to add and remove features.
  • It makes it easy to update existing features in a user's installation without disrupting the rest of the application.

The modularity of the NetBeans Platform has made it very attractive to software developers around the world, who have created a large number of different applications on top of it. The NetBeans IDE is the most well-known of those, but the NetBeans Platform has been used as the basis for applications in many domains, from speech processing to geological mapping to stock trading.

Why NetBeans?

There are many reasons to build NetBeans Platform-based applications, not the least of which is the fact that NetBeans-based applications are truly cross-platform. It is possible to develop cross-platform rich client applications in a variety of ways. For example, you can use Swing components and write all of the plumbing of a desktop application yourself. Using the NetBeans Platform, however, gives you powerful building blocks and back-end infrastructure that your applications need, so that you do not have to code those parts yourself. This can save you a significant amount of time. You add the Swing components to the NetBeans Platform that are needed for your application logic, and optionally use other libraries such as JGraph, JFreeChart, etc. So, overall, NetBeans has a great deal to offer when it comes to rapid development of robust and scalable applications. You can focus on the essentials that are specific to your application. Put another way, the NetBeans Platform isto Swing development what JavaServer Faces technology and Struts are to Web development.

The following are some of most important benefits of the NetBeans Platform:

  • NetBeans is free and its code is freely reusable, whether you are developing commercial or noncommercial software.
  • NetBeans is a mature and feature-rich application framework. The components of the NetBeans Platform have been developed to serve the needs of the NetBeans IDE, an application that is used by hundreds of thousands of demanding software engineers---yet they are optimized for the production ofany sort of desktop application, not just IDEs or IDE-like applications. With the NetBeans Platform, you have a great basis for a production-quality application.
  • NetBeans is truly a "write once, run anywhere" platform. NetBeans is based on Swing, the pure-Java visual toolkit which is part of every desktop Java installation.
  • NetBeans technology is standards-based and open source, which means that you will never be a victim of proprietary lock-in when developing on the platform.
  • Plugins for NetBeans IDE have a massive potential audience. If you are looking to showcase your own technologies, creating a plugin module for NetBeans IDE and making it available through the NetBeans Plugin Portal (http://plugins.netbeans.org/PluginPortal) is a great way to reach a wide audience of developers.
  • NetBeans has a vibrant developer community. The NetBeans Platform benefits from a strong community of developers who are eager to share their experiences. If you have questions about a particular problem, chances are that someone will have had the same issue and will be able to help you.

What Does the Platform Provide for Me as an Application Developer?

When you develop on the NetBeans Platform, you get a rich set of base features, extensive APIs with which you can create your own features, and a powerful set of tools to help you in development.

The following are some of the most important things that you get when you start programming on the NetBeans Platform:

  • A Window System that greatly simplifies the manipulation of multiple components within a single frame.
  • An Actions system that makes it easy to declaratively install and uninstall menu items, toolbar items, keyboard shortcuts, etc.
  • The Auto Update mechanism, which provides a way to dynamically update a user's installation of your application.
  • The whole range of NetBeans IDE features that simplify application development, such as code completion and an advanced GUI builder (formerly code-named Matisse), in which you can visually design your user interfaces by dragging, dropping, and rearranging components.In addition, you get special module-development features such as module templates and the ability to test modules on the fly by installing or reloading them into the currently running IDE.
  • The architecture of your application is likely to become more robust when using the modular coding techniques encouraged by the NetBeans Platform.

Why This Book?

With the increasing popularity of the IDE and the recognition of the platform's convenience for creating the basics of any application, a book is sorely needed. Much information about the NetBeans Platform is already available, but there is no single up-to-date source that demonstrates how to make use of the whole platform. This book pulls together years' worth of accumulated wisdom, best practices, and practical information,and presents it all in one place.

This book will get you started quickly with module development and guide you through the most important APIs. Along the way, you will learn some of the programming practices that have made NetBeans such reliable and scalable software.

How to Use This Book

This book is divided into twenty-two chapters, two use cases, and three appendices.

  • Chapter 1 gets you set up and shows the basic process of creating a module.
  • Chapters 2 and 3 discuss the benefits of modularity and provide an overview of the modular structure of the NetBeans Platform.
  • Chapters 4 and 5 explain the concepts behind the way NetBeans modules work together and show you the platform's mechanisms for making modular applications cohesive.
  • Chapter 6 introduces you to the Filesystems API, which is the NetBeans Platform's base construct for handling both user data and system configuration data.
  • Chapter 7 consolidates information from previous chapters and shows you how to create a simple Navigator component for the platform.
  • Chapter 8 explains and demonstrates the NetBeans building blocks and features for creating mature multiwindow applications.
  • Chapter 9 shows you the Nodes and Explorer APIs, which give you rich ways to present data structures to users.
  • Chapter 10 highlights the Datasystems API, which gives you ways to easily programmatically manipulate files of a given type.
  • Chapter 11 shows off the IDE's GUI Builder and how it simplifies developing user interfaces for NetBeans Platform applications.
  • Chapter 12 builds upon the previous chapters and shows you how to provide multiple types of representations of a file's contents.
  • Chpaters 13 and 14 show you ways to add editing features for a file type.
  • Chapter 15 explains how to create a palette of objects and provides an example for enabling drag-and-drop of code snippets from the palette to a text editor.
  • Chapters 16 and 17 show how to develop more editing features.
  • Chapter 18 shows you how to add user-configurable options to your application.
  • Chapter 19, using Wicket as an example, shows how you can create IDE support for a Web application framework.
  • Chapter 20 shows how you can use Web services with a NetBeans Platform application.
  • Chapter 21 demonstrates how to integrate help documentation into your ...

More About the Authors

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

2.8 out of 5 stars
Share your thoughts with other customers

Most Helpful Customer Reviews

10 of 11 people found the following review helpful By mathboy on October 29, 2008
Format: Paperback
This is a book about how Netbeans, the application framework, works. Its intended audience is Netbeans framework users, people interested in frameworks generally and people who want to know how Netbeans works so they can, say, write plugins for it. Netbeans is mostly known for being a Java editor.

So what we have here is a book written about a technology by the people who created that technology. The worry for readers is there will not be enough editorial pushback against the experts to clarify their language; if they say "that's right" about something they wrote, then who is going to argue with them?

Unfortunately, that fear is well founded in this case. For instance, after a lengthy and rather abstract "manifesto" type chapter (chapter 4) on the (uncontroversial) benefits of modular applications and decoupling of abstraction from implementation, they introduce something called Lookup, which is, basically, a little database of keys and values, or, even more roughly, a "magic bag" of keys and values. Leaving aside the issue of whether Lookup is a Good Idea or not, the authors fail utterly in their illustrations of how and why Lookup is used to actually clarify its usage or purpose. The examples meant to clarify Lookup in Chapter 5 fail every test of good writing- they're chock full of references to Netbeans-specific classes and Netbeans-specific idioms that the reader could not possibly understand, unless of course the reader already understood the Netbeans framework, in which case, the chapter itself would presumably be moot. This is exactly the kind of thing a good editor should have caught.

Generally, the good point of this book is its written by the people closest to the technology, and is in that sense authoritative.
Read more ›
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
7 of 8 people found the following review helpful By R. Mark Volkmann on October 30, 2008
Format: Paperback Verified Purchase
I read a lot of computer books. This is one of the worst I have ever read. While it does contain some good information, it is presented with very little context. That makes it very difficult to absorb. The other issue is that the material has become dated as the NetBeans Platform has been improved. Unfortunately there isn't an alternative to this book now. Maybe there will be in 2009.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
1 of 1 people found the following review helpful By Gary E. Albers on July 1, 2011
Format: Kindle Edition Verified Purchase
I purchased the Kindle version of this book to help in understanding NetBeans, as I am beginning a study of X3D programming and need to use the X3D-Edit program plugin in the Linux version of NetBeans. Within the first couple of pages of the first chapter, I discovered that (1) apparently all of the book's example programs came on a CD with the hardcopy version of the book, and are NOT available for download on the publisher's or authors' websites, and (2) the instructions in the book are completely worthless with current versions of NetBeans; i.e., the menu systems on NetBeans 6.9 and 7.0 are totally different from those described in this book. Searching for info on the internet, it looks like I could go through a laborious process of installing a legacy version of NetBeans (5.5, which the book describes), which also involves installing an outdated version of the Java Runtime Executable, and possibly more contortions (I didn't pursue that route). Since I need to study the latest releases of NetBeans and X3D, this book is utterly worthless to me. Unless you are interested in learning about an outdated, legacy version of NetBeans, purchasing this book will be a waste of good money.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
1 of 1 people found the following review helpful By J. Johnston on August 5, 2009
Format: Paperback Verified Purchase
As someone very new to Netbeans RCP programming I think that the learning curve can be steep, but completely worth it. Each step of what I needed to do would take some studying, but I am always impressed with how little code it takes to get something done.

Some of the concepts take a little getting used to, such as the Lookup API, but once you get it, it makes sense.

I love all the documentation online, but there is no substitute for the Rich Client Programming book. The other books are good too (I always buy anything I can get my hands on for a new subject), but if I had just one book for Netbeans it would be the Rich Client Programming.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
1 of 19 people found the following review helpful By Midwest Book Review on July 7, 2007
Format: Paperback
Tim Boudreau, Jaroslav Tulach, and Geertjan Wielenga's RICH CLIENT PROGRAMMING: PLUGGING INTO THE NETBEANS PLATFORM covers the open-source NetBeans Platform, which can be used to build rich client applications - and it's the first guide for NetBeans IDE 5.0, so no serious Java programming collection should be without it. Java developers receive a guide to advanced NetBeans module development, using proven real-world ideas for building reliable desktop software.
2 Comments Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
Search