on Apr 13th, 2010Eclipse RCP 2nd Edition going to press!

We are very pleased to report that the long awaited 2nd edition of the Eclipse RCP book (http://eclipsercp.org) is going to the presses on Thursday, April 15th. That means it should be in the stores by the end of the month. Of course, you don’t have to wait, you can pre-order from Amazon or read it online at Safari. Check out the book website for more info.

In addition to the snazzy new cover, this book is an update of the original content to include new technologies, updated workflows and more detail. Here is the marketing blurb from the back cover…

In Eclipse Rich Client Platform, Second Edition, three Eclipse Rich Client Platform (RCP) project leaders show how to use Eclipse 3.5 (“Galileo”) to rapidly deliver cross-platform applications with rich, native-feel GUIs.

The authors fully reveal the power of Eclipse as a desktop application development platform; introduce important new improvements in Eclipse 3.5; and walk through developing a full-featured, branded RCP application for Windows, Linux, Mac, and other platforms—including handheld devices and kiosks.

Drawing on their extensive experience, the authors cover building, refining, and refactoring prototypes; customizing user interfaces; adding help and software management features; and building, branding, testing, and shipping finished software. They demonstrate current best practices for developing modular and dynamically extensible systems, using third-party code libraries, packaging applications for diverse environments, and much more.

For Java programmers at all levels of experience, this book

  • Introduces important new RCP features such as p2, Commands, and Databinding
  • Thoroughly covers key RCP-related technologies such as Equinox, SWT, JFace, and OSGi
  • Shows how to effectively brand and customize RCP application look-and-feel
  • Walks through user interface testing for RCP applications with SWTBot
  • Illuminates key similarities and differences between RCP and conventional plug-in development

Hands-on, pragmatic, and comprehensive, this book offers all the real-world, nontrivial code example working developers need—as well as “deep dives” into key technical areas that are essential to your success.

31 Responses to “Eclipse RCP 2nd Edition going to press!”

  1. Maximeon 10 May 2010 at 2:03 pm

    Wonderful !
    I was waiting for an Eclipse RCP book up-to-date and I’m glad to see that you’ve done it !
    Thanks a lot.

  2. Wayneon 14 May 2010 at 12:36 pm

    Is there an update on this? It’s now the 14th of May (a month after your blog post); Amazon shows it as pre-order, and Safari Books Online is still has it filed as a ‘Rough Cut’ (and I can’t read it as my subscription level is not sufficient).

    Can you please let us know what’s happening?

  3. Jeff McAfferon 14 May 2010 at 12:57 pm

    Indeed. I have word from the publisher that the books are on the way to the warehouses and stores. FWIW, I too thought that it would be much faster than it has been…

  4. Wayneon 21 May 2010 at 12:10 pm

    Jeff, thank-you for the reply. I see the book is now shipping from Amazon, both as a paperback and as a Kindle e-book. Great!

    However it’s still showing as a ‘Rought Cut’ on Safari Books Online. Are you able to get it published properly on that site please?

  5. mjashon 25 May 2010 at 1:42 pm

    So… for those of us coming here because we bought the 1st edition, is there anything left of that site (eclipsercp.org/book as listed in the preface)?

    only got the following:

    404 – Not Found
    The post or page that you are looking for, is not available at this site, right now.
    The server tried all of its options before returning this page.
    Please try a search for it or browse through the Archives.

    You might also want let the admins know about this error.

  6. Jeff McAfferon 25 May 2010 at 1:45 pm

    Apparently that is a miss print in the book. The site is just http://eclipsercp.org

  7. Wayneon 30 May 2010 at 12:08 pm

    Okay, so I contacted the publisher, who has responded that the Safari online editiion is scheduled to available on June 4:

    It’s rather annoying that the electronic edition is weeks behind the printed edition. One would think that it should be the other way around.

  8. Sureshon 03 Jun 2010 at 4:26 pm

    I am using the Export Wizard for the Hyperbola application, I see two directories created – hyperbola and repository – but I do not see a hyperbola.exe created. Could you help? What am I missing? Chapter 9.

  9. Jeff McAfferon 03 Jun 2010 at 11:15 pm

    Suresh, there is a bug in the samples manager for Chapter 9. We are working on a fix now. Please stand by. Sorry for any inconvenience.

  10. John Bannickon 08 Jun 2010 at 12:21 pm

    The book arrived 6/5!

    We’re using it as part of a tech eval for a big project.

    Question: Your sourcecode on p. 52 for Application.class does not match either the code generated by Hello RCP or copied from RPC Book Samples.

    The code in the book has a run() method.
    The generated and copied code has start() and stop() methods.
    The Eclipse 3.5.2 IApplication requires start() and stop().
    The copyright in IApplication suggests that start() and stop() have been required since 2007, maybe 2005.

    This difference was also in your 1st ed.


  11. Maarten Meijeron 09 Jun 2010 at 11:38 pm

    Thank you for your excellent book that I own and read in 1st and 2nd edition.

    I’m working now as consultant on a RCP project that uses RSA 7.0 (Eclipse 3.2.2) as base so some things in the new ed don’t work.
    Can you please also make the source code of the 1st ed available available either on the site or via a link you mail to me?

  12. John Bannickon 11 Jun 2010 at 2:30 pm

    Please tell me how to export to an app on the Mac.

    I’m following Ch. 9 of your 2ed book.
    I initted the project using the Ch9 code from your Samples.
    I had to add the –d32 switch because OS X lacks 64-bit SWT

    However, when I run the Export Wizard, either from the menu or the Product editor:

    1. There is NO Cross-platform Export dialog box to match the screen shot in your book; just on the Product Editor Overview: “To export the product to multiple platforms: 1 Install the RCP delta pack in the target platform. 2. List all the required fragments on the Dependencies page”

    2. The destination directory structure lacks the hyperbola file w. icon that lets me launch the app.

    How do I get to the dialog that you display in Fig 9-3?
    How do I get your “full-fledged stand-alone application.”?

    I’d really like to use Eclipse for our project; but it’s unlikely unless we can export.


    John Bannick

  13. Jeff McAfferon 12 Jun 2010 at 6:41 am

    Maarten, we’ll look into that. Not sure where the original drop is…

  14. John Bannickon 16 Jun 2010 at 12:04 pm

    The trick to successfully exporting Hyperbola in Ch9 is found in Ch4.

    The book says to NOT select Generate Activator in the New Project wizard.

    However, if you DO select Generate Activator, then when you get to Ch9, you can export Hyperbola, an executable app structure is created, and it will run outside of Eclipse.

  15. John Bannickon 17 Jun 2010 at 7:55 am

    So now in Ch 10 I run the code downloaded from the book and cannot connect.
    I get the following error:
    Connection failed. No response from server

    Has anyone out there successfully connected?

  16. Max Emmerlingon 17 Jun 2010 at 8:14 am

    I was really desperately looking for a current RCP Book, and after an agonizing wait for Amazone to finally ship your 2nd edition I recently started to go through it.

    Great work, but I’d really really beg you to offer some current sample code (including current Smack and working chatservers on eclipsercp.org). Otherwise there’s a deadlock after the third part (chapter 10) of your book 🙁



  17. Massimo Montecchion 17 Jun 2010 at 10:23 am

    Thank you for this great book!!!
    How we can download examples ?
    I have a problem downloading the zip of samples (Error 404) 🙁

  18. John Bannickon 17 Jun 2010 at 1:13 pm

    When I point the Ch 11 sourcecode at our own chat server, I get a connection.
    When I point it at the book site chat server, I get “No response from server”

    Would someone out there please turn on the book site server.

  19. iamleegon 17 Jun 2010 at 4:10 pm

    Hi, is there an official feedback/problem reporting site for the book? I’m finding in Chapter 5 that the ContactsView doesn’t get rendered in the app’s window, even using the source for the chapter from the site’s Eclipse plugin. I’m on Mac OS X. I’d love to work through getting an erratum sorted out but don’t have enough Eclipse RCP smarts to find the problem alone (hence starting out on the book!). Thanks.

  20. Rick Cromeron 17 Jun 2010 at 5:48 pm

    I just started working through the book and tried to load the target from the Samples Manager as per page 37, that option to load that target isn’t available. First available option is to import chapter 4 example. That worked fine. Then I tried to create the target manually, but the delta.pack showed 0 of 0 components. The delta.pack imports into the target project without issue.

    Also, I tried using ${project_loc}/.. ${workspace_loc}… and hard coded browsed path and all three methods still showed (0 of 0 included)

    Next I changed the folders path as follows:

    and I got (91 of 91 included)

  21. Samuel Lópezon 17 Jun 2010 at 9:04 pm

    First of all, Thank you for the excellent book. I’m starting to develop RCP apps and i think will help me a lot. I started to eagerly reading, coding and testing but right now i’m stuck in Chapter 9. It would be great clarify why the export doesn’t generate an application that can run outside the IDE. Actually learning good deploy strategies like packaging, multiplatform exporting, p2, etc. was one the reasons to get the book.

    For now i’ll try John Bannick suggestion about the Activator, but i would like to know the reason behind it too.


  22. Jeff McAfferon 18 Jun 2010 at 10:00 am

    I just installed a forums package on the website (see http://eclipsercp.org/forums). I encourage people to post comments and questions there. We’ll attempt to answer the comments above in the forums but may miss a few…

    Update on the code. We are still working on some last minute issues with the later samples. Updated samples manager should be out soon…

  23. John Bannickon 18 Jun 2010 at 11:14 am

    You have a typo in the above link to your forum.
    The URL that works from here is http://eclipsercp.org/forums/
    It does not include the trailing close-paretheses.

  24. leonardoon 20 Jun 2010 at 8:22 pm

    i’d like a web site with samples

  25. Lee Curtison 30 Jun 2010 at 11:21 am

    Product org.eclipsercp.hyperbola.product could not be found

    Working through the book and finding the detail generally excellent.
    However, when working through the chapters I’m finding a couple of things missing (like ch.8, Need to add “Bundle-Localization: plugin” to MANIFEST.MF for aboutText to appear).

    For me the RCP Samples manager hangs Eclipse every time I try to copy over a whole chapter (using Windows 7). It is therefore not much use, unless I delete the whole project from Eclipse and disk prior to the copy.

    This biggest niggle for me is ch.9. It just doesn’t work at all. When I try to export, I get the error:
    Cannot complete the install because of a conflicting dependency.

    Software being installed: Hyperbola Chat Client (org.eclipsercp.hyperbola

    Software currently installed: Hyperbola Chat Client (org.eclipsercp.hyperbola

    Only one of the following can be installed at once:

    Hyperbola Chat Client (org.eclipsercp.hyperbola

    Hyperbola Chat Client (org.eclipsercp.hyperbola

    I played around a bit and this went away – But the export produces no executable. I’m stuck, as I have to import ch.9 wholesale (Importing over ch.8 hangs eclipse and deleted the whole project).

    Any guidance on this would be most welcome.

  26. youmingheon 07 Dec 2010 at 9:43 pm

    it’s a very nice book.

  27. Steveon 14 Feb 2011 at 3:40 pm

    Your forums are filled with spam. You might want to have someone look into moderating it if you want the forums to be useful.

  28. Jeff McAfferon 18 Feb 2011 at 5:44 pm

    Thanks Steve. I have cleaned things up and have been trying to figure out how the spammers are getting in. Moderate success but they are tricky folks those spammers.

  29. Herb Milleron 19 Feb 2011 at 9:57 pm

    I tried posting on the forum, but it never made it. I still have the problem mentioned there in the “Samples Manager -> Target Setup” topic for Windows 7. I cannot get a menu entry for the RCP book whether I install from the web site or from the downloaded zip file. The “Samples Manager” does not even show up.

    Is there any way to install the Samples Manager for Galileo 3.5.2 on Windows 7?

    Herb Miller

  30. Kevinon 31 Mar 2011 at 6:56 am

    I purchased the first edition and built a product which I now need to upgrade – so I thought I’d refresh myself with the “new” bits by buying the second book. All the target env has changed for the better I think..

    However I cannot register on the forum – cant see “Register” anywhere..I’m having problems getting openfire to work – there seams to be a problem with smackx on the eliza project..

    All I’ve done is load helios and the samples and cant get them to work out of the box..

    Any help appreciated

  31. Kevinon 31 Mar 2011 at 7:04 am

    Jeff – I have answered my own question by reading backwards – I have many spammers looking at my website for php holes….I suspect you have one somewhere..

Comments RSS

Leave a Reply