jhaile
10-06-2006, 05:01 AM
Call me a purist if you want, I find the dashboard examples included in the Pentaho distribution to be a bad example of JSP development, and I wanted to see what other people's opinions are.
I am currently working on integrating Pentaho into a dashboard/web application. I am using Spring MVC, Hibernate, Quartz, etc. along with Pentaho technologies (specifically Kettle, Mondrian, JPivot, and JFreeChart)
Although it is obvious how to use Pentaho within the PCI, I have had trouble figuring out how action sequences should be used to integrate Pentaho components into your web application. (related post: http://tinyurl.com/g9nhu)
I find the extensive use of scriptlets, and very limited HTML markup in the SampleDashboard.jsp and SWDashboard.jsp to be following coding practices that are considered bad in the Java community.
Although I'd prefer to see dashboards following good standards, I can understand if these are supposed to be quick-and-dirty examples to get people up and running. My problem is that I couldn't very easily figure out how to follow good practices and use the Pentaho action sequences. Ultimately, I resorted to using JFreeChart, JPivot, etc. directly rather than using action sequences.
I'm curious what other people thing about the dashboard examples and what you are doing to create your own dashboards. Would anyone else like to see more real world examples following good practices, like using Spring MVC, Struts, JSF, or some other common web framework along with Pentaho solutions?
I am currently working on integrating Pentaho into a dashboard/web application. I am using Spring MVC, Hibernate, Quartz, etc. along with Pentaho technologies (specifically Kettle, Mondrian, JPivot, and JFreeChart)
Although it is obvious how to use Pentaho within the PCI, I have had trouble figuring out how action sequences should be used to integrate Pentaho components into your web application. (related post: http://tinyurl.com/g9nhu)
I find the extensive use of scriptlets, and very limited HTML markup in the SampleDashboard.jsp and SWDashboard.jsp to be following coding practices that are considered bad in the Java community.
Although I'd prefer to see dashboards following good standards, I can understand if these are supposed to be quick-and-dirty examples to get people up and running. My problem is that I couldn't very easily figure out how to follow good practices and use the Pentaho action sequences. Ultimately, I resorted to using JFreeChart, JPivot, etc. directly rather than using action sequences.
I'm curious what other people thing about the dashboard examples and what you are doing to create your own dashboards. Would anyone else like to see more real world examples following good practices, like using Spring MVC, Struts, JSF, or some other common web framework along with Pentaho solutions?