PentahoReport Designer getting started tutorial (2), powerdesigner tutorial
PentahoReport Designer getting started tutorial (2)
Pentaho Report Designer5.1 is the latest version.
I. Installation and introduction
This section describes how to install jdk, configure java environment variables, download pentaho report, decompress the report, and run it directly.
Ii. Example 1
3. Integration in Swing programs
The sample program consists of three parts:
1. Create a simple Swing program and display two buttons, preview the report and close the program;
Click the Preview button to bring up the report page.
2. Compile an ant script to automatically compile and run the program (optional)
3. embedded report content and corresponding jar package description
Initialize the report engine:
ClassicEngineBoot. getInstance (). start ();
Ø report resource file loading code:
ResourceManager manager =NewResourceManager ();
Manager. registerDefaults ();
Resource res = manager. createDirectly (NewURL (
"File: data/ch2_1.prpt"), MasterReport.Class);
MasterReport report = (MasterReport) res. getResource ();
Display report Event code:
Final PreviewDialog preview = newPreviewDialog (report );
Preview. addWindowListener (newWindowAdapter (){
Publicvoid windowClosing (final javaswevent event ){
Preview. setVisible (false );
}
});
Preview. pack ();
Preview. setVisible (true );
Ø jar package description
Jar File |
Description |
Libbase. jar Libdocbundle. jar Libfonts. jar Libformat. jar Libformula. jar Libloader. jar Librepository. jar Libserializer. jar Libxml. jar Libswing. jar Pentaho-reporting-engine-classic-core.jar Pentaho-reporting-engine-classic-extensions.jar |
The jar package corresponding to the report engine. libswing. jar is added to version 5.1. Each jar file name ends with a version. required; |
Commons-logging-api.jar |
Log usage, required; |
Poi-3.9.jar Poi-ooxml-3.9.jar Poi-ooxml-schemas-3.9.jar Xmlbeans-2.5.0.jar Dom4j-1.6.1.jar |
Generate excel-related files; optional; |
Itext-2.1.7.jar |
Generate pdf; optional; |
Itext-rtf-2.1.7.jar |
Rtf file; optional; |
4. Integration in j2ee
To be continued...
Which one has the Ext Designer video tutorial?
The portal tool is not easy to find a tutorial. If you need it, use the official online help system.
We recommend that you use similar tools, such as those recommended on the second floor.
Which of the following is a good introduction to embedded systems? How advanced? What is the basis?
I don't know what the economic environment is like in the house of the landlord. If it is good, I can really go to training. I don't have to be hungry if I don't work for a few months. If the landlord wants to do his/her own work, I suggest that the landlord still learn his/her work by himself. After all, you have to pay a large amount of training fee, and you have to spend four months without a job. If you fail to learn well at that time, the price should be too high.
So, let me talk about my experience. I am a student who has not graduated from a junior college. I originally wanted to train embedded systems, but I couldn't make that much money at home, so I had to learn by myself, but I didn't like reading books. As soon as I read a book, I dozed off.
So I always wanted to find a video, a video like the secret of martial arts, but I haven't found it for a long time. Most of them are just some part of the content and cannot be satisfied. Later, on an embedded group, a friend introduced me to an embedded video from scratch, and they also provided technical support for half a year, I suddenly lost my appetite, and then I went to their website and looked at it. It would be 300 yuan, so expensive. But to learn, I bit my teeth and bought it. I posted the video address to share it with the landlord.
Video address:
After receiving the CD they sent me, I started to learn. Since I have no foundation, I started to learn from the simplest C language video tutorial, in fact, I still don't know much about it. I had to ask them. They were very enthusiastic and helped me solve the problem. I learned the C language for almost a week. Next I learned the basic commands of linux. I did some exercises on their linux virtual machines, typed the basic commands of linux, and wrote simple C language code, it takes about three weeks. I keep writing some simple code every day, so that after January, I basically mastered the basic operations of C and linux.
Next, I went to learn the video training courses provided by other people. They are a complete set of training courses. They are not much different from attending the training course. I have learned the basic principles of ARM for two months, I learned the concept of an embedded system, learned how to build an embedded environment, and had a deeper understanding of linux. I understood how embedded applications are implemented, however, I only have a little understanding of the driver, which is relatively difficult.
In the past two months, I have almost been studying, except for eating and sleeping. Because I know that there is almost no foundation, and it is worse than others, I have to work hard. I cannot give up. I must rely on myself to support myself. I must learn this technology well, at the same time, if I don't understand it, I would like to thank their technical customer service for their patience in answering any of my questions. Every day I have several questions to ask them, then I will summarize the issues that I don't understand. After accumulating these questions for a while, I found myself getting started.
In the last month, I went to the Practice section to learn about the specific development process of the embedded project and what kind of knowledge I needed. Then I began to prepare this knowledge, that is, to learn about this video. They also suggested that I find some embedded interview questions to prepare for my job in the future. I found a lot of embedded questions on the Internet and wrote down what they understood. It took about 20 days to prepare them.
I think I am getting started and will do some simple things. I just wanted to look for a job, so I went to 51job to submit my resume in a crazy way. Because of my academic qualifications, I didn't graduate from a specialist. To be honest, no one in a large company would ask me, therefore, I am investing in private small companies, and I hope my efforts will be rewarded. I did not think about the interview after a few days, but I failed the first interview. Although I think the test is very good, because I have prepared for it, they have strict requirements, I need one year of project experience, so I am not selected.
Later, I interviewed several companies one after another, and I finally paid off my work. I finally interviewed a private enterprise in Minhang. The company is relatively small. My role is embedded linux application development and security product application. I think I am lucky too. My manager hired me when I valued my efforts very much. My salary was not high, but I thought I was enough. At least I don't have to rely on my parents every day. I can support myself. I think my salary will double as long as I continue to work hard.
Finally, I also recommended their materials... the remaining full text>