Check out Richfaces for Flex project, know as Exadel Fiji. Fiji allows to use JSF and Flex components together on the same page while binding Flex components to standard JSF managed beans. Fiji also provides 7 out-of-the-box Flash-based charting components.
Suppose you need to embed a Flex chart in your JSF page, to deliver richer content. This is all you need to do:
JSF page:
Managed bean:
public class BarChartBean {
public BarChartBean() {
}
private Integer[] data;
public Integer[] getData() {
return data;
}
@PostConstruct
public void init () {
data = new Integer[5];
data[0] = 5;
data[1] = 2;
data[2] = -3;
data[3] = 10;
data[4] = 9;
}
}
You will get this:

The most important thing is that you bind these components to standard JSF managed beans (or Seam components).
More Fiji resources
Fiji product page
Fiji demo
Fiji charting components (JSF, Flex and Elections)
Fiji article at dzone.com
Leave a comment