Upload
ralf-sternberg
View
10.305
Download
2
Embed Size (px)
DESCRIPTION
Tutorial EclipseCon 2009 - Slides
Citation preview
Single Sourcing
Rüdiger HerrmannRalf Sternberg
RAP and RCP
Desktop and
Web clients from a
single code base
Web 2.0 Desktop
RCP / RAP
3
The Rich Ajax Platform
Who We Are
RAP Development Core TeamKarlsruhe, Germany
Tutorial Outline
RAP Bas ics
S ing le Sourc ing
Sty l ing
Deployment
Stress Test ing
Layers of RCP
RAP Layers
RCP RAP
How does it work?
Client Server
Request Life Cycle
w7.selection = true
Request Life Cycle
update client widget state
process events
create response
text.setText( … );
checkbox selected←
Request Life Cycle
w3.setText( ... )
Hand Tools
Eclipse SDK
RAP SDK
includes
- RAP Runtime
- Tooling
- Help
RAP Packaging
Tutorial Outline
RAP Bas ics
S ing le Sourc ing
Sty l ing
Deployment
Stress Test ing
RAP is Multi-User!
RCP RAP
RAP Runs in a Browser
RCP RAP
File system File upload
Differences
RAPRCP
Desktop-centricfeatures
Web-centric features
Using Fragments
Host Bundle
Fragments
Workplace
Shared ProjectsRAP Workspace
RCP Workspace
Lab I: Single-Sourcing the Mail Demo
25
Optional Dependencies
26
Delegation
Bundle
Fragment
Tutorial Outline
RAP Bas ics
S ing le Sourc ing
Sty l ing
Deployment
Stress Test ing
Branding: Ext. Point
Theming
Theming: CSS
Variants
Interaction-Design API
Layout + Branding + Theming
Styling Application
Runtime
“Extended Stack Presentation”
Lab II: Apply Styling
Tutorial Outline
RAP Bas ics
S ing le Sourc ing
Sty l ing
Deployment
Stress Test ing
WAR Deployment
Anatomy of a .war File
Lab III: Deployment
Tutorial Outline
RAP Bas ics
S ing le Sourc ing
Sty l ing
Deployment
Stress Test ing
Load testing is the process of putting demand on a system or device and
measuring its response. ”“
...when does it blow up?
or...
The tools
JMeter is a free, open-source performance measurement tool written in Java
<your choice>
Any HTTP-aware performance measurement tool
or
Prepare environment
1 Similar deployment
Realistic hardware
Network latency
Record user session
2 Built-in proxy support
WidgetIdGenerator
Cleanup recordings
3 UI Callback Requests
Cookie Manager
Putting it all together
1+2+3
Test Plan (.jmx)
Results
… meet us at the booth
Get in Contact with RAP
eclipse.org/rap RAP Project Page
CVS
Bugzilla
Newsgroup
Wiki