Jpivot is MONDRIAN's performance layer Taglib, which has maintained a good development schedule. I haven't used it for a long time, and I have forgotten it to write a little experience.
1. Hanhua 1.1 Find all resources.properties files, Chinese is resources_zh.properties file 1.2 native2ascii resources_zh.properties resources_zh.properties 1.3 Find all XML files under Web-INF / JPIVOT, Chinese is xxx_zh.xml
2. Architecture Jpivot's architecture seems to be alternative, but it is actually a savvy choice. 2.1 Using XML / XSLT Rendering OLAP Report Jpivot Using WCF (Web Component Framework), rendering Web UI components based on XML / XSLT. This makes it look very alternative. However, the OLAP report is very complex but regular, it is best for use XSLT to render. Although the programmer and editor do not like this Martin Flower's language in the form of a list of Lisp, it is true that the OLAP report and its navigation system are more efficient than Template Engine (Velocity, FreeMarker). 2.2 Complete JSP Taglib Jpivot Another place that may make people are uninterectyed, it is completely taglib instead of everyone's familiar MVC mode. However, if not Tablib, all MVC frameworks will lose versatility, can't afford the heavy responsibility of Mondrain unique performance layer, and MVC does not necessarily require those frameworks (later) 2.3 typical processes and patterns:
Open the Samples of Jpivot, view the index.jsp file, the typical process is as follows:
1. Users issued TestPage.jsp? Query = Modrain request 2,
3,
4.
5, the
6. Cycles Quick 4, 5, using the "Navigator, Chart" of TAG, using
The entire process, step 2 TestPage acts as a Controller called the Model layer in step 3, then executes the TRANSFORM ENGINE TRANSFORM ENGINE in Martin Flower in the 4th, 5 steps --- First from domain data (such as some Java beans) Converting the format neatly, the data (such as a paragraph XML) is required, rendering it to the final expression of the final manifestation with XSL. Related Articles: Poor's General OLAP Solution I - General OLAP Solution I I - Mondrian Engine Poor III - JPivot Express Layer