HOME JAVA & JEE OPEN SOURCE .NET WEB & RIA CLOUD & GRID ARCHITECTURE & DDD AGILE PM & SCRUM AGILE TESTING & BDD OS, MOBILE & SERVER  
FREE: Eclipse DemoCamp: Neil Bartlett on From Desktop to Web: Building Rich Client and Web applications from a single code base
From Desktop to Web: Building Rich Client and Web applications from a single code base
Neil Bartlett gives a short demo of an application which runs both as a desktop "rich client" using Eclipse RCP, and a browser-based Web client using Eclipse RAP. Over 95% of the code is reused between both versions.

Review:
Neil starts off the Eclipse DemoCamp with a talk on using RAP (Rich AJAX Platform) which allows you to create a rich client desktop application and web application from the same code-base. Some people may ask why we need “yet another web framework” but the reason for RAP is quite clear. It enables 90-95% code re-use giving developers much less work in developing web and desktop applications.

RAP allows one application to target both desktops and the web. It involves working completely in Java which is then compiled into OSGi bundles. It can then be bundled with the RAP API for the web or the RCP API for the desktop. The sweet spot for this technology is finding an application that enables you to use as much of the API that is shared between both technologies (RAP and RCP).

Neil presents a demonstration usage of RAP, creating a banking application that can process transactions and contains simple validation rules within procedures. By showing both the desktop and the web application it's clear how versatile the technology is with my of the independent code coming from customising the application for a web browser and initialising the application on the desktop. All of the core functionality is maintained in the same code.

Neil also mentioned during the Q&A that there are quite a few big companies using this technology, indicating that it is making its way into the industry. It was also mentioned that there is quite high network usage meaning it is most suited to the corporate environment where you have have one department that uses the application a lot required the RCP version where the rest of the company uses the RAP version (for example a timesheet application).
Review by David Mulholland


ABOUT NEIL BARTLETT
Neil is a developer, consultant and trainer specialising in OSGi and Eclipse, and he is currently working for Sun Microsystems on enhancing the tooling for JavaFX in Eclipse.
More about Neil Bartlett
PODCAST FROM DESKTOP TO WEB: BUILDING RICH CLIENT AND WEB APPLICATIONS FROM A SINGLE CODE BASE
Digg! StumbleUpon
SPONSORS
Eclipse Foundation
Skills Matter Ltd
DESIGN & ARCHITECTURE PODCASTS
Dan  Haywood:How to have your domain-driven design cake and eat it, too, domain-driven design
Dan Haywood : 22nd Feb 2010
View Podcast: How to have your domain-driven design cake and eat it, too,
Dan North:Irresponsible architectures , Irresponsible architectures
Dan North : 22nd Feb 2010
View Podcast: Irresponsible architectures ,
Stefan Tilkov:Pragmatic Architecture Recipes for Cloud Computing, Cloud Computing
Stefan Tilkov : 22nd Feb 2010
View Podcast: Pragmatic Architecture Recipes for Cloud Computing,
Rob Davies:Apache Open Source for Financial Services, Apache Open Source for Finance
Rob Davies : 15th Dec 2009
View Podcast: Apache Open Source for Financial Services,
David Vincent:Climbing mount complexity, one event at a time, Climbing mount complexity
David Vincent : 15th Dec 2009
View Podcast: Climbing mount complexity, one event at a time,
Janne Valkealahti:Hand me the spanner, I think it's going to break, Hand me the spanner, I think it's going
Janne Valkealahti : 15th Dec 2009
View Podcast: Hand me the spanner, I think it's going to break,
Alex McGuire:Scala, A better language for finance?!, Scala, A better language for finance?!
Alex McGuire : 15th Dec 2009
View Podcast: Scala, A better language for finance?!,
Angelo Corsaro:I need market data and I need it 1ms ago!, I need market data 1ms ago!
Angelo Corsaro : 15th Dec 2009
View Podcast: I need market data and I need it 1ms ago!,
Ben Evans:Making every millisecond count! JVM performance tuning in the real-world, JVM performance tuning
Ben Evans : 15th Dec 2009
View Podcast: Making every millisecond count! JVM performance tuning in the real-world,
Emma McGrattan:Waking up to the New Economics of IT, Waking up to the New Economics of IT
Emma McGrattan : 15th Dec 2009
View Podcast: Waking up to the New Economics of IT,
Alex  Young :Domain Driven Design, DDD
Alex Young : 9th Dec 2009
View Podcast: Domain Driven Design,
Sadek Drobi:Computation Abstraction, Computation Abstraction
Sadek Drobi : 7th Dec 2009
View Podcast: Computation Abstraction,
Anton Schwaighofer:F# and Units-of-measure for Technical Computing, F# and Units-of-measure for Technical Co
Anton Schwaighofer : 7th Dec 2009
View Podcast: F# and Units-of-measure for Technical Computing,
 :Parkbench Panel Discussion, Parkbench Panel Discussion
: 7th Dec 2009
View Podcast: Parkbench Panel Discussion,
Matthew Sackman:Supercharged Rabbit: Resource Management at High Speed in Erlang, Resource Management at High Speed in Erl
Matthew Sackman : 7th Dec 2009
View Podcast: Supercharged Rabbit: Resource Management at High Speed in Erlang,
OTHER DESIGN & ARCHITECTURE EVENTS
:NetKernel Primer: Introduction to NetKernel and Resource Oriented Programming with (ROC) NetKernel,  NetKernel & ROC Programming Intro
2 DAY COURSE.
Paris, Tuesday, March 30th
:Core NetKernel: Enterprise Integration with NetKernel and ROC,  Enterprise Integration with NetKernel
2 DAY COURSE.
Paris, Thursday, April 1st
Elizabeth   Keogh:Liz Keogh's BDD Immersion Workshop: Behaviour-Driven Development for Developers,  Liz Keogh's BDD Workshop
1 DAY COURSE. Featuring Elizabeth Keogh
London, Friday, April 9th
Alberto Brandolini:Craig Larman's Applying Advanced Object Design with Patterns,  Advanced Object Design w Patterns
4 DAY COURSE. Featuring Alberto Brandolini
Paris, Tuesday, April 13th
Simon Brown:Simon Brown's Software Architecture for Developers Workshop,  Software Architecture for Developers
2 DAY COURSE. Featuring Simon Brown
London, Monday, April 19th
:Simon Brown's Software Architecture for Developers Workshop,  Software Architecture for Developers
2 DAY COURSE.
Paris, Tuesday, April 27th
Hans  Dockter:Core Gradle: Gradle, a Build System for Java Workshop,  Core Gradle: A Build System for Java
2 DAY COURSE. Featuring Hans Dockter
London, Thursday, April 29th
Rick Evans:Rick Evans' Clustered Caching with Oracle Coherence,  Rick Evans' Coherence Clustered Caching
2 DAY COURSE. Featuring Rick Evans
Paris, Thursday, April 29th
© Copyright 2003-2010, Skills Matter Ltd
  Web development by You In Control
About Us  Jobs  Find Us  Meeting & Training Rooms  Newsletter  Community  Community-FR  Apress  1st Teach  Jobs: Sales Executive  Jobs: Student Podcaster  jobs - marketing assistant  Spring Certification