Netbeans Platform 6.9 Developer's Guide: Create Professional Desktop Rich-client Swing Applications Using the World's Only Modular Swing Application Framework (英語) ペーパーバック – 2010/8/30
Kindle 端末は必要ありません。無料 Kindle アプリのいずれかをダウンロードすると、スマートフォン、タブレットPCで Kindle 本をお読みいただけます。
This is a step-by-step example-driven tutorial designed to be worked through chapter-wise. You'll be learning with the help of example code and screenshots that will ensure easier understanding. At the end, you will have developed a complete application on top of the NetBeans Platform. This book is written for developers who are comfortable with Java and Swing and who would like to use a framework as the basis of their Swing application. Zero knowledge of the NetBeans Platform is assumed. The reader is typically a developer (or a group of developers) wanting to create large, distributed, flexible Swing applications. The development team is typically large and distributed and members need to work independently on distinct parts of the application. The end user of the application typically needs to have the ability to install additional features at runtime, after the application has already been installed, without reinstalling the application.
Jurgen Petri (http://www.juergen-petri.de) is an independent consultant and instructor of primarily enterprise Java courses. As a Sun certified enterprise architect and Java developer, his interests relate primarily to Java EE projects, software architectures, user interface technologies, and tooling. His practical experience is based on over 10 years of work with each of the Java platforms.
Similar to several other reviewers here, the code in the example has lots of errors. Occasionally subtle things are omitted and are left as user exercise. There is a website "[...]" that documents all the errors. I recommend you to follow the website closely as you are working on the TaskManager application.
One thing worth mentioning is that NetBeans 7.x (7.2.1 as of today) has changed the way how layer.xml works. NetBeans 7.x improved upon the clunky layer.xml file and heavily utilizes Java annotation. Therefore, you will likely encounter some difficulties with the chapter on layer.xml (Ch.3 I believe). If you have no idea what I am talking about, it might be better to wait for a newer revision of this book.
My biggest problem is that the code listings in the book are full of errors. You can't type in the code by hand and expect things to work (I know, I tried). Some of the errors can be figured out by experienced users. Others will cause you to give up in despair in a few hours. The good news is that you can download some of the code from the publisher's web site. Th bad news is it only covers chapters 2 through the middle of chapter 6. The rest of chapter 6 and all of chapters 7-13 you're on your own. I couldn't get examples from the later chapters to run by typing stuff in directly. For chapter 4, even the downloaded code did not run on my Mac computer (some of his directories had uppercase letters that needed to be lower case letters to run on a Mac).
Having said that, there are a lot of good things too. The best chapter was on Lookup (chapter 4). From the on-line tutorials, I've been mystified as to what it does and why I need it. There were plenty of examples in chapter 4 that helped make that clear. The biggest disappointment was chapters 7 & 8 on file systems and data. It almost seemed like the author was getting tired of writing at this point.
Don't expect detailed explanations on how everything works. Some of the code is still cryptic (i.e. type this in and watch how it works). You'll need to dig into the APIs yourself to get a better understanding of the details of why the cryptic code does what is does. However, at least you'll be pointed in the right direction.
I was tempted to give only 3 stars, but there's really no other book that fills this gap and I'm still glad I bought it. Now, I'm looking for a book that delves into all the details.
All in all I have found this experience to be a total waste of time. I will look for an another book or online source for learning Netbeans.
Dommage que Jürgen Petri ne se lance pas dans la rédaction d'un "definitive guide to NetBeans Plateform 6.9"