Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Single-Sourcing
  RAP and RCP




               Chris Aniszczyk
         zx@eclipsesource.com
Leadership roles in over 10 Eclipse projects

     Equinox, OSGi, RCP, p2, RAP, PDE, ECF, ...

Provide services and soluti...
What is Eclipse?

              3
Eclipse is a
Technology!

               4
5
Eclipse is a
Foundation!

                6
7
Eclipse is a
Ecosystem!

               8
Let’s Talk Technology...
RCP!

       11
Lotus Notes 8+




                 12
Lotus Sametime 7.5+




                      13
NASA




       14
RCP Knowledge
Web 2.0

          16
Online Presentations?




                        17
Online Photoshop?




                    18
Pixlr




        19
Web 2.0 Knowledge




                    20
21
Web 2.0   Desktop
23
24
25
Impossible?




              26
Exchange the
  Runtime!

           27
Foundation: OSGi

    RCP      RAP




     equinox

                   28
Layers of RCP
RAP Layers
On the Surface
Best of both worlds




                      33
Select a point of view




                         34
Why!?

        35
It’s possible!

                 36
37
38
How much reuse!?

             39
Code Reuse

 80%–98% is possible
platform specific code




                        shared code
                           ...
What about the
   2-20%?

            41
RAP Runs in a Browser

 File system       File upload
 GraphicsContext




    RCP                   RAP
RAP is Multi-User!




 RCP            RAP
API Differences



       RCP        RAP



  Desktop-only     Web-specific
  features            features
Handy Tools

   Eclipse SDK



   RAP SDK
   includes
   - RAP Runtime
   - Tooling
   - Help
Workplace
Shared Projects
                  RAP Workspace




                  RCP Workspace
Example Application
            RCP Mail Demo




                        49
Runs immediately




                   50
Lift Off




           51
Conclusion


   Thanks for listening!
      Questions!?

  www.eclipsesource.com
   www.eclipse.org/rap     52
Extra Slides...




                  53
Import into
    RAP Workspace




                54
Do not copy!




               55
Don't Panic!




               56
Dependencies




 Package Imports
 Optional Dependencies
                         57
Optional Dependencies




                  58
59
Fragments
                  Fragments

    Host Bundle
Create Fragments
                   maildemo.rap




                   maildemo.rcp




                         61
Move extensions




                  62
63
Delegation



               Bundle




             Fragment
                        64
API Differences
RCP




RAP


RCP
 +
RAP
                  65
Helper Class




               66
ImplementationLoader




                 67
Implementations
RCP




RAP




                  68
Zero Errors




              69
Entry Point




              70
Summary



          71
Use Two Workspaces




                     72
Optional Dependencies




                   73
Compatibility Plug-in
Use Fragments
                  Fragments

    Host Bundle
Use Delegation



                 Bundle




             Fragment
                          76
Single Sourcing RCP and RAP
Single Sourcing RCP and RAP
Single Sourcing RCP and RAP
Upcoming SlideShare
Loading in …5
×

Single Sourcing RCP and RAP

7,593 views

Published on

The Rich Ajax Platform (RAP) provides a framework and set of tools to develop rich clients and web clients from a single code base (single sourcing), either from scratch or by migrating an existing Rich Client Platform (RCP) application. In this talk we'll explore the differences between RAP and RCP that are especially relevant to the goal of single sourcing as much code as possible. Attendees will learn about the benefits of single sourcing and get a live demo of a single sourced application.

Published in: Technology, Business
  • DOWNLOAD FULL BOOKS, INTO AVAILABLE FORMAT ......................................................................................................................... ......................................................................................................................... 1.DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/y3nhqquc } ......................................................................................................................... 1.DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/y3nhqquc } ......................................................................................................................... 1.DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/y3nhqquc } ......................................................................................................................... 1.DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/y3nhqquc } ......................................................................................................................... 1.DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/y3nhqquc } ......................................................................................................................... 1.DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/y3nhqquc } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Good one..
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Single Sourcing RCP and RAP

  1. 1. Single-Sourcing RAP and RCP Chris Aniszczyk zx@eclipsesource.com
  2. 2. Leadership roles in over 10 Eclipse projects Equinox, OSGi, RCP, p2, RAP, PDE, ECF, ... Provide services and solutions for the Eclipse ecosystem 2
  3. 3. What is Eclipse? 3
  4. 4. Eclipse is a Technology! 4
  5. 5. 5
  6. 6. Eclipse is a Foundation! 6
  7. 7. 7
  8. 8. Eclipse is a Ecosystem! 8
  9. 9. Let’s Talk Technology...
  10. 10. RCP! 11
  11. 11. Lotus Notes 8+ 12
  12. 12. Lotus Sametime 7.5+ 13
  13. 13. NASA 14
  14. 14. RCP Knowledge
  15. 15. Web 2.0 16
  16. 16. Online Presentations? 17
  17. 17. Online Photoshop? 18
  18. 18. Pixlr 19
  19. 19. Web 2.0 Knowledge 20
  20. 20. 21
  21. 21. Web 2.0 Desktop
  22. 22. 23
  23. 23. 24
  24. 24. 25
  25. 25. Impossible? 26
  26. 26. Exchange the Runtime! 27
  27. 27. Foundation: OSGi RCP RAP equinox 28
  28. 28. Layers of RCP
  29. 29. RAP Layers
  30. 30. On the Surface
  31. 31. Best of both worlds 33
  32. 32. Select a point of view 34
  33. 33. Why!? 35
  34. 34. It’s possible! 36
  35. 35. 37
  36. 36. 38
  37. 37. How much reuse!? 39
  38. 38. Code Reuse 80%–98% is possible platform specific code shared code 40
  39. 39. What about the 2-20%? 41
  40. 40. RAP Runs in a Browser File system File upload GraphicsContext RCP RAP
  41. 41. RAP is Multi-User! RCP RAP
  42. 42. API Differences RCP RAP Desktop-only Web-specific features features
  43. 43. Handy Tools Eclipse SDK RAP SDK includes - RAP Runtime - Tooling - Help
  44. 44. Workplace
  45. 45. Shared Projects RAP Workspace RCP Workspace
  46. 46. Example Application RCP Mail Demo 49
  47. 47. Runs immediately 50
  48. 48. Lift Off 51
  49. 49. Conclusion Thanks for listening! Questions!? www.eclipsesource.com www.eclipse.org/rap 52
  50. 50. Extra Slides... 53
  51. 51. Import into RAP Workspace 54
  52. 52. Do not copy! 55
  53. 53. Don't Panic! 56
  54. 54. Dependencies Package Imports Optional Dependencies 57
  55. 55. Optional Dependencies 58
  56. 56. 59
  57. 57. Fragments Fragments Host Bundle
  58. 58. Create Fragments maildemo.rap maildemo.rcp 61
  59. 59. Move extensions 62
  60. 60. 63
  61. 61. Delegation Bundle Fragment 64
  62. 62. API Differences RCP RAP RCP + RAP 65
  63. 63. Helper Class 66
  64. 64. ImplementationLoader 67
  65. 65. Implementations RCP RAP 68
  66. 66. Zero Errors 69
  67. 67. Entry Point 70
  68. 68. Summary 71
  69. 69. Use Two Workspaces 72
  70. 70. Optional Dependencies 73
  71. 71. Compatibility Plug-in
  72. 72. Use Fragments Fragments Host Bundle
  73. 73. Use Delegation Bundle Fragment 76

×