HOME SCALA & F# JAVA .NET WEB GROOVY & GRAILS ANDROID & IOS NOSQL ARCHITECTURE AGILE & SCRUM AGILE DEVELOPER  
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

ABOUT THE ECLIPSE DEMOCAMP
The Eclipse DemoCamps are a showcase all of the cool and interesting technology being built by the Eclipse community. Come along to meet Eclipse enthusiasts and experts in London. You don't need to be a software developer to attend!
More about the Eclipse DemoCamp
PODCAST FROM DESKTOP TO WEB: BUILDING RICH CLIENT AND WEB APPLICATIONS FROM A SINGLE CODE BASE

This session took part at the FREE: Eclipse DemoCamp. You can view the other 7 podcasts here.
SPONSORS
Eclipse Foundation
Skills Matter Ltd
PROGRESSIVE JAVA PODCASTS
Jan Machacek:Spring in Scala, Spring in Scala
Jan Machacek : 8th Feb 2012
View Podcast: Spring in Scala,
Sven Efftinge:Xtend - A Programming Language for Java Developers, Xtend
Sven Efftinge : 1st Feb 2012
View Podcast: Xtend - A Programming Language for Java Developers,
Martijn Verburg:Adopt a JSR, JSR
Martijn Verburg : 1st Feb 2012
View Podcast: Adopt a JSR,
Tobias Lindaaker:Neo4j Internals, Neo4j Internals
Tobias Lindaaker : 25th Jan 2012
View Podcast: Neo4j Internals,
Dave Springgay :HTML5, Android Webview and java bridging, HTML5 & Android Webview
Dave Springgay : 19th Jan 2012
View Podcast: HTML5, Android Webview and java bridging,
Paul Butcher:ScalaMock: 'Power' mocking for Scala, ScalaMock
Paul Butcher : 18th Jan 2012
View Podcast: ScalaMock: 'Power' mocking for Scala,
Malcolm Sparks:Reflections on a real-world Clojure application, Real-world Clojure
Malcolm Sparks : 17th Jan 2012
View Podcast: Reflections on a real-world Clojure application,
Julian Birch:Lightning talk: 1000 lines of Clojure, 1000 lines of Clojure
Julian Birch : 17th Jan 2012
View Podcast: Lightning talk: 1000 lines of Clojure,
Neale Swinnerton:Lightning talk: A Quick Guide to paredit-mode, paredit-mode
Neale Swinnerton : 17th Jan 2012
View Podcast: Lightning talk: A Quick Guide to paredit-mode,
Nick Rothwell:Clojure and MaxMSP, Clojure & MaxMSP
Nick Rothwell : 17th Jan 2012
View Podcast: Clojure and MaxMSP,
Peter Ledbrook:Upgrading to Grails 2, Grails 2
Peter Ledbrook : 16th Jan 2012
View Podcast: Upgrading to Grails 2,
John T. Davies:Enterprise Integration - The seriously nasty stuff, Enterprise Integration
John T. Davies : 12th Dec 2011
View Podcast: Enterprise Integration - The seriously nasty stuff,
Luke Daley:Smarter Testing with Spock, Spock
Luke Daley : 8th Dec 2011
View Podcast: Smarter Testing with Spock,
Andres Almiray:Getting Groovy on the Web and Desktop, Getting Groovy on the Web and Desktop
Andres Almiray : 8th Dec 2011
View Podcast: Getting Groovy on the Web and Desktop,
Erik Pragt:DiscoBot: Groovy on Android, DiscoBot: Groovy on Android
Erik Pragt : 8th Dec 2011
View Podcast: DiscoBot: Groovy on Android,
OTHER PROGRESSIVE JAVA EVENTS
Official RNIB Accessibility Hackathon, Official RNIB Accessibility Hackathon
CONFERENCE (2 DAYS)
London, Saturday, February 11th BOOK NOW!
ThoughtWorks Quarterly Briefings:Is programming language choice a good thing?, ThoughtWorks Quarterly Briefings
FREE EVENT: Is programming language choice
Manchester, Monday, February 13th
ThoughtWorks Quarterly Briefings:Is programming language choice a good thing?, ThoughtWorks Quarterly Briefings
FREE EVENT: Is programming language choice
London, Thursday, February 16th
London Android User Group:Data bindings and core dev, London Android User Group
FREE EVENT: Data bindings
London, Thursday, February 16th
GGUG:Deploying Grails Applications, GGUG
FREE EVENT: Deploying Grails
London, Monday, February 20th
:SpringSource's Rich Web Applications with Spring Training,  SpringSource's Rich Web Applications with Spring T
4 DAY COURSE.
London, Tuesday, February 21st
London Java Community:Zero Downtime of JavaEE applications and Home Automation with Java and Arduino, London Java Community
FREE EVENT: Zero Downtime Home Automation
London, Tuesday, February 21st
Neo4J User Group:Neo4j in a .NET world, Neo4J User Group
FREE EVENT: Neo4j in .NET
London, Wednesday, February 22nd
© Copyright 2003-2011, Skills Matter Ltd
  Web development by You In Control
About Us  Jobs  Find Us  Meeting & Training Rooms  Newsletter  Jobs: Sales Executive  Jobs: Student SkillsCaster  jobs - junior event coordinator  Speed Coding 2011  Open Source Journal  Ticket Raffle  Agile Expert Series  Jobs: Sponsorship Development  jobs: Marketing & Sales Graduate Internship