<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>评论：BDB Java Edition + prefuse, 轻松实现数据可视化</title>
	<atom:link href="http://www.bdbchina.com/2010/03/bdb-java-edition-prefuse-%e8%bd%bb%e6%9d%be%e5%ae%9e%e7%8e%b0%e6%95%b0%e6%8d%ae%e5%8f%af%e8%a7%86%e5%8c%96/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bdbchina.com/2010/03/bdb-java-edition-prefuse-%e8%bd%bb%e6%9d%be%e5%ae%9e%e7%8e%b0%e6%95%b0%e6%8d%ae%e5%8f%af%e8%a7%86%e5%8c%96/</link>
	<description>Oracle Berkeley DB 中国研发团队的博客</description>
	<lastBuildDate>Thu, 15 Dec 2011 10:53:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>来自：鱼几个木</title>
		<link>http://www.bdbchina.com/2010/03/bdb-java-edition-prefuse-%e8%bd%bb%e6%9d%be%e5%ae%9e%e7%8e%b0%e6%95%b0%e6%8d%ae%e5%8f%af%e8%a7%86%e5%8c%96/comment-page-1/#comment-1403</link>
		<dc:creator>鱼几个木</dc:creator>
		<pubDate>Fri, 17 Sep 2010 07:27:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.bdbchina.com/?p=784#comment-1403</guid>
		<description>&lt;a href=&quot;#comment-1402&quot; rel=&quot;nofollow&quot;&gt;@chaohuang &lt;/a&gt; 
