﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-&lt;h1&gt;efa's blog&lt;/h1&gt;-文章分类-attention</title><link>http://www.blogjava.net/davidxu/category/1846.html</link><description>以用户角度出发,你就已经成功一半了.</description><language>zh-cn</language><lastBuildDate>Wed, 28 Feb 2007 03:09:49 GMT</lastBuildDate><pubDate>Wed, 28 Feb 2007 03:09:49 GMT</pubDate><ttl>60</ttl><item><title>[JAVA-BIRT] eclipse birt 网站一览所获</title><link>http://www.blogjava.net/davidxu/articles/6838.html</link><dc:creator>一凡@ITO</dc:creator><author>一凡@ITO</author><pubDate>Tue, 28 Jun 2005 13:45:00 GMT</pubDate><guid>http://www.blogjava.net/davidxu/articles/6838.html</guid><wfw:comment>http://www.blogjava.net/davidxu/comments/6838.html</wfw:comment><comments>http://www.blogjava.net/davidxu/articles/6838.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.blogjava.net/davidxu/comments/commentRss/6838.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/davidxu/services/trackbacks/6838.html</trackback:ping><description><![CDATA[<P>下班时间再跑到网站上逛了一下，总结几点:<BR><BR><STRONG>1、</STRONG><SPAN class=indextop><STRONG>BIRT 1.0.1 项目计划</STRONG><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; birt 1.0正式发布后，开发人员将继续处理一些bug以及完善一些功能。<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 计划在2005&nbsp; 7月25日发布新版本 BIRT 1.0.1&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 而BIRT 1.0.1 M1版本 (Including RCP version)&nbsp; 将在 2005&nbsp; &nbsp;7月11日,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 界时 1.0.1 将包含<BR>&nbsp;&nbsp;&nbsp; Source code release for Eclipse BIRT<BR>&nbsp;&nbsp;&nbsp; Eclipse BIRT Report Designer 1.0.1 <BR>&nbsp; &nbsp; Eclipse BIRT Report Engine 1.0.1 <BR>&nbsp;&nbsp;&nbsp; Eclipse BIRT Chart Component 1.0.1 <BR>&nbsp;&nbsp; &nbsp;Eclipse BIRT RCP Report Designer 1.0.1<BR>&nbsp;&nbsp;&nbsp; 真不明白，还没有关于EXCEL支持的通知<IMG height=19 src="http://www.blogjava.net/Emoticons/cry_smile.gif" width=19 border=0><BR><BR><STRONG>2、1.0.1版本将计划在以下平台中测试验证，（另我希望能在其它平台下也能正常运行,例如rh低版本的，以及weblogic等: ) ）</STRONG> 
<TABLE border=1>
<TBODY>
<TR bgColor=#cccccc>
<TH colSpan=4>
<DIV align=center><B><FONT size=+1>BIRT Report Designer Reference Platforms</FONT></B> </DIV></TH></TR>
<TR>
<TD width=205><B>Operating system</B></TD>
<TD width=76><B>Processor architecture</B></TD>
<TD width=59><B>Window system</B></TD>
<TD width=453><B>Java 2 Platform</B></TD></TR>
<TR>
<TD>Microsoft Windows XP </TD>
<TD>Intel x86 </TD>
<TD>Win32</TD>
<TD>Sun Java 2 Standard Edition, version 1.4.2, version 5.0 </TD></TR>
<TR>
<TD>Microsoft Windows 2000 </TD>
<TD>Intel x86 </TD>
<TD>Win32</TD>
<TD>Sun Java 2 Standard Edition, version 1.4.2, version 5.0 </TD></TR>
<TR>
<TD>Microsoft Windows Server 2003 </TD>
<TD>Intel x86 </TD>
<TD>Win32 </TD>
<TD>Sun Java 2 Standard Edition, version 1.4.2, version 5.0 </TD></TR>
<TR>
<TD>Red Hat Enterprise Linux WS 3.0 </TD>
<TD>Intel x86 </TD>
<TD>GTK</TD>
<TD>Sun Java 2 Standard Edition, version 1.4.2</TD></TR></TBODY></TABLE><BR>
<TABLE border=1>
<TBODY>
<TR bgColor=#cccccc>
<TH colSpan=4>
<DIV align=center><B><FONT size=+1>BIRT Report Engine and Chart Component Reference Platforms</FONT></B> </DIV></TH></TR>
<TR>
<TD width=205><B>Operating system</B></TD>
<TD width=76><B>Processor architecture</B></TD>
<TD width=59><B>Window system</B></TD>
<TD width=453><B>Java 2 Platform</B></TD></TR>
<TR>
<TD>Microsoft Windows XP </TD>
<TD>Intel x86 </TD>
<TD>Win32*</TD>
<TD>Sun Java 2 Standard Edition, version 1.4.2</TD></TR>
<TR>
<TD>Microsoft WIndows XP </TD>
<TD>Intel x86 </TD>
<TD>Win32*</TD>
<TD>IBM SDK 1.4.2 </TD></TR>
<TR>
<TD>Microsoft Windows Server 2003 </TD>
<TD>Intel x86</TD>
<TD>Win32*</TD>
<TD>Sun Java 2 Standard Edition, version 1.4.2</TD></TR>
<TR>
<TD>Microsoft Windows Server 2003</TD>
<TD>Intel x86 </TD>
<TD>Win32*</TD>
<TD>IBM SDK 1.4.2 </TD></TR>
<TR>
<TD>Red Hat Enterprise Linux WS 3.0 </TD>
<TD>Intel x86 </TD>
<TD>GTK*</TD>
<TD>Sun Java 2 Standard Edition, version 1.4.2, BlackDown SDK 1.4.2 </TD></TR>
<TR>
<TD>SUSE Linux Enterprise Server 9 </TD>
<TD>Intel x86 </TD>
<TD>YaST*</TD>
<TD>Sun Java 2 Standard Edition, version 1.4.2, BlackDown SDK 1.4.2 </TD></TR></TBODY></TABLE></P>
<P>* Window system only required when displaying charts within SWT or SWING windows.</P>
<P>
<TABLE border=1>
<TBODY>
<TR bgColor=#cccccc>
<TH width=808>
<DIV align=center><B><FONT size=+1>BIRT Application Server Reference Platform </FONT></B></DIV></TH></TR>
<TR>
<TD>Apache Tomcat 4.1.x, 5.5.x </TD></TR>
<TR>
<TD>JBoss AS 4.0.2 </TD></TR></TBODY></TABLE><BR>
<TABLE border=1>
<TBODY>
<TR bgColor=#cccccc>
<TH width=808>
<DIV align=center><B><FONT size=+1>BIRT JDBC Reference Platforms</FONT></B> </DIV></TH></TR>
<TR>
<TD>MySQL Connector/J 3.x JDBC driver</TD></TR>
<TR>
<TD>Derby V5.1 JDBC driver </TD></TR></TBODY></TABLE><BR>
<TABLE border=1>
<TBODY>
<TR bgColor=#cccccc>
<TH width=808>
<DIV align=center><B><FONT size=+1>BIRT Browsers and Viewers Reference Platforms </FONT></B></DIV></TH></TR>
<TR>
<TD>Mozilla Firefox 1.0 </TD></TR>
<TR>
<TD>Microsoft Internet Explorer 6.0 </TD></TR>
<TR>
<TD>
<P>Adobe Acrobat Reader 7.0 </P></TD></TR></TBODY></TABLE></SPAN></P>3、几个project的网址<BR><A href="http://www.eclipse.org/ece/">Eclipse Chart Engine (ECE)</A><BR><A href="http://www.eclipse.org/erd/">Eclipse Report Designer (ERD)</A><BR>
<TABLE cellSpacing=5 cellPadding=2 width="100%" border=0>
<TBODY>
<TR>
<TD align=left colSpan=4><FONT class=indextop><A href="http://www.eclipse.org/ere/">Eclipse Report Engine (ERE)</A></FONT></TD></TR></TBODY></TABLE><A href="http://www.eclipse.org/wrd/">Web Report Designer (WRD)</A><BR><BR>4、最后在&nbsp;faq中找到最关心的关于data source 以及data set的问题<BR>术语，择原文<BR>
<H2>Q: What is a "data source" and a "data set"?</H2><BR>
<UL>
<LI>Data Set – is a description of data to be retrieved. SQL queries are the ones most often used, but BIRT also supports a wide variety of sources such as <FONT color=#ff0000>stored procedures,</FONT><FONT color=#ff0000> Java classes</FONT> and so on. </LI></UL>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (笔者注：官方说支持存储过程以及java类等，但对这方面的说明还是太少，暂时还没找到相关）</P>
<UL>
<LI>Data Source – is a connection to an external system, such as a JDBC connection. Data sources are optional, some data sets, such as XML or CSV files, don't need a connection. <BR></LI></UL>
<H2>Q: Can I build my own data set?</H2>
<P class=vspace></P>
<P>Yes. The only requirement is that your data set return data in tabular format so that BIRT can perform sorting, aggregation, grouping and so on. There are two ways to build a data set: </P>
<P class=vspace></P>
<UL>
<LI>Scripted data set – Best for data sets that are used by one specific report. (For example, to access a specific set of application objects.) 
<LI>Extended data set – Created using BIRT's Open Data Access (ODA) framework. Extended data sets are best when creating a generic feature used access a type of data source. (For example, to access web logs.) </LI></UL>
<P>&nbsp;(笔者注：通过两种方式 创建data set，包括script data set&nbsp;，&nbsp; BIRT's Open Data Access (ODA) framework）</P>
<H2>Q: What data sources does BIRT support?</H2>
<P class=vspace></P>
<P>BIRT Release 1 supports two data sources: </P>
<P class=vspace></P>
<UL>
<LI>JDBC – Works with any JDBC driver. 
<LI>Scripted – Lets you write code to access other data sources. </LI></UL>
<P>太多了。感觉这个faq最能触动我去了解学习它<BR><A href="http://www.eclipse.org/birt/wiki/index.php?n=FAQ.DataAccess">http://www.eclipse.org/birt/wiki/index.php?n=FAQ.DataAccess</A></P><img src ="http://www.blogjava.net/davidxu/aggbug/6838.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/davidxu/" target="_blank">一凡@ITO</a> 2005-06-28 21:45 <a href="http://www.blogjava.net/davidxu/articles/6838.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[JAVA - BIRT]Birt 学习资料</title><link>http://www.blogjava.net/davidxu/articles/6784.html</link><dc:creator>一凡@ITO</dc:creator><author>一凡@ITO</author><pubDate>Mon, 27 Jun 2005 13:49:00 GMT</pubDate><guid>http://www.blogjava.net/davidxu/articles/6784.html</guid><wfw:comment>http://www.blogjava.net/davidxu/comments/6784.html</wfw:comment><comments>http://www.blogjava.net/davidxu/articles/6784.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.blogjava.net/davidxu/comments/commentRss/6784.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/davidxu/services/trackbacks/6784.html</trackback:ping><description><![CDATA[<P>接触birt两天。给我总体感觉总结几点<BR>1、支持html,pdf。却还没支持excel，有点遗憾。希望在以后的版本中能支持。因为这样再能真正的能满足业务中的需求。<BR>2、设计方式灵活，操作有点DW 画网页的感觉。<BR>3、支持CSS，支持比较强的script（需然还没怎样试用）<BR>4、分页还没有十分了解。<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 只知道它是用css的。感觉不怎么好。或许还没体会深度吧.<BR>5、网上资料还是比较少的，官方主页上的Tutorial 也是比较理论化的。所以在这里提供提供一些学习资源链接:<BR><BR><STRONG>介绍:<BR></STRONG>&nbsp;官方介绍 <A href="http://www.eclipse.org/birt/intro/">http://www.eclipse.org/birt/intro/</A>&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A href="http://www.eclipse.org/birt/project/">http://www.eclipse.org/birt/project/</A><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A href="http://www.actuate.com/birt/">http://www.actuate.com/birt/</A><BR>&nbsp; tdwi 上关于birt的介绍&nbsp;<A href="http://www.tdwi.org/Publications/display.aspx?id=7570&amp;t=y">http://www.tdwi.org/Publications/display.aspx?id=7570&amp;t=y</A><BR><STRONG>指南:</STRONG><BR>主要都是一些官方资料<A href="http://www.eclipse.org/birt/tutorial/">http://www.eclipse.org/birt/tutorial/</A>&nbsp;<BR>包括:<BR>&nbsp;&nbsp; A&nbsp; Basic Tutorial&nbsp;&nbsp; <A href="http://www.eclipse.org/birt/tutorial/basic">http://www.eclipse.org/birt/tutorial/basic</A>&nbsp;<BR>&nbsp;&nbsp; B&nbsp;&nbsp;&nbsp;&nbsp;Flash hello world 教程&nbsp;<A href="http://download.eclipse.org/birt/downloads/demos/MyFirstReport.html" target=_blank>My First Report</A><BR>&nbsp; C 三个视频教程(有空我也将其操作演示出来)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A href="http://www.eclipse.org/downloads/download.php?file=/birt/downloads/demos/parameter_demo.wmv&amp;r=1">Using data set parameters and report parameters.</A>&nbsp;&nbsp; （讲述报表参数）<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A href="http://www.eclipse.org/downloads/download.php?file=/birt/downloads/demos/sub_report_demo.wmv&amp;r=1"><FONT color=#002c99>Creating a subreport.</FONT></A>&nbsp; (讲述简单子报表，嵌套报表)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A href="http://www.eclipse.org/downloads/download.php?file=/birt/downloads/demos/scripted_data_src.wmv&amp;r=1"><FONT color=#002c99>Creating a scripted data set.</FONT></A>&nbsp; (讲述简单的script用法)<BR><BR>总结, birt还则出1.0版本，有些功能还没完善，所以我是想用的人还比较少，特别是国内的，所以资料基本是外文资料，希望大家抱着了解学习的心态去浏览 : )<BR><BR><BR><BR>&nbsp;</P><img src ="http://www.blogjava.net/davidxu/aggbug/6784.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/davidxu/" target="_blank">一凡@ITO</a> 2005-06-27 21:49 <a href="http://www.blogjava.net/davidxu/articles/6784.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[JAVA - BIRT] 我的第一个birt报表</title><link>http://www.blogjava.net/davidxu/articles/6782.html</link><dc:creator>一凡@ITO</dc:creator><author>一凡@ITO</author><pubDate>Mon, 27 Jun 2005 12:33:00 GMT</pubDate><guid>http://www.blogjava.net/davidxu/articles/6782.html</guid><wfw:comment>http://www.blogjava.net/davidxu/comments/6782.html</wfw:comment><comments>http://www.blogjava.net/davidxu/articles/6782.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.blogjava.net/davidxu/comments/commentRss/6782.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/davidxu/services/trackbacks/6782.html</trackback:ping><description><![CDATA[<P>还是老习惯，了解完birt的由来，就开始“动粗了”。<BR>1、 <A href="http://www.eclipse.org/birt/">http://www.eclipse.org/birt/</A>&nbsp; 大概了解个网站导航<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 内容包括:introduction(简介)&nbsp;， download（下载），install(安装指南)&nbsp;， tutorial（教程）,faq等<BR>2、下载，到<A href="http://download.eclipse.org/birt/downloads/">http://download.eclipse.org/birt/downloads/</A>&nbsp; 可以一一下载<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;安装birt之前的要求包括:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<STRONG>jdk1.4以上</STRONG><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <STRONG>Eclipse 3.0.1</STRONG>(建议，根据网站上说不支持Eclipse 2.x,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 另外Eclipse 3.1上使用好象有点问题,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Eclipse 3.0 release上没经过测试)，<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;所以保险起见还是用Eclipse 3.0.1(因为我以前还很少用eclipse，这个对我没什么影响)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A name=jump_4><STRONG>GEF</STRONG></A>（the Graphic Editor Framework, is an Eclipse plugin used by the BIRT UI）<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A name=jump_5><STRONG>EMF</STRONG></A>（The BIRT charting feature uses EMF, the Eclipse Modeling Framework）<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A name=jump_6><STRONG>BIRT</STRONG></A><BR>3、安装<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;安装很简单，想必大家都会安装，解压，放到eclipse plus-in目录就行了。<BR>&nbsp;&nbsp;&nbsp;&nbsp; 在这里想提的就是eclipse的插件安装后还得删除\configuration\org.eclipse.update<BR>&nbsp;&nbsp;&nbsp;&nbsp; 这样再开eclipse才有认出来。<BR>4、运行<BR><SPAN style="FONT-SIZE: 10.5pt; COLOR: #666666; FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-bidi-font-family: Arial; mso-font-kerning: 1.0pt"><FONT size=3>&nbsp;&nbsp; </FONT><FONT color=#000000><FONT size=3>报表设计器提供比较完整的国际，本地化的支持。所以安装之后你会发现友好的中文操作界面。也许会降低开发人员的门槛：）<BR>5、新建项目 <BR>project name:HelloBirt<BR>目录 ：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\work\hellobirt<BR><STRONG>[新建项目]</STRONG></FONT></FONT></SPAN></P><SPAN style="FONT-SIZE: 10.5pt; COLOR: #666666; FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-bidi-font-family: Arial; mso-font-kerning: 1.0pt"></SPAN>
<P><IMG height=507 alt="new project.gif" src="http://www.blogjava.net/images/blogjava_net/davidxu/new%20project.gif" width=533 border=0><BR><STRONG><FONT face=宋体>[新增报表]<BR></FONT></STRONG><IMG height=457 alt="new report[1].gif" src="http://www.blogjava.net/images/blogjava_net/davidxu/new%20report[1].gif" width=457 border=0><BR><BR><IMG height=552 alt="new report.gif" src="http://www.blogjava.net/images/blogjava_net/davidxu/new%20report.gif" width=525 border=0><BR>选择报表模板,然后就可以看到如下的报表设计页面。<BR><IMG height=494 alt=edit.gif src="http://www.blogjava.net/images/blogjava_net/davidxu/edit.gif" width=908 border=0><BR><BR><STRONG>整体来说应该分六大部分</STRONG><BR>navigator(资源导航) <BR>outline(轮廓) <BR>palettle(调色板，画板) -提供拖拉式的报表元素<BR>属性编辑器 - 报表中元素的属性编辑器<BR>数据资源管理器<BR>报表设计主场景（<A name=jump_3>Layout Editor</A>设计编辑器）<BR><BR>如果你界面中并没有显示出来，可以通过<BR>WINDOW - open Perspective[打开透视图] show view将其显示出来<BR>[BTW：经过使用，给我感觉这个报表设计的步骤与操作有点以前用DW画网页的感觉]<BR><BR>6、设计简单的helloworld 报表<BR>笔者在这里只做个简单的演示，还没涉及到数据操作：）<BR>A、给报表加个表头，操作实在简单,在palettle中托运一个文本到报表上,在弹出对话框中输入文本，即可<BR>&nbsp;&nbsp;&nbsp;&nbsp; <IMG height=217 alt=text.gif src="http://www.blogjava.net/images/blogjava_net/davidxu/text.gif" width=320 border=0><BR>B、再在报表中加个表。有点类似于web 中的&lt;tabel&gt;&lt;/table&gt;，其实它生成的HTML的报表也是以&lt;table&gt;的形式显现.<BR><IMG height=242 alt=table.gif src="http://www.blogjava.net/images/blogjava_net/davidxu/table.gif" width=283 border=0><BR><BR>C、这样，一个简单的报表就出来了<BR><IMG height=247 alt=report.gif src="http://www.blogjava.net/images/blogjava_net/davidxu/report.gif" width=523 border=0><BR><BR>D、预览,提供两种方法的预览<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [1] 设计编辑界面下的[预览]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [2]&nbsp; 菜单-file - 以HTML格式预览/以PDF格式预览<BR>E、放到tomcat中跑<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 解压在下载的 birt-runtime-1_0.zip&nbsp;&nbsp;，里面有个Web Viewer Example<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 路径&nbsp; birt-runtime-1_0\birt-runtime-1_0\Web Viewer Example<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;经发现，有些依赖文件，将其拷到我们刚才新建的项目中,现在的文件结构变成:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp; <IMG height=238 alt=tree.gif src="http://www.blogjava.net/images/blogjava_net/davidxu/tree.gif" width=203 border=0><BR>配置tomcat，打开IE浏览通过：<A href="http://localhost/hellobirt/frameset?__report=hello_report.rptdesign">http://localhost/hellobirt/frameset?__report=hello_report.rptdesign<BR></A><IMG height=212 alt=webReport.gif src="http://www.blogjava.net/images/blogjava_net/davidxu/webReport.gif" width=306 border=0><BR>查看web.xml配置文件,可以发现birt的报表是通过servlet浏览的。<BR><BR>&lt;servlet&gt;<BR>&nbsp;&nbsp;&lt;servlet-name&gt;ViewerServlet&lt;/servlet-name&gt;<BR>&nbsp;&nbsp;&lt;servlet-class&gt;org.eclipse.birt.report.viewer.servlets.ViewerServlet&lt;/servlet-class&gt;<BR>&nbsp;&lt;/servlet&gt;</P>
<P>&nbsp;&lt;servlet-mapping&gt;<BR>&nbsp;&nbsp;&lt;servlet-name&gt;ViewerServlet&lt;/servlet-name&gt;<BR>&nbsp;&nbsp;&lt;url-pattern&gt;/<STRONG>frameset</STRONG>&lt;/url-pattern&gt;<BR>&nbsp;&lt;/servlet-mapping&gt;<BR>&nbsp;<BR>&nbsp;&lt;servlet-mapping&gt;<BR>&nbsp;&nbsp;&lt;servlet-name&gt;ViewerServlet&lt;/servlet-name&gt;<BR>&nbsp;&nbsp;&lt;url-pattern&gt;/<STRONG>run</STRONG>&lt;/url-pattern&gt;<BR>&nbsp;&lt;/servlet-mapping&gt;</P>
<P>&nbsp;&lt;servlet-mapping&gt;<BR>&nbsp;&nbsp;&lt;servlet-name&gt;ViewerServlet&lt;/servlet-name&gt;<BR>&nbsp;&nbsp;&lt;url-pattern&gt;/<STRONG>navigation</STRONG>&lt;/url-pattern&gt;<BR>&nbsp;&lt;/servlet-mapping&gt;</P>
<P>&nbsp;&lt;servlet-mapping&gt;<BR>&nbsp;&nbsp;&lt;servlet-name&gt;ViewerServlet&lt;/servlet-name&gt;<BR>&nbsp;&nbsp;&lt;url-pattern&gt;/<STRONG>toolbar</STRONG>&lt;/url-pattern&gt;<BR>&nbsp;&lt;/servlet-mapping&gt;<BR>这样我们第一个报表就出来了 : &nbsp;)</P><img src ="http://www.blogjava.net/davidxu/aggbug/6782.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/davidxu/" target="_blank">一凡@ITO</a> 2005-06-27 20:33 <a href="http://www.blogjava.net/davidxu/articles/6782.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[JAVA - BIRT]接触 Eclipse 上报表项目BIRT </title><link>http://www.blogjava.net/davidxu/articles/birt.html</link><dc:creator>一凡@ITO</dc:creator><author>一凡@ITO</author><pubDate>Mon, 27 Jun 2005 12:06:00 GMT</pubDate><guid>http://www.blogjava.net/davidxu/articles/birt.html</guid><wfw:comment>http://www.blogjava.net/davidxu/comments/6781.html</wfw:comment><comments>http://www.blogjava.net/davidxu/articles/birt.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/davidxu/comments/commentRss/6781.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/davidxu/services/trackbacks/6781.html</trackback:ping><description><![CDATA[<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT color=#7fffd4 size=4><SPAN style="FONT-SIZE: 16pt; COLOR: #666666; FONT-FAMILY: 宋体; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana; mso-bidi-font-family: Arial"><FONT color=#000000 size=2>&nbsp;&nbsp;<FONT size=3>&nbsp; 最近由于工作的原因，接触了一下eclipse上一项目：Birt<BR>全称Business Intelligence Reporting Tool（ 商业智能报表工具），它可以免费获得以及使用的。<BR><A href="http://www.eclipse.org/birt/frameizer.php?page=http://dev.eclipse.org/viewcvs/index.cgi/?cvsroot=BIRT_Project">src目录浏览</A> <BR>cvs<BR>
<TABLE class=simple-table border=0>
<TBODY>
<TR>
<TD>Host:</TD>
<TD>dev.eclipse.org</TD></TR>
<TR>
<TD>Repository path:</TD>
<TD>/home/birt</TD></TR>
<TR>
<TD>User:</TD>
<TD>anonymous</TD></TR>
<TR>
<TD>Password:</TD>
<TD></TD></TR>
<TR>
<TD>Connection type:</TD>
<TD>pserver</TD></TR>
<TR>
<TD>Use Default Port:</TD>
<TD>yes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR></TBODY></TABLE><BR>&nbsp;&nbsp;&nbsp;&nbsp; 接触之前，看了一下介绍,google了相关的文章以及看了由 </FONT></FONT></P>
<DIV class=O style="mso-line-spacing: '100 50 0'; mso-char-wrap: 1; mso-kinsoku-overflow: 1" v:shape="_x0000_s1026"><FONT color=#000000><FONT size=3><SPAN style="mso-bidi-font-family: Arial"><SPAN lang=EN-US style="mso-hansi-font-family: Arial; mso-fareast-font-family: 宋体; mso-fareast-language: ZH-CN">Birt项目 VP(Vice President)对birt的介绍的一份 </SPAN></SPAN><A href="http://www.eclipse.org/birt/presos/MySQL%20User%20Conference%20-%20BIRT%20An%20Open%20Source%20Alternative%202005-04-15.ppt">PPT文件</A>。总结了几点：<BR>&nbsp;&nbsp;&nbsp;&nbsp; 1、大概在去年，著名的报表厂商Actuate以战略开发者的角色加入eclipse开源基金组织，并与相关的技术专家，报表专家计划开发Birt，一个java 报表项目.<BR>基于eclipse 的设计器的一整套报表工具.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2、</FONT></FONT><SPAN style="FONT-SIZE: 89%"><SPAN style="LEFT: -3.53%; FONT-FAMILY: Wingdings; POSITION: absolute; mso-special-format: bullet"><FONT color=#000000 size=3>§</FONT></SPAN></SPAN><SPAN style="mso-bidi-font-family: Arial"><SPAN lang=EN-US style="FONT-SIZE: 16pt; mso-hansi-font-family: Arial; mso-fareast-font-family: 宋体; mso-fareast-language: ZH-CN"><FONT color=#000000 size=3>Birt项目在2004-8-24 提出，</FONT></SPAN></SPAN><SPAN style="mso-bidi-font-family: Arial"><SPAN lang=EN-US style="FONT-SIZE: 16pt; mso-hansi-font-family: Arial; mso-fareast-font-family: 宋体; mso-fareast-language: ZH-CN"><FONT color=#000000 size=3>2004-9-30通过。<BR></DIV></FONT></SPAN></SPAN>
<DIV class=O style="mso-line-spacing: '100 50 0'; mso-char-wrap: 1; mso-kinsoku-overflow: 1; mso-margin-left-alt: 144" v:shape="_x0000_s1026"></DIV>
<DIV class=O style="mso-line-spacing: '100 50 0'; mso-char-wrap: 1; mso-kinsoku-overflow: 1" v:shape="_x0000_s1026"><FONT color=#000000 size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3、2004-11月公布Birt 1.0版本的目标<BR>&nbsp;&nbsp;&nbsp;&nbsp; 4、2005-2&nbsp;预览版本&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp; 5、2005-5 1.0版本正式发布&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp; 6</FONT>、<SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><FONT size=3><FONT color=#000000><FONT face="Times New Roman">Birt 1.0的组成<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="mso-bidi-font-family: Arial"><SPAN lang=EN-US style="FONT-SIZE: 14pt; mso-hansi-font-family: Arial; mso-fareast-font-family: 宋体; mso-fareast-language: ZH-CN"><FONT size=2><FONT face=宋体 color=#000000 size=3>Eclipse Report Designer(基于Eclipse的报表设计工具,plus-in插件 )&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Report Engine（报表引擎）<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Chart Engine（3D Chart工具包）<BR></FONT></FONT></SPAN></SPAN>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;详细的摘原文:<BR><IMG height=353 alt="birt1.0 Components.gif" src="http://www.blogjava.net/images/blogjava_net/davidxu/birt/birt1.0%20Components.gif" width=532 border=0><BR><BR>项目网址: <A href="http://www.eclipse.org/birt/">http://www.eclipse.org/birt/</A>&nbsp;<BR><BR>备注：相关文章目录</FONT></FONT></FONT></SPAN><FONT face="Times New Roman" color=#000000 size=3></DIV>
<P>我的第一个birt报表 <BR><A href="http://www.blogjava.net/davidxu/articles/6782.html">http://www.blogjava.net/davidxu/articles/6782.html</A></P>
<P>[JAVA - BIRT]Birt 学习资料<BR><A href="http://www.blogjava.net/davidxu/articles/6784.html">http://www.blogjava.net/davidxu/articles/6784.html</A><BR><BR>[JAVA - BIRT]Birt 进一步接触<BR>进行中</P></FONT></SPAN></FONT><img src ="http://www.blogjava.net/davidxu/aggbug/6781.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/davidxu/" target="_blank">一凡@ITO</a> 2005-06-27 20:06 <a href="http://www.blogjava.net/davidxu/articles/birt.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>