title: How to pass image from Applet to JSF backing bean
body: <p>I am working with a web application in which there is a Java Applet that captures an image from a wacom device into a <code>RenderedImage</code> object. The applet itself is embedded into a JSF 2.0 page.</p>
  
  <p>I need to pass the created <code>RenderedImage</code> from Applet to a JSF backing bean so that it would be a part of a <code>User</code> object. My backing bean is view scoped. </p>
  
  <p>I'm really lost with this. I've been searching for a good example on how this goal can be achieved. Should I use <code>JSObject</code>, or should I send an image to a servlet?</p>
  
  <p>Can you offer some advice on how to solve this problem?</p>