Rich Client Programming Plugging into the NetBeans Platform

by ; ;
Edition: 1st
Format: Paperback
Pub. Date: 2007-04-30
Publisher(s): Prentice Hall
  • Free Shipping Icon

    This Item Qualifies for Free Shipping!*

    *Excludes marketplace orders.

List Price: $54.99

Rent Textbook

Select for Price
There was a problem. Please try again later.

New Textbook

We're Sorry
Sold Out

Used Textbook

We're Sorry
Sold Out

eTextbook

We're Sorry
Not Available

How Marketplace Works:

  • This item is offered by an independent seller and not shipped from our warehouse
  • Item details like edition and cover design may differ from our description; see seller's comments before ordering.
  • Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
  • Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
  • Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.

Summary

From the leaders of the NetBeans project, this is the definitive resource on how to build rich client apps and plug-ins with Java.

Author Biography

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.

Table of Contents

Forewordp. xv
Forewordp. xvii
Prefacep. xix
About the Authors and Contributorsp. xxvii
Acknowledgmentsp. xxxi
Getting Started with the NetBeans Platformp. 1
Setting Up the IDEp. 1
NetBeans IDE Basicsp. 3
The Benefits of Modular Programmingp. 11
Distributed Developmentp. 11
Modular Applicationsp. 13
A Modular Programming Manifestop. 15
Using NetBeans to Do Modular Programmingp. 19
Modular Architecturep. 23
Modules—The Assembly Units of a Modular Applicationp. 23
Types of Modulesp. 24
Module Lifecyclep. 29
Groups of Modulesp. 33
Loosely Coupled Communicationp. 39
Registration and Discoveryp. 39
MetaInf Servicesp. 41
The Global Lookupp. 43
Writing an Extension Pointp. 46
Lookupp. 49
Objects That Own Lookup sp. 53
Lookup as a Communication Mechanismp. 55
Lookup s and Proxyingp. 58
Lookup and Selectionp. 62
Writing Lookup -Sensitive Actionsp. 63
Tracking the Global Selectionp. 64
Legacy Variants of the Lookup Pattern in NetBeans APIsp. 65
Common Lookup Patternsp. 66
Filesystemsp. 69
FileSystem s and FileObject sp. 70
What Kinds of FileSystem s Will I Be Dealing With?p. 71
Layeringp. 72
XML Filesystemsp. 73
Declarative Registration II: The System Filesystemp. 74
Getting from FileObject s to Java Objectsp. 88
Browsing the System Filesystemp. 96
Conclusionsp. 96
Table of Contents provided by Publisher. All Rights Reserved.

Excerpts

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 termrich 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 termrich clientis 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 technolo

An electronic version of this book is available through VitalSource.

This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.

By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.

Digital License

You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.

More details can be found here.

A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.

Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.

Please view the compatibility matrix prior to purchase.