谢谢!!</description>
		<content:encoded><![CDATA[<p><a href="#comment-1402" rel="nofollow">@chaohuang </a><br />
谢谢!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：chaohuang</title>
		<link>http://www.bdbchina.com/2010/03/bdb-java-edition-prefuse-%e8%bd%bb%e6%9d%be%e5%ae%9e%e7%8e%b0%e6%95%b0%e6%8d%ae%e5%8f%af%e8%a7%86%e5%8c%96/comment-page-1/#comment-1402</link>
		<dc:creator>chaohuang</dc:creator>
		<pubDate>Fri, 17 Sep 2010 03:33:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.bdbchina.com/?p=784#comment-1402</guid>
		<description>&lt;a href=&quot;#comment-1401&quot; rel=&quot;nofollow&quot;&gt;@鱼几个木 &lt;/a&gt; 
你好，这里是BDB的论坛。我看上去你的问题是在Oracle RDBMS，请到asktom.oracle.com咨询Oracle RDBMS的专家。</description>
		<content:encoded><![CDATA[<p><a href="#comment-1401" rel="nofollow">@鱼几个木 </a><br />
你好，这里是BDB的论坛。我看上去你的问题是在Oracle RDBMS，请到asktom.oracle.com咨询Oracle RDBMS的专家。</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：鱼几个木</title>
		<link>http://www.bdbchina.com/2010/03/bdb-java-edition-prefuse-%e8%bd%bb%e6%9d%be%e5%ae%9e%e7%8e%b0%e6%95%b0%e6%8d%ae%e5%8f%af%e8%a7%86%e5%8c%96/comment-page-1/#comment-1401</link>
		<dc:creator>鱼几个木</dc:creator>
		<pubDate>Fri, 17 Sep 2010 03:05:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.bdbchina.com/?p=784#comment-1401</guid>
		<description>你好，我没有使用BDB JE。
向你咨询一个问题：我使用prefuse从Oracle中读取数据，代码如下：
ConnectionFactory.getDatabaseConnection(driver,url,userName,userPwd).getData(&quot;select * from tableName&quot;) ;
报异常：Type double not supported.
数据库字段类型为：number,varchar2,varchar2。把number改为int型也是报告同样异常。
请问怎么解决？谢谢了！</description>
		<content:encoded><![CDATA[<p>你好，我没有使用BDB JE。<br />
向你咨询一个问题：我使用prefuse从Oracle中读取数据，代码如下：<br />
ConnectionFactory.getDatabaseConnection(driver,url,userName,userPwd).getData(&#8220;select * from tableName&#8221;) ;<br />
报异常：Type double not supported.<br />
数据库字段类型为：number,varchar2,varchar2。把number改为int型也是报告同样异常。<br />
请问怎么解决？谢谢了！</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：鸭蛋</title>
		<link>http://www.bdbchina.com/2010/03/bdb-java-edition-prefuse-%e8%bd%bb%e6%9d%be%e5%ae%9e%e7%8e%b0%e6%95%b0%e6%8d%ae%e5%8f%af%e8%a7%86%e5%8c%96/comment-page-1/#comment-1113</link>
		<dc:creator>鸭蛋</dc:creator>
		<pubDate>Wed, 26 May 2010 06:40:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.bdbchina.com/?p=784#comment-1113</guid>
		<description>谢谢……O(∩_∩)O</description>
		<content:encoded><![CDATA[<p>谢谢……O(∩_∩)O</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：chaohuang</title>
		<link>http://www.bdbchina.com/2010/03/bdb-java-edition-prefuse-%e8%bd%bb%e6%9d%be%e5%ae%9e%e7%8e%b0%e6%95%b0%e6%8d%ae%e5%8f%af%e8%a7%86%e5%8c%96/comment-page-1/#comment-1111</link>
		<dc:creator>chaohuang</dc:creator>
		<pubDate>Wed, 26 May 2010 05:04:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.bdbchina.com/?p=784#comment-1111</guid>
		<description>&lt;a href=&quot;#comment-1108&quot; rel=&quot;nofollow&quot;&gt;@鸭蛋 &lt;/a&gt; 
如果你能从SqlServer提取到节点以及节点之间的关系的话，可以很容易使用prefuse实现数据的可视化。

当然，能否从SqlServer提取节点关系等信息，以及如何使用prefuse和本博客不相干。请咨询SqlServer和prefuse。</description>
		<content:encoded><![CDATA[<p><a href="#comment-1108" rel="nofollow">@鸭蛋 </a><br />
如果你能从SqlServer提取到节点以及节点之间的关系的话，可以很容易使用prefuse实现数据的可视化。</p>
<p>当然，能否从SqlServer提取节点关系等信息，以及如何使用prefuse和本博客不相干。请咨询SqlServer和prefuse。</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：鸭蛋</title>
		<link>http://www.bdbchina.com/2010/03/bdb-java-edition-prefuse-%e8%bd%bb%e6%9d%be%e5%ae%9e%e7%8e%b0%e6%95%b0%e6%8d%ae%e5%8f%af%e8%a7%86%e5%8c%96/comment-page-1/#comment-1108</link>
		<dc:creator>鸭蛋</dc:creator>
		<pubDate>Wed, 26 May 2010 02:39:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.bdbchina.com/?p=784#comment-1108</guid>
		<description>&lt;a href=&quot;#comment-1107&quot; rel=&quot;nofollow&quot;&gt;@鸭蛋  &lt;/a&gt; 
 
补充下，我的开发平台选用的是Eclipse</description>
		<content:encoded><![CDATA[<p><a href="#comment-1107" rel="nofollow">@鸭蛋  </a> </p>
<p>补充下，我的开发平台选用的是Eclipse</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：鸭蛋</title>
		<link>http://www.bdbchina.com/2010/03/bdb-java-edition-prefuse-%e8%bd%bb%e6%9d%be%e5%ae%9e%e7%8e%b0%e6%95%b0%e6%8d%ae%e5%8f%af%e8%a7%86%e5%8c%96/comment-page-1/#comment-1107</link>
		<dc:creator>鸭蛋</dc:creator>
		<pubDate>Wed, 26 May 2010 02:37:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.bdbchina.com/?p=784#comment-1107</guid>
		<description>你好，我现在做一个《音频信息可视化软件》，我用的数据库是SqlServer，而不是xml。请问这样的话，还可以使用prefuse实现数据的可视化（主要是要产生树状的音乐树）吗？</description>
		<content:encoded><![CDATA[<p>你好，我现在做一个《音频信息可视化软件》，我用的数据库是SqlServer，而不是xml。请问这样的话，还可以使用prefuse实现数据的可视化（主要是要产生树状的音乐树）吗？</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：haomianwang</title>
		<link>http://www.bdbchina.com/2010/03/bdb-java-edition-prefuse-%e8%bd%bb%e6%9d%be%e5%ae%9e%e7%8e%b0%e6%95%b0%e6%8d%ae%e5%8f%af%e8%a7%86%e5%8c%96/comment-page-1/#comment-1096</link>
		<dc:creator>haomianwang</dc:creator>
		<pubDate>Fri, 21 May 2010 05:10:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.bdbchina.com/?p=784#comment-1096</guid>
		<description>&lt;a href=&quot;#comment-1088&quot; rel=&quot;nofollow&quot;&gt;@colo &lt;/a&gt; 
您好，不需要把BDB JE的数据转成xml格式。

事实上，prefuse读取xml文件其实是为了读取其中的数据和数据之间的关系（对于图Graph来说，也就是节点和边）。所以，在可视化的时候，你只要提供这种关系，prefuse便可以进行可视化处理。

更具体一点，比如你用Grpah的形式进行数据可视化。那么首先你利用BDB JE的API读取出之前存储的数据，包括数据本身的值（节点），以及数据之间的关系（节点与节点之间的联系）。你把这些数据提供给prefuse，prefuse可以把它组装成一个Graph，然后进行可视化显示.

如上面的例子，我现在要显示的是员工图。那么首先，我用BDB JE API读取出每个员工的信息（姓名、电话等等），比如有1000个员工，那么我就有1000个Nodes（也就是1000个Employee对象），然后我再提供这些员工的关系（比如以经理来分类，经理和他的属下所代表的节点连一条边），这样你就可以得到许多条Edges（比如100条）。你便可以利用这些Nodes 和 Edges生成一个Graph:

Table nodes = ......(利用读取的1000个Employee对象的信息生成1000个nodes);
Table edges = ......(利用提供的关系生成100条edge);
Graph employeesGraph = new Graph(nodes, edges, yes);

最后，便可以利用prefuse的API来可视化显示生成的Graph.
注意，这里的Table 和 Graph类都是prefuse的类。</description>
		<content:encoded><![CDATA[<p><a href="#comment-1088" rel="nofollow">@colo </a><br />
您好，不需要把BDB JE的数据转成xml格式。</p>
<p>事实上，prefuse读取xml文件其实是为了读取其中的数据和数据之间的关系（对于图Graph来说，也就是节点和边）。所以，在可视化的时候，你只要提供这种关系，prefuse便可以进行可视化处理。</p>
<p>更具体一点，比如你用Grpah的形式进行数据可视化。那么首先你利用BDB JE的API读取出之前存储的数据，包括数据本身的值（节点），以及数据之间的关系（节点与节点之间的联系）。你把这些数据提供给prefuse，prefuse可以把它组装成一个Graph，然后进行可视化显示.</p>
<p>如上面的例子，我现在要显示的是员工图。那么首先，我用BDB JE API读取出每个员工的信息（姓名、电话等等），比如有1000个员工，那么我就有1000个Nodes（也就是1000个Employee对象），然后我再提供这些员工的关系（比如以经理来分类，经理和他的属下所代表的节点连一条边），这样你就可以得到许多条Edges（比如100条）。你便可以利用这些Nodes 和 Edges生成一个Graph:</p>
<p>Table nodes = &#8230;&#8230;(利用读取的1000个Employee对象的信息生成1000个nodes);<br />
Table edges = &#8230;&#8230;(利用提供的关系生成100条edge);<br />
Graph employeesGraph = new Graph(nodes, edges, yes);</p>
<p>最后，便可以利用prefuse的API来可视化显示生成的Graph.<br />
注意，这里的Table 和 Graph类都是prefuse的类。</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：colo</title>
		<link>http://www.bdbchina.com/2010/03/bdb-java-edition-prefuse-%e8%bd%bb%e6%9d%be%e5%ae%9e%e7%8e%b0%e6%95%b0%e6%8d%ae%e5%8f%af%e8%a7%86%e5%8c%96/comment-page-1/#comment-1088</link>
		<dc:creator>colo</dc:creator>
		<pubDate>Wed, 19 May 2010 10:26:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.bdbchina.com/?p=784#comment-1088</guid>
		<description>不好意思又来打扰了
请问你们这个例子中从BDB JE中读出来的数据是什么类型的，是java对象还是字节流
是java对象的话要怎么样提供给prefuse显示，字节流是先转换成xml文件格式再提供给prefuse显示吗
谢谢谢谢了，感激不尽</description>
		<content:encoded><![CDATA[<p>不好意思又来打扰了<br />
请问你们这个例子中从BDB JE中读出来的数据是什么类型的，是java对象还是字节流<br />
是java对象的话要怎么样提供给prefuse显示，字节流是先转换成xml文件格式再提供给prefuse显示吗<br />
谢谢谢谢了，感激不尽</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：chaohuang</title>
		<link>http://www.bdbchina.com/2010/03/bdb-java-edition-prefuse-%e8%bd%bb%e6%9d%be%e5%ae%9e%e7%8e%b0%e6%95%b0%e6%8d%ae%e5%8f%af%e8%a7%86%e5%8c%96/comment-page-1/#comment-1083</link>
		<dc:creator>chaohuang</dc:creator>
		<pubDate>Tue, 18 May 2010 09:36:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.bdbchina.com/?p=784#comment-1083</guid>
		<description>你可以给Eric发邮件： haomian.wang[at]o***le.com</description>
		<content:encoded><![CDATA[<p>你可以给Eric发邮件： haomian.wang[at]o***le.com</p>
]]></content:encoded>
	</item>
</channel>
</rss>
Դ
