﻿<?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-我的Java笔记-文章分类-java</title><link>http://www.blogjava.net/fanwu2005/category/2975.html</link><description /><language>zh-cn</language><lastBuildDate>Wed, 28 Feb 2007 14:22:33 GMT</lastBuildDate><pubDate>Wed, 28 Feb 2007 14:22:33 GMT</pubDate><ttl>60</ttl><item><title>weblogic 的 ant target -2</title><link>http://www.blogjava.net/fanwu2005/articles/10885.html</link><dc:creator>Smokingcat</dc:creator><author>Smokingcat</author><pubDate>Wed, 24 Aug 2005 03:13:00 GMT</pubDate><guid>http://www.blogjava.net/fanwu2005/articles/10885.html</guid><wfw:comment>http://www.blogjava.net/fanwu2005/comments/10885.html</wfw:comment><comments>http://www.blogjava.net/fanwu2005/articles/10885.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fanwu2005/comments/commentRss/10885.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fanwu2005/services/trackbacks/10885.html</trackback:ping><description><![CDATA[<P>&nbsp;</P>
<P>source2wsdd：和XDoclet的wsee任务类似，根据在程序里面设定的标记来生成web-services.xml。也就是WSDL。</P>
<UL>
<LI>@wlws:webservice,used in the Javadoc for the class that implements your Web Service. 
<LI>@wlws:operation, used in the Javadoc for a method that you want to expose as a Web Service operation. 
<LI>@wlws:part&nbsp; partname, used in the Javadoc for a method that has been exposed as an operation and you want to customize the description of its parameters and return values</LI></UL>
<P>即使你不使用任何标记，source2wsdd任务也会自己分析源代码进行猜测。例如servicename等。</P>
<P>****************************************************************************************</P>
<P>autotype：Generates the serialization class, Java representation, XML Schema representation, and data type mapping information for non-built-in data types used as parameters or return values to a WebLogic Web Service.</P>
<UL>
<LI>weblogic.ant.taskdefs.webservices.autotype.AutoTyper?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<LI>webservices.jar</LI></UL>
<P>****************************************************************************************</P>
<P>clientgen：Generates a client JAR file that contains a thin Java client used to invoke a Web Service.</P>
<UL>
<LI>weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask 
<LI>webservices.jar</LI></UL>
<P>&nbsp;</P>
<P>****************************************************************************************</P>
<P>wsdl2service：Generates the components of a WebLogic Web Service from a WSDL file. The components include the web-services.xml deployment descriptor file and a Java source file that you can use as a starting point to implement the Web Service.</P>
<UL>
<LI>weblogic.ant.taskdefs.webservices.wsdl2service.WSDL2Service 
<LI>webservices.jar</LI></UL>
<P>****************************************************************************************</P>
<P>wsdlgen：Generates a WSDL file from the EAR and WAR files that make up the Web Service.</P>
<UL>
<LI>weblogic.ant.taskdefs.webservices.wldlgen.WSDLGen 
<LI>webservices.jar</LI></UL>
<P>****************************************************************************************</P>
<P>wspackage：Packages the components of a WebLogic Web Service into a deployable EAR file.</P>
<UL>
<LI>weblogic.ant.taskdefs.webservices.wspackage.WSPackage 
<LI>webservices.jar</LI></UL>
<P>****************************************************************************************&nbsp;&nbsp;&nbsp;&nbsp;</P><img src ="http://www.blogjava.net/fanwu2005/aggbug/10885.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fanwu2005/" target="_blank">Smokingcat</a> 2005-08-24 11:13 <a href="http://www.blogjava.net/fanwu2005/articles/10885.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Weblogic的Ant target - 1</title><link>http://www.blogjava.net/fanwu2005/articles/10883.html</link><dc:creator>Smokingcat</dc:creator><author>Smokingcat</author><pubDate>Wed, 24 Aug 2005 03:12:00 GMT</pubDate><guid>http://www.blogjava.net/fanwu2005/articles/10883.html</guid><wfw:comment>http://www.blogjava.net/fanwu2005/comments/10883.html</wfw:comment><comments>http://www.blogjava.net/fanwu2005/articles/10883.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fanwu2005/comments/commentRss/10883.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fanwu2005/services/trackbacks/10883.html</trackback:ping><description><![CDATA[<P>weblogic 的Ant任务。是我在看weblogic时的一个笔记。weblogic的Ant任务 </P>
<P>wlcompile：用它编译会有个问题，就是会在你的destdir下面又生成一个目录。</P>
<P>weblogic.ant.taskdefs.build.WLCompileTask weblogic.jar</P>
<P>
<P>wlpackage：打包</P>
<P>weblogic.ant.taskdefs.build.WLPackageTask weblogic.jar</P>
<P>
<P>wldeploy：发布</P>
<P>weblogic.ant.taskdefs.management.WLDeploy weblogic.jar</P>
<P>
<P>servicegen： 生成webservice描述符</P>
<P>weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask webservices.jar weblogic.jar</P>
<P>
<P>wlserver： start, reboot, shutdown, or connect to a WebLogic Server instance</P>
<P>weblogic.ant.taskdefs.management.WLServer weblogic.jar</P>
<P>
<P>wlconfig： configure a WebLogic Server domain by creating, querying, or modifying configuration MBeans on a running Administration Server instance.</P>
<P>weblogic.ant.taskdefs.management.WLConfig weblogic.jar</P><img src ="http://www.blogjava.net/fanwu2005/aggbug/10883.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fanwu2005/" target="_blank">Smokingcat</a> 2005-08-24 11:12 <a href="http://www.blogjava.net/fanwu2005/articles/10883.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Tomcat 的ant任务</title><link>http://www.blogjava.net/fanwu2005/articles/10881.html</link><dc:creator>Smokingcat</dc:creator><author>Smokingcat</author><pubDate>Wed, 24 Aug 2005 03:11:00 GMT</pubDate><guid>http://www.blogjava.net/fanwu2005/articles/10881.html</guid><wfw:comment>http://www.blogjava.net/fanwu2005/comments/10881.html</wfw:comment><comments>http://www.blogjava.net/fanwu2005/articles/10881.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fanwu2005/comments/commentRss/10881.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fanwu2005/services/trackbacks/10881.html</trackback:ping><description><![CDATA[<P>Tomcat 的Ant任务 </P>
<P>这个方法是我从<A href="http://appfuse.dev.java.net/"><FONT color=#004377>Appfuse</FONT></A>上学来的。</P>
<UL>
<LI>首先声明一个tomcatTasks.properties，用来声明Tomcat的Ant任务：</LI></UL>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;deploy=org.apache.catalina.ant.DeployTask<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; install=org.apache.catalina.ant.InstallTask<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; list=org.apache.catalina.ant.ListTask<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; reload=org.apache.catalina.ant.ReloadTask<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; remove=org.apache.catalina.ant.RemoveTask<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; resources=org.apache.catalina.ant.ResourcesTask<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;roles=org.apache.catalina.ant.RolesTask<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; start=org.apache.catalina.ant.StartTask<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; stop=org.apache.catalina.ant.StopTask<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; undeploy=org.apache.catalina.ant.UndeployTask</P>
<UL>
<LI>定义一个tomcat.properties文件，用来tomcat的参数</LI></UL>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # Properties for Tomcat Server<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tomcat.server=localhost<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tomcat.manager.url=http://${tomcat.server}:8080/manager<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tomcat.username=admin<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tomcat.password=admin</P>
<UL>
<LI>然后是build.xml&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</LI></UL>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;property file="tomcat.properties"/&gt;</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;taskdef file="${ant-contrib.dir}/tomcatTasks.properties"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;classpath&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;pathelement path="${tomcat.home}/server/lib/catalina-ant.jar"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/classpath&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/taskdef&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;target name="install" description="Install application in Tomcat"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; depends="package-web"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;deploy url="${tomcat.manager.url}"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; username="${tomcat.username}"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; password="${tomcat.password}"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; path="/${webapp.name}"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; war="file:${webapp.dist}/${webapp.war}"/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/target&gt;<BR><BR>&nbsp;&nbsp;&nbsp; &lt;target name="remove" description="Remove application in Tomcat"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;undeploy url="${tomcat.manager.url}"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; username="${tomcat.username}"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; password="${tomcat.password}"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; path="/${webapp.name}"/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/target&gt;<BR><BR>&nbsp;&nbsp;&nbsp; &lt;target name="reload" description="Reload application in Tomcat"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;reload url="${tomcat.manager.url}"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; username="${tomcat.username}"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; password="${tomcat.password}"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; path="/${webapp.name}"/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/target&gt;<BR><BR>&nbsp;&nbsp;&nbsp; &lt;target name="start" description="Start Tomcat application"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;start url="${tomcat.manager.url}"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; username="${tomcat.username}"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; password="${tomcat.password}"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; path="/${webapp.name}"/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/target&gt;<BR><BR>&nbsp;&nbsp;&nbsp; &lt;target name="stop" description="Stop Tomcat application"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;stop url="${tomcat.manager.url}"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; username="${tomcat.username}"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; password="${tomcat.password}"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; path="/${webapp.name}"/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/target&gt;<BR><BR>&nbsp;&nbsp;&nbsp; &lt;target name="list" description="List Tomcat applications"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;list url="${tomcat.manager.url}"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; username="${tomcat.username}"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; password="${tomcat.password}"/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/target&gt;<BR></P><img src ="http://www.blogjava.net/fanwu2005/aggbug/10881.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fanwu2005/" target="_blank">Smokingcat</a> 2005-08-24 11:11 <a href="http://www.blogjava.net/fanwu2005/articles/10881.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>正则表达式笔记</title><link>http://www.blogjava.net/fanwu2005/articles/10880.html</link><dc:creator>Smokingcat</dc:creator><author>Smokingcat</author><pubDate>Wed, 24 Aug 2005 03:10:00 GMT</pubDate><guid>http://www.blogjava.net/fanwu2005/articles/10880.html</guid><wfw:comment>http://www.blogjava.net/fanwu2005/comments/10880.html</wfw:comment><comments>http://www.blogjava.net/fanwu2005/articles/10880.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fanwu2005/comments/commentRss/10880.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fanwu2005/services/trackbacks/10880.html</trackback:ping><description><![CDATA[<P>RegularExpress RegularExpress 
<P>import java.util.regex.*;</P>
<P>regex有2个类：Pattern Match</P>
<P>Pattern用来定义正则表达式，Match用来进行判别。</P>
<P>一般来说，你可以这样来用：</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Pattern p = Pattern.<A><FONT color=#004377>compile</FONT></A>("a*b");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;Matcher m = p.<A><FONT color=#004377>matcher</FONT></A>("aaaaab");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;boolean b = m.<A><FONT color=#004377>matches</FONT></A>();</P>
<P>如果你觉得行数太多了，你也可以这样来用：</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; boolean b = Pattern.matches("a*b", "aaaaab");</P>
<P>一般来说，跟Perl相似，不同的部分请看JDK文档部分的Comparison to Perl 5。</P>
<P>嗯……具体的Pattern的定义可以去查JDK文档，这里是较常用的：</P>
<P>哦，对了，你也可以用apache.regexp.*；的实现。嗯，不过既然JDK已经支持了……</P>
<P>还有谁知道Jarkarta 的ORO还能提供什么更引人入胜的文本处理功能，不妨告诉我一声，我现在就懒得去看了。</P>
<P>就这。</P><img src ="http://www.blogjava.net/fanwu2005/aggbug/10880.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fanwu2005/" target="_blank">Smokingcat</a> 2005-08-24 11:10 <a href="http://www.blogjava.net/fanwu2005/articles/10880.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Eclipse 的一些资源链接</title><link>http://www.blogjava.net/fanwu2005/articles/10878.html</link><dc:creator>Smokingcat</dc:creator><author>Smokingcat</author><pubDate>Wed, 24 Aug 2005 03:07:00 GMT</pubDate><guid>http://www.blogjava.net/fanwu2005/articles/10878.html</guid><wfw:comment>http://www.blogjava.net/fanwu2005/comments/10878.html</wfw:comment><comments>http://www.blogjava.net/fanwu2005/articles/10878.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fanwu2005/comments/commentRss/10878.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fanwu2005/services/trackbacks/10878.html</trackback:ping><description><![CDATA[<P>Eclipse 3.0 资料 </P>
<DIV class=posttitle>
<DIV class=postTitle><A id=viewpost.ascx_TitleUrl href="http://blog.csdn.net/cenlop/archive/2004/08/25/83950.aspx"><U><FONT color=#004377></FONT></U></A></DIV><BR><BR></DIV>
<DIV class=postText>
<DIV class=postTitle><A href="http://www.tusc.com.au/tutorial/html/index.html"><FONT color=#000080 size=2><U>http://www.tusc.com.au/tutorial/html/index.html</U></FONT></A><BR>利用Eclipse,LOMBOZ plugins,JBoss开发J2EE教学的文章（En）很精彩</DIV>
<DIV class=postText>
<P><STRONG><FONT size=2>1.? lomboz.301.zip 与emf-sdo-runtime-2.0.0.zip(著名的开发J2ee的插件)</FONT></STRONG></P>
<P>下载网址：<A href="http://forge.objectweb.org/project/showfiles.php?group_id=97"><FONT color=#000080 size=2><U>http://forge.objectweb.org/project/showfiles.php?group_id=97</U></FONT></A>? 　</P>
<P><A href="http://www.objectlearn.com/"><FONT color=#000080 size=2><U>http://www.objectlearn.com/</U></FONT></A> </P>
<P>Lomboz 可以做很多事情，是使用 Eclipse+JBoss 做 J2EE 的首选。 (?是吗？）</P>
<P><FONT size=2><STRONG>2.MyEclipse,最好的J2EE开发框架</STRONG></FONT></P>
<P>下载Myeclipse userId: ylfly? password: *******<BR><A href="http://www.myeclipseide.com/ContentExpress-display-ceid-47.html"><FONT color=#000080 size=2><U>http://www.myeclipseide.com/ContentExpress-display-ceid-47.html</U></FONT></A><BR>MyEclipse的注册码：<BR>for eclispe3.0版的：<BR>IceCraft<BR>VAR7ZL-819-56-54678656108018950<BR>for eclispe2.1版的：<BR>IceCraft<BR>VAR7ZL-719-56-54678657538454123<BR><BR>MyEclipse 4.0<BR>用户名：FALLEN<BR>注册码 : SL6789|838-66|545454|6133571955<BR>（这个要Crack core.jar才行)<BR><BR></P>
<P><STRONG><FONT size=2>3.Log4j或者Apache commons Logger最得力的助手就是 Log4e：</FONT></STRONG> <BR>??? 官方网站：<A href="http://log4e.jayefem.de/"><FONT color=#000080 size=2><U>http://log4e.jayefem.de/</U></FONT></A><BR>??? 下载连接：<A href="http://log4e.jayefem.de/download/de.jayefem.log4e_0.5.5.zip"><FONT color=#000080 size=2><U>http://log4e.jayefem.de/download/de.jayefem.log4e_0.5.5.zip</U></FONT></A></P>
<P><STRONG><FONT size=2>4. Easy Struts支持Struts的插件 (0.64版只支持Eclipse2.X)</FONT></STRONG><BR>是开放源代码组织sourceforge.net上的一个项目，目前最新的版本是0.64， </P>
<P><A href="http://sourceforge.net/project/showfiles.php"><FONT color=#000080 size=2><U>http://sourceforge.net/project/showfiles.php</U></FONT></A>？group_id=54542&amp;package_id=49230 </P>
<P><A href="http://easystruts.sourceforge.net/"><FONT color=#000080 size=2><U>http://easystruts.sourceforge.net/</U></FONT></A> </P>
<P><FONT size=4><STRONG><FONT size=2>5. TomcatPlugin 支持Tomcat插件</FONT> <BR></STRONG></FONT><A href="http://www.sysdeo.com/eclipse/tomcatPlugin.html"><FONT color=#000080 size=2><U>http://www.sysdeo.com/eclipse/tomcatPlugin.html</U></FONT></A> </P>
<P><BR><FONT size=2><STRONG>6.Hibernate Synchronizer</STRONG><BR></FONT><FONT size=1>Hibernate Synchronizer is a free Eclipse plugin code generation tool to be used with the Hibernate persistence framework. The plugin will automatically generate java code when your hibernate mapping files are modified. Objects are created with generated code in an abstract base class and a user-modifiable extension class so user code does not get deleted when the generation is performed. <BR></FONT><A href="http://www.binamics.com/hibernatesync/"><FONT color=#000080 size=1><U>http://www.binamics.com/hibernatesync/</U></FONT></A><BR><A href="https://sourceforge.net/project/showfiles.php?group_id=99370"><FONT color=#000080 size=1><U>https://sourceforge.net/project/showfiles.php?group_id=99370</U></FONT></A><BR><FONT size=1>HibernateSynchronizer-2.1.25-Eclipse3M6.zip?? 只支持到M7</FONT></P>
<P><STRONG><FONT size=2>7. SWT Designer 使GUI更cool，更in，更happy!</FONT></STRONG><BR><A href="http://www.swt-designer.com/"><FONT color=#000080 size=2><U>http://www.swt-designer.com/</U></FONT></A>?? 14天</P>
<P><FONT size=2><STRONG>8. XML Editor &amp; XSLT Debugger 编辑XML的插件</STRONG> <BR></FONT><A href="http://www.oxygenxml.com/"><FONT color=#000080 size=2><U>http://www.oxygenxml.com/</U></FONT></A> </P>
<P><FONT size=2><STRONG>8.1支持Eclipse 3.0 的XML插件</STRONG><BR></FONT><A href="http://www.xmlbuddy.com/"><FONT color=#000080 size=2><U>http://www.xmlbuddy.com/</U></FONT></A></P>
<P><FONT size=2><STRONG>8.2XML Viewer <BR></STRONG><FONT size=1>Version: 1.1.7<BR></FONT><A href="http://tabaquismo.freehosting.net/ignacio/eclipse/xmlview/index.html"><FONT color=#000080 size=1><U>http://tabaquismo.freehosting.net/ignacio/eclipse/xmlview/index.html</U></FONT></A></FONT></P>
<P><FONT size=4><FONT size=2><BR><STRONG>9.UML Tool for Eclipse <BR></STRONG><A href="http://www.visual-paradigm.com/download.php?shortName=sdeec"><FONT color=#000080 size=1><U>http://www.visual-paradigm.com/download.php?shortName=sdeec</U></FONT></A></FONT></FONT></P>
<P><FONT size=4><STRONG><FONT size=2>9.1 UML插件 Omondo的(支持eclipse 3.0 的studio 1.0 只试用20天)</FONT> <BR></STRONG></FONT><A href="http://www.omondo.com/"><FONT color=#000080 size=2><U>http://www.omondo.com/</U></FONT></A> <BR>useId :ylfly password:*******</P>
<P><FONT size=2><STRONG>9.2EclipseUML2? is Eclipse tools</STRONG></FONT></P>
<P><A href="http://www.eclipse.org/uml2/"><FONT color=#000080 size=2><U>http://www.eclipse.org/uml2/</U></FONT></A></P>
<P><FONT size=4><STRONG><FONT size=2>10.Eclipse加速插件KeepResident</FONT> </STRONG></FONT></P>
<P><A href="http://suif.stanford.edu/pub/keepresident/"><FONT color=#000080 size=1><U>http://suif.stanford.edu/pub/keepresident/</U></FONT></A></P>
<P>原理:利用两个 Windows API - SetProcessWorkingSetSize 与 VirtualLock (适用于 Windows 平台)。</P>
<P>切换时果然快很多。</P>
<P>官方建议最小值设定在 100 MB，最大值 250 MB 左右。</P>
<P><FONT size=2><STRONG>11.RMI Plugin for Eclipse 1.6.0 for Eclipse 3.0</STRONG><BR></FONT><A href="http://www.genady.net/rmi"><STRONG><FONT color=#000080 size=2><U>http://www.genady.net/rmi</U></FONT></STRONG></A><STRONG><FONT size=2> <BR></FONT></STRONG></P>
<P><STRONG><FONT size=2>12其它插件</FONT></STRONG></P>
<P>perl插件 <A href="http://e-p-i-c.sf.net/updates"><FONT color=#000080 size=2><U>http://e-p-i-c.sf.net/updates</U></FONT></A><BR>C#插件? <A href="http://www.improve-technologies.com/alpha/updates/site.xml"><FONT color=#000080 size=2><U>http://www.improve-technologies.com/alpha/updates/site.xml</U></FONT></A><BR>C插件??? <A href="http://update.eclipse.org/tools/cdt/releases/new"><FONT color=#000080 size=2><U>http://update.eclipse.org/tools/cdt/releases/new</U></FONT></A><BR>Hex插件 <A href="http://ehep.sourceforge.net/update"><FONT color=#000080 size=2><U>http://ehep.sourceforge.net/update</U></FONT></A></P>
<P><STRONG><FONT size=2>13.Eclipse插件使用links目录的用法：<BR></FONT></STRONG>　假设把插件安装在d:myplugin目录中，则myplugin的目录结构一定要是这样的：<BR>　　d:myplugineclipseplugins插件 及 d:myplugineclipsefeatures插件<BR>　　例如安装EclipseME插件到d:myplugin目录中，则目录结构</P>
<P>d:myplugineclipsepluginseclipseme_0.4.5。<BR>　　再假设eclipse安装在d:eclipse目录中，则在eclipse目录中创建名称为links的目录，在links目</P>
<P>录中建立一个link文件，比如myplugin.link，该文件内容为path=d:myplugin。<BR>　　启动eclipse，插件即安装上了，如果想暂时不启动插件，只需把myplugin.link文件删除即可。<BR>补充说明：<BR>　1. 插件可以分别安装在多个自定义的目录中。<BR>　2. 一个自定义目录可以安装多个插件。<BR>　3. link文件的文件名及扩展名可以取任意名称，比如myplugin.txt，goodplugin都可以。<BR>　4. link文件可以有多行path=插件目录，对应多个自定义插件目录，每一行的path参数都将生效。<BR>　5. 在links目录也可以有多个link文件，每个link文件中的path参数都将生效。<BR>　6. 插件目录可以使用相对路径，如果我们把myplugin目录创建在eclipse安装目录中，如上例中的</P>
<P>d:eclipse目录中，则只需设置path=myplugin即可。</P>
<P><STRONG><FONT size=2>14.Eclipse tools</FONT></STRONG></P>
<P>1).ALL SDK bundle (includes Source, Runtime and Docs for EMF, XSD, and SDO). <BR>?<BR>2).The Graphical Editing Framework (GEF) allows developers to take an existing application </P>
<P>model and quickly create a rich graphical editor.</P>
<P>3).UML2 is an EMF-based implementation of the UML 2.0 metamodel for the Eclipse platform.</P>
<P><A href="http://www.eclipse.org/emf/"><FONT color=#000080 size=2><U>http://www.eclipse.org/emf/</U></FONT></A><BR><A href="http://www.eclipse.org/gef/"><FONT color=#000080 size=2><U>http://www.eclipse.org/gef/</U></FONT></A><BR><A href="http://www.eclipse.org/uml2/"><FONT color=#000080 size=2><U>http://www.eclipse.org/uml2/</U></FONT></A></P>
<P><STRONG><FONT size=2>15.plug-in网址：</FONT></STRONG></P>
<P><A href="http://www.eclipse-plugins.info/eclipse/index.jsp"><FONT color=#000080 size=2><U>http://www.eclipse-plugins.info/eclipse/index.jsp</U></FONT></A></P>
<P><A href="http://www.eclipse-workbench.com/jsp/"><FONT color=#000080 size=2><U>http://www.eclipse-workbench.com/jsp/</U></FONT></A> </P>
<P><A href="http://eclipse-plugins.2y.net/eclipse/index.jsp"><FONT color=#000080 size=2><U>http://eclipse-plugins.2y.net/eclipse/index.jsp</U></FONT></A> （非常非常著名的插件更新网站） </P>
<P><A href="http://www.crionics.com/products/opensource/eclipse/eclipse.jsp"><FONT color=#000080 size=2><U>http://www.crionics.com/products/opensource/eclipse/eclipse.jsp</U></FONT></A> （分类清楚） </P>
<P><A href="http://www.eclipseplugincentral.com/"><FONT color=#000080 size=2><U>http://www.eclipseplugincentral.com/</U></FONT></A></P>
<P><STRONG><FONT size=2>16.调试JSP时,在tomcat里改confserver.xml</FONT></STRONG><BR>&lt; P&gt; 
<P>&lt; P&gt; 
<P>??????? docbase="C:eclipseworkspaceMyJ2EEProjectmyweb"</P>
<P>????????? workDir="C:eclipseworkspaceMyJ2EEProjectj2src" /&gt;</P>
<P><BR>docBase="D:workspacemyJSP est"<BR>path="/test" reloadable="true" workDir="D:workspacemyJSPj2src"/&gt;</P>
<P></P>
<P><STRONG>j2src不要改动</STRONG></P>
<P><STRONG><FONT size=2>17.CVS---并发版本系统(中文手册)v1.12.9</FONT></STRONG><BR><A href="http://cvsdoc-zh.gro.clinux.org/cvsdoc/zh_CN/html/index.html"><FONT color=#000080 size=2><U>http://cvsdoc-zh.gro.clinux.org/cvsdoc/zh_CN/html/index.html</U></FONT></A><BR><A href="http://cvsdoc-zh.gro.clinux.org/"><FONT color=#000080 size=2><U>http://cvsdoc-zh.gro.clinux.org</U></FONT></A><BR>另一个CVS手册：<BR><A href="http://www.chedong.com/tech/cvs_card.html"><FONT color=#000080 size=2><U>http://www.chedong.com/tech/cvs_card.html</U></FONT></A></P>
<P><STRONG><FONT size=2>18.Preferences无法显示新安装的插件的解决办法</FONT></STRONG></P>
<P><FONT size=1>删除C:eclipseconfigurationorg.eclipse.update下的platform.xml文件，重新启动Eclipse</FONT></P>
<P><BR><STRONG><FONT size=2>19.评价</FONT></STRONG></P>
<P>当前世界上最新最实用的IDE环境Eclipse。加上分析设计工具eclipseUML、MVC构架的Struts、</P>
<P>对象数据绑定构架OJB，Web系统的自动单元测试工具JUnit和HttpUnit，还有最普及的数据库MySQL，最</P>
<P>流行的版本管理服务器CVS，和支持Java/JSP/servlet的最佳Web引擎tomcat ,jboss。</P>
<P><STRONG><FONT size=2>20.Eclipse的许可证是怎样的？</FONT></STRONG><BR>现在Eclipse相关的许可证是大多数基于Common Public License (CPL)，CPL是一个为Open Source </P>
<P>Initiative (OSI)所认可的许可证。由于Eclipse Foundation的建立，Eclipse的许可证将逐渐趋向于使</P>
<P>用Eclipse Public License (EPL)，EPL是一个与CPL相类似的许可证，正在进行OSI的认证工作。此外，</P>
<P>Eclipse还涉及到多个开源项目和各类许可证，主要有 Apache Software License、IBM Public License</P>
<P>、Metro Link Public License和Mozilla Public License。个人无需太关心许可证的问题，企业在使用</P>
<P>Eclipse进行开发之前，最好请法律界人士研究一下。</P>
<P>各许可证的网址是：</P>
<P><A href="http://www.eclipse.org/legal/cpl-v10.html"><FONT color=#000080 size=2><U>http://www.eclipse.org/legal/cpl-v10.html</U></FONT></A>、</P>
<P><A href="http://www.eclipse.org/legal/epl-v10.html"><FONT color=#000080 size=2><U>http://www.eclipse.org/legal/epl-v10.html</U></FONT></A>、</P>
<P><A href="http://www.apache.org/licenses/LICENSE"><FONT color=#000080 size=2><U>http://www.apache.org/licenses/LICENSE</U></FONT></A>、</P>
<P><A href="http://oss.software.ibm.com/developerworks/opensource/license10.html"><FONT color=#000080 size=2><U>http://oss.software.ibm.com/developerworks/opensource/license10.html</U></FONT></A>、</P>
<P><A href="http://www.opengroup.org/openmotif/supporters/metrolink/license.html"><FONT color=#000080 size=2><U>http://www.opengroup.org/openmotif/supporters/metrolink/license.html</U></FONT></A>、</P>
<P><A href="http://www.mozilla.org/MPL/MPL-1.1.html"><FONT color=#000080 size=2><U>http://www.mozilla.org/MPL/MPL-1.1.</U></FONT></A></P></DIV></DIV><img src ="http://www.blogjava.net/fanwu2005/aggbug/10878.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fanwu2005/" target="_blank">Smokingcat</a> 2005-08-24 11:07 <a href="http://www.blogjava.net/fanwu2005/articles/10878.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>zz 学习J2ME编程需要掌握的七种技术</title><link>http://www.blogjava.net/fanwu2005/articles/10872.html</link><dc:creator>Smokingcat</dc:creator><author>Smokingcat</author><pubDate>Wed, 24 Aug 2005 03:02:00 GMT</pubDate><guid>http://www.blogjava.net/fanwu2005/articles/10872.html</guid><wfw:comment>http://www.blogjava.net/fanwu2005/comments/10872.html</wfw:comment><comments>http://www.blogjava.net/fanwu2005/articles/10872.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fanwu2005/comments/commentRss/10872.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fanwu2005/services/trackbacks/10872.html</trackback:ping><description><![CDATA[<P>&nbsp;</P><A id=viewpost.ascx_TitleUrl href="http://blog.csdn.net/kaukiyou/archive/2005/01/04/j2me.aspx"><FONT color=#004377>学习J2ME编程需要掌握的七种技术（转载加自测）</FONT></A> 
<P class=MsoNormal>学习J2ME编程需要掌握的七种技术</P>
<P class=MsoNormal>&nbsp;</P>
<P class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; J2ME编程是Java在智能家电领域的应用，主要包含以下技术：</P>
<P class=MsoNormal style="TEXT-INDENT: -18pt; tab-stops: list 18.0pt">1、&nbsp; 高级用户界面</P>
<P class=MsoNormal>高级用户界面是指J2ME编程中用到的Form(窗体)、TextBox(文本框)、List(列表框)和Alert(提示信息框)等的使用，以及其中的一些控件的使用，当然也包括相应的事件处理。应用在一般的如登陆窗体、关于窗体和提示等。（这个不是很难，应该可以容易掌握）</P>
<P class=MsoNormal style="TEXT-INDENT: -18pt; tab-stops: list 18.0pt">2、&nbsp; 低级用户界面</P>
<P class=MsoNormal>低级用户界面指Canvas类和Graphics类等的使用，以及相应的事件处理，应用与游戏编程以及特殊界面的绘制等。（曾经做过一款游戏，都有所接触）</P>
<P class=MsoNormal style="TEXT-INDENT: -18pt; tab-stops: list 18.0pt">3、&nbsp; 记录存储系统</P>
<P class=MsoNormal>记录存储系统是手机中支持的用于数据永久保存的技术。因为手机中没有数据文件的概念，所以一般需要保存的数据只能以记录的形式保存。（游戏中排名的保存和更新）</P>
<P class=MsoNormal style="TEXT-INDENT: -18pt; tab-stops: list 18.0pt">4、&nbsp; 声音处理系统</P>
<P class=MsoNormal>MIDP1.0不支持声音处理，但是很多手机厂商如Nokia、Siemens等都支持，所以播放声音也是一项需要掌握的技术。该技术使用的API多和手机厂商相关。但是MIDP2.0就提供了通用的支持。（可以导入声音文件，也可以用byte数组来产生声音）</P>
<P class=MsoNormal style="TEXT-INDENT: -18pt; tab-stops: list 18.0pt">5、&nbsp; 网络编程</P>
<P class=MsoNormal>网络编程指在手机中通过GPRS或者CDMA网络以HTTP协议或者SOCKET的形式连接网络。现在的手机支持HTTP网络编程的占大多数，支持SOCKET的相对很少。所以网络编程暂时也就是使用HTTP协议进行编程。（这个好像是重点哦）</P>
<P class=MsoNormal style="TEXT-INDENT: -18pt; tab-stops: list 18.0pt">6、&nbsp; 多线程</P>
<P class=MsoNormal>多线程是J2ME应用中比较核心的技术之一，因为进行网络编程和低级用户界面编程是为了响应迅速，都需要处理成多线程。所以也必须熟练掌握。（接触不多）</P>
<P class=MsoNormal style="TEXT-INDENT: -18pt; tab-stops: list 18.0pt">7、&nbsp; 短信息编程</P>
<P class=MsoNormal>很多手机都提供了用于发送短信息的API，如NOKIA、SIEMENS、SAMSUNG等，所以在J2ME中发送短信息也是一个比较常用的技术。（SMS也不难）</P>
<P class=MsoNormal style="TEXT-INDENT: -18pt; tab-stops: list 18.0pt">8、&nbsp; 其他</P>
<P class=MsoNormal>当然根据厂商的不同还提供了其他的一些技术，如Siemens的API中支持文件，Nokia的API支持读取系统通讯录等等。（哈哈，绝我所知，Nokia的手机充电时不能震动）</P><img src ="http://www.blogjava.net/fanwu2005/aggbug/10872.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fanwu2005/" target="_blank">Smokingcat</a> 2005-08-24 11:02 <a href="http://www.blogjava.net/fanwu2005/articles/10872.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>