<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>lizongbo at 618119.com &#187; java ide</title>
	<atom:link href="http://618119.com/tag/java-ide/feed" rel="self" type="application/rss+xml" />
	<link>http://618119.com</link>
	<description>工作,生活,java,apache,tomcat,Resin,mina,Hessian,Openfire,XMPP,RPC,Ubuntu</description>
	<lastBuildDate>Wed, 14 Apr 2010 13:15:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Jprofiler 5.1.2 配置。</title>
		<link>http://618119.com/archives/2008/03/31/77.html</link>
		<comments>http://618119.com/archives/2008/03/31/77.html#comments</comments>
		<pubDate>Mon, 31 Mar 2008 10:34:45 +0000</pubDate>
		<dc:creator>lizongbo</dc:creator>
				<category><![CDATA[JAVA IDE]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java ide]]></category>
		<category><![CDATA[JProfiler]]></category>

		<guid isPermaLink="false">http://618119.com/archives/2008/03/31/77.html</guid>
		<description><![CDATA[Jprofiler 5.1.2 配置。
1.下载
http://download.ej-technologies.com/jprofiler/jprofiler_windows_5_1_2.exe
http://download.ej-technologies.com/jprofiler/jprofiler_linux_5_1_2.sh
(Eclipse的下载：
http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.3.1.1-200710231652/eclipse-sourceBuild-srcIncluded-3.3.1.1.zip&#38;url=http://download.actuatechina.com/eclipse/eclipse/downloads/drops/R-3.3.1.1-200710231652/eclipse-sourceBuild-srcIncluded-3.3.1.1.zip&#38;mirror_id=385)
来源：
http://www.ej-technologies.com/download/jprofiler/files.php
http://www.ej-technologies.com/download/jprofiler/trial.php
2.安装，
运行jprofiler_windows_5_1_2.exe，安装到d:\Program Files\jprofiler5
安装的过程中可以选择与IDE整合，也可以在安装完成后，运行Jprofiler的时候再整合。
3.整合到Eclipse,
先启动 JProfiler :
开始菜单&#8211;&#62;所有程序&#8211;&#62;JProfiler 5 &#8211;&#62;JProfiler,输入注册码。(注册码是在网上某个博客找到的
参考 ： http://serendipityspaces.spaces.live.com/blog/cns!71616649A887E6A!604.entry )
(执行整合前，先关闭Eclipse)
主菜单&#8211;&#62; Session &#8211;&#62;IDE Intergrations &#8211;&#62;选择Eclipse 3.3，，点“Integrate” ，选择Eclipse所在的文件夹。D:\Java\eclipse.
整合成功。
4.在Eclipse里配置JProfiler.
主菜单&#8211;&#62;Window&#8211;&#62;Customize Perspective &#8211;&#62;Commands &#8211;&#62;找到Profile ,选中它,再点OK即可。
5.填写注册码的时候，第一位必须是大写字母，第二位必须连接号，
第一个井号前的内容如果填错，Jprofiler不会提示出错。
而在启动Session的时候，而Jprofiler弹出的对话框内容为：
The JVM has Terminated unexpectedly.
Please try the following strategies:
*reduce the -Xmx value of the profiled application
*profile in interpreted mode
*change your profiling settings(e.g. from dynamic instrumentation sampling)
害得我试了半天都不行，
后来仔细看Terminal才发现是提示&#8221; Invalid license key&#8221;.
JProfiler&#62; Protocol version 25
JProfiler&#62; Using JVMTI
JProfiler&#62; JVMTI [...]]]></description>
		<wfw:commentRss>http://618119.com/archives/2008/03/31/77.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>使用Eclipse的几点注意事项</title>
		<link>http://618119.com/archives/2008/03/10/75.html</link>
		<comments>http://618119.com/archives/2008/03/10/75.html#comments</comments>
		<pubDate>Mon, 10 Mar 2008 14:57:19 +0000</pubDate>
		<dc:creator>lizongbo</dc:creator>
				<category><![CDATA[JAVA IDE]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java ide]]></category>

		<guid isPermaLink="false">http://618119.com/archives/2008/03/10/75.html</guid>
		<description><![CDATA[1.如果是直接从 cvs中取出工程，然后在源代码中，点击方法名，点右键，Eclipse会提示
&#8221; The resource is not on the build path of a java project&#8221;，相关bug介绍在：
http://dev.eclipse.org/newslists/news.eclipse.newcomer/msg00640.html
我用的Eclipse 3.3.1.1依然存在这个问题，因此，变通的解决方法为，
在Eclipse中，先新建工程，然后在工程中，点右键，选择“Team”&#8211;&#62;&#8221;Update&#8221;，将代码从cvs中取出，
然后配置相关lib，这样，再打开代码，然后就可以跳转到对应方法和类的声明了。
2.配置中文javaDocs显示，
中文javaDocs下载： http://gceclub.sun.com.cn/Java_Docs/jdk6/html_zh_CN.zip
在Eclipse中，Window &#8211;&#62; xx&#8211;&#62;java &#8211;&#62;Installede JREs&#8211;&#62;选中要配置的jre，点&#8221;Edit&#8221;，点&#8221;D:\Java\jdk1.6.0_04\jre\lib\rt.jar&#8221;前面的加号，
先点&#8221;Source attachment&#8221;，然后点“Remove”.(这样在java编辑器提示的帮助信息是中文了，但是无法查看java源代码，两者目前无法兼得)
再点&#8221;Javadoc location&#8221;，点按钮“Javadoc location”，在弹出的窗口里，选中&#8221;javadoc in archive&#8221;,“Archive path”选择，“F:\TDDOWNLOAD\html_zh_CN.zip”,
&#8220;path winth archive&#8221;选择 “html/zh_CN/api”.保存好这些设置， 重启Eclipse
3.指定生成javadoc的编码。
由于java源代码是用的UTF-8编码，Eclipse中默认编码是GB18030，因此，在生成javadoc的时候，需要手工指定一下编码和字符集。
出错信息例如：
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-
正在装入源文件 E:\src\com\lizongbo\Test.java&#8230;
E:\src\com\lizongbo\Test.java:18: 编码 GB18030 的不可映射字符
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-
修改设置为：
主菜单&#8211;&#62;Project&#8211;&#62;Generate javadoc&#8211;&#62;next&#8211;&#62;next&#8211;&#62; 在 &#8220;Extra javadoc options&#8221;下面的文本框中填入 &#8221; -encoding UTF-8 -charset UTF-8 &#8220;.
3.安装 jode decompiler 插件，update的url为：http://www.technoetic.com/eclipse/update
4.安装 findbugs插件，http://nchc.dl.sourceforge.net/sourceforge/findbugs/edu.umd.cs.findbugs.plugin.eclipse_1.3.2.20080222.zip
5.设置文本编辑器的编码，
6.让  java 方法生成javadoc的快捷键为 Alt + Shift [...]]]></description>
		<wfw:commentRss>http://618119.com/archives/2008/03/10/75.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java和Php的多国语言资源文件编辑工具</title>
		<link>http://618119.com/archives/2008/01/31/69.html</link>
		<comments>http://618119.com/archives/2008/01/31/69.html#comments</comments>
		<pubDate>Thu, 31 Jan 2008 02:00:40 +0000</pubDate>
		<dc:creator>lizongbo</dc:creator>
				<category><![CDATA[JAVA IDE]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[java ide]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://618119.com/archives/2008/01/31/69.html</guid>
		<description><![CDATA[java使用properties文件来存放多国语言信息，编辑java的properties文件，
可以用一些java ide自带的插件，也可以使用可独立运行的langproper,
来自： http://sourceforge.net/projects/popeye
langproper可以方便的切换文本的正常内容和编码后的内容，支持同时将多种语言一起显示，方便对照修改。
下载地址为：
http://jaist.dl.sourceforge.net/sourceforge/popeye/langproper-0.54-source.jar
http://nchc.dl.sourceforge.net/sourceforge/popeye/langproper-0.54.jar
php一般用po文件存放多国语言信息，po的源文件是mo文件，
比较好用的编辑工具是poedit,来自： http://www.poedit.net/download.php#win32
参考： http://www.chedong.com/blog/archives/001115.html
下载地址为：
(windows版) http://nchc.dl.sourceforge.net/sourceforge/poedit/poedit-1.3.9-setup.exe

	Tags: java ide, php

	Related posts
	
	给wordpress加上记录Combined格式日志的功能 (0)
	用rawurldecode和iconv解决php的编码问题 (0)
	基于Axis的WebService测试,开发,部署 (0)
	在Apache Tomcat上安装Wordpress 2.3 (0)
	使用Eclipse的几点注意事项 (0)


]]></description>
		<wfw:commentRss>http://618119.com/archives/2008/01/31/69.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xref-Java2Html &#8212; 很好用的java2html工具</title>
		<link>http://618119.com/archives/2007/12/28/55.html</link>
		<comments>http://618119.com/archives/2007/12/28/55.html#comments</comments>
		<pubDate>Fri, 28 Dec 2007 06:16:10 +0000</pubDate>
		<dc:creator>lizongbo</dc:creator>
				<category><![CDATA[JAVA IDE]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[java ide]]></category>
		<category><![CDATA[Java2Html]]></category>

		<guid isPermaLink="false">http://618119.com/archives/2007/12/28/55.html</guid>
		<description><![CDATA[Xref-Java2Html &#8212; 很好用的java2html工具
Xref-Java2Html生成的超链接最多，方便在浏览器中阅读代码，跳转也非常方便。
其它的一些java2hhtml的工具，只能算是语法高亮的html，
缺少class之间关联跳转的链接，使得阅读代码并不方便。
Xref-Java2Html的安装步骤为：
1.运行 java -jar xref-java2html-i86pc-windows.jar,选择安装目录：
比如我选的 d:\java\xref-java2html，安装完成。
2.再到D:\Java\xref-java2html下面运行 java -jar java2html.jar
D:\Java\xref-java2html&#62;java -jar java2html.jar
3.在界面中，添加需要生成html的java源代码的目录，
点“Options” 设置参数：
把Generate  .html files instead of .java.html的钩去掉.
实际最终生成html是xrefw.exe这个程序执行的结果
D:\Java\xref-java2html&#62;xrefw.exe -java2html -stderr -html -nostdop -nocxfile -javafilesonly -mf20 -htmlgxlist -htmllxlist -htmldirectx -refalphahash -htmllinenums -htmlcutsuffix -htmlgenjavadoclinks -htmllinenumlabel=line. -jdkclasspath D:\Java\jdk1.6.0_03\jre\lib\rt.jar -classpath C:\ -javadocpath C:\ -sourcepath D:\  -d &#8220;E:\mywork\minasmpp\java2html&#8221; &#8220;E:\mywork\minasmpp\src&#8221; -htmljavadocpath=http://download.java.net/jdk/jdk-api-localizations/jdk-api-zh-cn/publish/1.6.0/html/zh_CN/api
官方网站只提供了1.4版本的可执行文件。
因此需要自己编译1.6.10的代码。
(我用cygwin编译成功，但是只能在cygwin下运行)
编译步骤如下：
1.安装cygwin. 我安装的是： cygwinenv-2.00.exe
安装到D:\cygwin
2.解压代码到D:\cygwin\xrefactory-1.6.10-src
3.启动cygwin，转到对应目录，执行make
&#8212;&#8212;&#8212;&#8212;&#8212;-
Copying skeleton files.
These files are for the user to [...]]]></description>
		<wfw:commentRss>http://618119.com/archives/2007/12/28/55.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>基于Axis的WebService测试,开发,部署</title>
		<link>http://618119.com/archives/2007/12/28/54.html</link>
		<comments>http://618119.com/archives/2007/12/28/54.html#comments</comments>
		<pubDate>Fri, 28 Dec 2007 01:01:40 +0000</pubDate>
		<dc:creator>lizongbo</dc:creator>
				<category><![CDATA[JAVA IDE]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Axis]]></category>
		<category><![CDATA[java ide]]></category>
		<category><![CDATA[WebService]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://618119.com/archives/2007/12/28/54.html</guid>
		<description><![CDATA[前段时间给同事做了简单的WebService开发培训，效果不太理想。
因此把当时准备的资料备份一下，避免清理硬盘的时候弄没了。
带抓图的word文档在：http://618119.com/docs/WebService/Webservice_axis_dev.doc 
http://618119.com/docs/WebService/soaptest.html
下面是从word里保存出来的文字：
1 WebService 测试
不编写代码的情况下,对webservice进行测试,编写代码进行测试的方法.
1.1 使用xmlspy测试接口
测试webservice接口地址为:
http://www.webservicex.net/globalweather.asmx?WSDL
http://www.ayandy.com/Service.asmx?WSDL
http://www.ayandy.com/Service.asmx/getSupportProvince
http://www.ayandy.com/Service.asmx?op=getSupportCity
在xmlspy中的测试步骤:
1. 启动XmlSpy,主菜单&#8211;&#62;SOAP &#8211;&#62; Create new SOAP request.
2. 选择wsdl文件或者提供wsdl的网址:
3. 选择要测试的方法
4. 填写调用参数
5. 发送请求
6. 查看服务端返回的结果
7. 由于wsdl描述的webservice入口和我们要连接的服务器不一定是同一个地址,因此还可以改变连接参数
8. 因此
参考: http://www.altova.com/products/xmlspy/soap_test_debugger.html
这种方式的优点是：门槛低，只要会填参数就可以测试webservice。
缺点是：xmlspy不是免费的，xmlspy文件超大，携带不方便。无法查看http header.
1.2 用tcpmon测试捕获SOAP数据包
工具来源,下载地址:
http://apache.mirror.phpchina.com/ws/commons/tcpmon/1_0/tcpmon-1.0-bin.zip
优点，文件小巧，不只是测试webserice可以用，测试其它http接口也很方便。
缺点，没法设置contenttype，所以会有乱码。
1.3 用xmlhttp发送SOAP数据包
优点，简单的html可以存放在各地，可以在预先准备好SAOP数据的情况下，将该测试用例发给工程人员在现场进行测试。
缺点，soap数据要靠自己组装。
2 WebService开发
2.1 客户端代码开发
2.1.1 Wsdl2java命令方式
2.1.1.1 预备wsdl2java.bat
wsdl2java.bat的内容为：
%JAVA_HOME%/bin/java.exe -classpath &#8220;./axis-ant.jar;./axis.jar;./commons-discovery-0.2.jar;./commons-logging-1.0.4.jar;./jaxrpc.jar;./log4j-1.2.8.jar;./saaj.jar;./wsdl4j-1.5.1.jar&#8221;  org.apache.axis.wsdl.WSDL2Java  -v -n -O -1 -D -W -t -a -o E:\mywork\wsdl2javatest\src http://www.webservicex.net/globalweather.asmx?WSDL
(没有 –s –S两个选项, -s用来生成服务端代码，使用-s后， -t无效).
-o是原代码输出的地方。
2.1.1.2 在Jbuilder新建空白工程.
2.1.1.3 导入Axis和Junit的lib.
2.1.1.4 运行wsdl2java.bat
2.1.1.5 在Jbuilder中测试代码
2.1.1.6 以Ant方式运行WSDL2Java
wsdl2java.xml的配置为：
&#60;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&#62;
&#60;project xmlns:xsi=&#8221;http://www.w3.org/2001/XMLSchema-instance&#8221;
default=&#8221;buildclient&#8221; xsi:type=&#8221;project&#8221;&#62;
&#60;path id=&#8221;axis.classpath&#8221;&#62;
&#60;fileset dir=&#8221;./&#8221;&#62;
&#60;include [...]]]></description>
		<wfw:commentRss>http://618119.com/archives/2007/12/28/54.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Netbeans IDE 6.0正式发布了</title>
		<link>http://618119.com/archives/2007/12/04/36.html</link>
		<comments>http://618119.com/archives/2007/12/04/36.html#comments</comments>
		<pubDate>Tue, 04 Dec 2007 01:02:19 +0000</pubDate>
		<dc:creator>lizongbo</dc:creator>
				<category><![CDATA[JAVA IDE]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Tomcat]]></category>
		<category><![CDATA[Apache Tomcat]]></category>
		<category><![CDATA[GlassFish v2]]></category>
		<category><![CDATA[java ide]]></category>
		<category><![CDATA[JDK]]></category>
		<category><![CDATA[netbeans]]></category>

		<guid isPermaLink="false">http://618119.com/archives/2007/12/04/36.html</guid>
		<description><![CDATA[ Netbeans IDE 6.0正式发布,安装程序都在:
http://dlc.sun.com.edgesuite.net/netbeans/6.0/final/bundles/
解压版的安装程序在:
http://dlc.sun.com.edgesuite.net/netbeans/6.0/final/zip/
我下载的是javaee版:
http://dlc.sun.com.edgesuite.net/netbeans/6.0/final/bundles/netbeans-6.0-javaee-windows.exe
集成了 GlassFish v2和Apache Tomcat 6.0.14,安装的时候可以选择不安装GlassFish v2和Apache Tomcat 6.0.14,在启动netbeans之后再配置GlassFish v2和Apache Tomcat 6.0.14指向已经安装好的目录,节约一点硬盘空间.
GlassFish v2:
http://download.java.net/javaee5/v2.1/promoted/WINNT/glassfish-installer-v2.1-b10-windows.jar
http://download.java.net/javaee5/v2.1/promoted/source/glassfish-v2.1-b10-src.zip
Apache Tomcat6.0.14:
http://apache.mirror.phpchina.com/tomcat/tomcat-6/v6.0.14/bin/apache-tomcat-6.0.14.zip
http://apache.mirror.phpchina.com/tomcat/tomcat-6/v6.0.14/src/apache-tomcat-6.0.14-src.zip
打包了netbeans 6.0的 JDK1.6.03:
http://sunmicro.vo.llnwd.net/c1/netbeans/6.0/final/bundles/jdk/jdk6-u3-netbeans-6.0-javase-windows.exe
打算 以后将主要使用netbeans进行java开发了.

	Tags: Apache Tomcat, GlassFish v2, java ide, JDK, netbeans

	Related posts
	
	服务器从jdk1.6.0升级到1.6.0_12的过程记录 (0)
	基于Axis的WebService测试,开发,部署 (0)
	在Tomcat 6.0.14中安装配置awstats (0)
	又遇到一个jdk1.6的bug (0)
	使用Eclipse的几点注意事项 (0)


]]></description>
		<wfw:commentRss>http://618119.com/archives/2007/12/04/36.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
