Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[rap-dev] Introducing myself & Graphics with RAP

Hi RAP developers,

I am a Java developer with quite some experience with developing RCP applications, although I wouldn't dare to call me an expert. A year ago I learned about the RAP project (on the JAX in Wiesbaden). No I have done my first "baby steps" - Hello World and beyond.

I am currently investigating whether RAP can be used for developing a (singe-sourced) RCP/RAP application that, among others, contains a graphical map output, something like the Google Maps widget from the custom widget tutorial, but driven by my own geometries.

Having read everything I could find on this topic I am aware that it is not possible to draw on widgets directly. Of course I am now looking for alternatives. One thing that came to my mind is inspired by "Web Map Servers" like Google Maps - that is, the graphic is rendered on the server and the client gets a simple image to load. RWT allows to use background images for widgets, so this side of the problem seems solvable. I was, however, quite astonished not to find any possibility to actually render into an RWT image. 

Rendering into an image and then displaying this image is quite a common solution - I've done this with AWT images and SWT too. Is it possible in RWT as well? If so, please point me to where I can find information how to do this.

Maybe there is an alternative way to transfer the image to the client. Rendering in an AWT image, saving it to file and loading the image file on the client looks not like a good solution in terms of performance. (Besides I wouldn't exactly know where to store this temporary image file.)

Any help is appreciated.
-- 
Matthias Basler
matthiasbasler@xxxxxxxxxxxxxxx



Back to the top