Java-based web-apps with the Eclipse Rich Ajaxx

Transcription

Java-based web-apps with the Eclipse Rich Ajaxx
Java-based web-apps
with the Rich Ajax Platform
(RAP)
Elias Volanakis
[email protected]
© 2006-2008 Innoopract – made available under the EPL 1.0
© 2006-2008 Innoopract – made available under the EPL 1.0
What is Rich Ajax Platform (RAP) ?
“RCP for the Web”




web-enabled port of Eclipse UI
API compatible (almost completely)
OSGi-based (plug-ins, dependency management)
one server-side Eclipse instance for multiple users
From RCP to RCP/RAP
© 2006-2008 Innoopract – made available under the EPL 1.0
2
What is in for you?
As a Eclipse / Java developer you can:




develop in Java
use the full Java libraries and familiar Eclipse APIs
skill preservation - leverage your existing know-how
share code between client & internet app
From RCP to RCP/RAP
© 2006-2008 Innoopract – made available under the EPL 1.0
3
Real World Example – CAS teamCRM
From RCP to RCP/RAP
© 2006-2008 Innoopract – made available under the EPL 1.0
4
Real World Example – Yoxos On Demand

http://www.yoxos.com/ondemand
From RCP to RCP/RAP
© 2006-2008 Innoopract – made available under the EPL 1.0
5
Get Started – Install the RAP SDK

Help > Software Updates > Available Software
From RCP to RCP/RAP
© 2006-2008 Innoopract – made available under the EPL 1.0
6
Get Started – Use the RAP Target Platform

Help > Software Updates > Available Software
From RCP to RCP/RAP
© 2006-2008 Innoopract – made available under the EPL 1.0
7
New in 1.1 – Improved Theming


presentation support
alpha transparency
From RCP to RCP/RAP


css based themes
theming variations
© 2006-2008 Innoopract – made available under the EPL 1.0
8
New in 1.1 – More complete UI APIs
RWT
 apartment threading
(display.readAndDispatch(), etc.)

mouse events
Workbench & JFace
 adopted Eclipse 3.4 APIs
 import / export wizards
 activities
 image decorators
From RCP to RCP/RAP
© 2006-2008 Innoopract – made available under the EPL 1.0
9
New in 1.1 – Preferences



full support for scoped preferences
adds “session”/”cookie” scoped preference
preference pages
From RCP to RCP/RAP
© 2006-2008 Innoopract – made available under the EPL 1.0
10
New in 1.1 – “Undercover” improvements



Performance and stability improvements
(workbench demo serves 800 users with 1 GB on a
dual core machine)
Support for unit testing
(RAP JUnit + launcher)
RWT fragment split-up
(opens the road for other client side implementations)
From RCP to RCP/RAP
© 2006-2008 Innoopract – made available under the EPL 1.0
11
Try it out!

Today's Slides
rapblog.innoopract.com



RAP Homepage
Demos
Newsgroup
Image: © photocase.de
From RCP to RCP/RAP
© 2006-2008 Innoopract – made available under the EPL 1.0
12
Thanks for attending!
 Contact Info:
Elias Volanakis
[email protected]
From RCP to RCP/RAP
Innoopract Inc
351 NW 12th Ave
Portland, OR 97209
© 2006-2008 Innoopract – made available under the EPL 1.0
13
About Innoopract

Top-10 contributor to Eclipse
(lines of code in 2008 to date)



Specializing in RAP web-apps, RCP clients and
solutions for distributing Eclipse
Provides solutions, services and support for Eclipse
Contributes to




Eclipse Packaging Project (ganymede downloads)
Eclipse Riena (RCP for business users)
Rich Ajax Platform (RCP for the web)
Offices in Germany and Portland, OR
From RCP to RCP/RAP
© 2006-2008 Innoopract – made available under the EPL 1.0
14