I haven't looked at Peter's solution but I know it would be quite easy and efficient to write a plain old Servlet to do this. It is perfectly possible to use EntityManagers within Servlets, and serving an image from a Servlet is a good way to go. You avoid any overhead of Seam, JSF or anything else, and it can be done with just a few lines of code in a servlet.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002998#4002998 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002998 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
