A slightly overlooked aspect of RAP Applications is that they do *not* have to take the whole page in your browser. Instead they can also be embedded into an existing web page. The example below is embedded into this blog post and is fully usable. My pet-term for such an application is “RAPplet” – kinda like an applet but without the need for a JVM in the browser.
Sorry your browser does not support iframes.
Note: if you do not see a rap application above this text, your xml-based feed reader has swallowed the example . Visit the current post with your browser!
Embedding a RAP Application in a Web Page
A straightforward iframe element will do the trick, as shown in the snippet below:
<iframe src="http://rap.eclipse.org/maildemo/rap?startup=maildemo" width="675" height="300" frameborder="0" name="maildemo"> <p>Sorry your browser does not support iframes.</p> </iframe>