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
Toby O'Rourke:Introducing Neo4j into a Relational Database Organisation, Introducing Neo4j
Toby O'Rourke : 23rd May 2012
View Podcast: Introducing Neo4j into a Relational Database Organisation,
Luke Daley: Managing JavaScript with Gradle, JavaScript with Gradle
Luke Daley : 22nd May 2012
View Podcast:  Managing JavaScript with Gradle,
John Stevenson:(perfect? clojure environment), Perfect Clojure
John Stevenson : 16th May 2012
View Podcast: (perfect? clojure environment),
Chris Harris:Building a MongoDB application with Grails , MongoDB with Grails
Chris Harris : 16th May 2012
View Podcast: Building a MongoDB application with Grails ,
Sean Reilly:Non-rails Groovy development, Non-rails Groovy development
Sean Reilly : 16th May 2012
View Podcast: Non-rails Groovy development,
Tom McMillen:CouchDB at the Hut Group, CouchDB at the Hut Group
Tom McMillen : 9th May 2012
View Podcast: CouchDB at the Hut Group,
John Zablocki:The Couchbase Server Tutorial, The Couchbase Server Tutorial
John Zablocki : 9th May 2012
View Podcast: The Couchbase Server Tutorial,
Nicki Watt:Neo4j Tales from the Trenches: A recommendation Engine Case Study, Neo4j Tales from the Trenches
Nicki Watt : 9th May 2012
View Podcast: Neo4j Tales from the Trenches: A recommendation Engine Case Study,
Gavin  Bell:Is Everything Social?, Is Everything Social?
Gavin Bell : 8th May 2012
View Podcast: Is Everything Social?,
Ian Robinson:A Programmatic Introduction to Neo4j, Neo4j Intro
Ian Robinson : 3rd May 2012
View Podcast: A Programmatic Introduction to Neo4j,
Jan Machacek:Polyglot applications in Java and Spring, Polyglot apps in Java and Spring
Jan Machacek : 3rd May 2012
View Podcast: Polyglot applications in Java and Spring,
Various Speakers:Parkbench Panel Discussion with Pizza & drinks, Parkbench
Various Speakers : 3rd May 2012
View Podcast: Parkbench Panel Discussion with Pizza & drinks,
Brian Sletten:Information Resources : Moving Beyond Objects, Moving Beyond Objects
Brian Sletten : 3rd May 2012
View Podcast: Information Resources : Moving Beyond Objects,
David Morgantini:Exploring enterprise Java outside of Java EE, Exploring enterprise Java
David Morgantini : 3rd May 2012
View Podcast: Exploring enterprise Java outside of Java EE,
Anirvan  Chakraborty:Connecting to Neo4j using Spring Data, Connecting to Neo4j using Spring Data
Anirvan Chakraborty : 3rd May 2012
View Podcast: Connecting to Neo4j using Spring Data,
OTHER PROGRESSIVE JAVA EVENTS
:SpringSource's Core Spring: Developing with the Spring Framework,  SpringSource's Spring Application Development
4 DAY COURSE.
London, Tuesday, May 29th
Uncle Bob (Robert C. Martin):Uncle Bob's Advanced Test Driven Development in NYC,  Uncle Bob's Advanced Test Driven Development in NY
3 DAY COURSE. Featuring Uncle Bob (Robert C. Martin)
New York, Tuesday, May 29th
London Java Community:Gradle - Build Automation Evolved, London Java Community
FREE EVENT: Gradle
London, Tuesday, June 12th
London Scala Users' Group:Experiences from a Real-World Scala Project, London Scala Users' Group
FREE EVENT: Real-World Scala Project
London, Wednesday, June 13th
GeekOut 2012, GeekOut 2012
CONFERENCE (2 DAYS)
Tallinn, Thursday, June 14th BOOK NOW!
Jon Jagger:Jon Jagger & Kevlin Henney's Agile Development for Developers,  Jon & Kevlin's Agile Development Course
3 DAY COURSE. Featuring Jon Jagger
London, Monday, June 18th
Simon Brown:Simon Brown's Enterprise Software Developer,  Simon Brown's Enterprise Software Developer
3 DAY COURSE. Featuring Simon Brown
London, Monday, June 18th
Trond Bjerkestrand:Typesafe's Fast Track to Scala,  Typesafe's Fast Track to Scala
2 DAY COURSE. Featuring Trond Bjerkestrand
London, Monday, June 18th
© 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