??xml version="1.0" encoding="utf-8" standalone="yes"?>
source2wsddQ和XDoclet的wseedcMQ根据在E序里面讑֮的标记来生成web-services.xml。也是WSDL?/P>
即你不使用M标记Qsource2wsddd也会自己分析源代码进行猜。例如servicename{?/P>
****************************************************************************************
autotypeQGenerates 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.
****************************************************************************************
clientgenQGenerates a client JAR file that contains a thin Java client used to invoke a Web Service.
****************************************************************************************
wsdl2serviceQGenerates 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.
****************************************************************************************
wsdlgenQGenerates a WSDL file from the EAR and WAR files that make up the Web Service.
****************************************************************************************
wspackageQPackages the components of a WebLogic Web Service into a deployable EAR file.
****************************************************************************************
wlcompileQ用它编译会有个问题Q就是会在你的destdir下面又生成一个目录?/P>
weblogic.ant.taskdefs.build.WLCompileTask weblogic.jar
wlpackageQ打?/P>
weblogic.ant.taskdefs.build.WLPackageTask weblogic.jar
wldeployQ发?/P>
weblogic.ant.taskdefs.management.WLDeploy weblogic.jar
servicegenQ?生成webservice描述W?/P>
weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask webservices.jar weblogic.jar
wlserverQ?start, reboot, shutdown, or connect to a WebLogic Server instance
weblogic.ant.taskdefs.management.WLServer weblogic.jar
wlconfigQ?configure a WebLogic Server domain by creating, querying, or modifying configuration MBeans on a running Administration Server instance.
weblogic.ant.taskdefs.management.WLConfig weblogic.jar
q个Ҏ是我?A >Appfuse上学来的?/P>
deploy=org.apache.catalina.ant.DeployTask
install=org.apache.catalina.ant.InstallTask
list=org.apache.catalina.ant.ListTask
reload=org.apache.catalina.ant.ReloadTask
remove=org.apache.catalina.ant.RemoveTask
resources=org.apache.catalina.ant.ResourcesTask
roles=org.apache.catalina.ant.RolesTask
start=org.apache.catalina.ant.StartTask
stop=org.apache.catalina.ant.StopTask
undeploy=org.apache.catalina.ant.UndeployTask
# Properties for Tomcat Server
tomcat.server=localhost
tomcat.manager.url=http://${tomcat.server}:8080/manager
tomcat.username=admin
tomcat.password=admin
<property file="tomcat.properties"/>
<taskdef file="${ant-contrib.dir}/tomcatTasks.properties">
<classpath>
<pathelement path="${tomcat.home}/server/lib/catalina-ant.jar"/>
</classpath>
</taskdef>
<target name="install" description="Install application in Tomcat"
depends="package-web">
<deploy url="${tomcat.manager.url}"
username="${tomcat.username}"
password="${tomcat.password}"
path="/${webapp.name}"
war="file:${webapp.dist}/${webapp.war}"/>
</target>
<target name="remove" description="Remove application in Tomcat">
<undeploy url="${tomcat.manager.url}"
username="${tomcat.username}"
password="${tomcat.password}"
path="/${webapp.name}"/>
</target>
<target name="reload" description="Reload application in Tomcat">
<reload url="${tomcat.manager.url}"
username="${tomcat.username}"
password="${tomcat.password}"
path="/${webapp.name}"/>
</target>
<target name="start" description="Start Tomcat application">
<start url="${tomcat.manager.url}"
username="${tomcat.username}"
password="${tomcat.password}"
path="/${webapp.name}"/>
</target>
<target name="stop" description="Stop Tomcat application">
<stop url="${tomcat.manager.url}"
username="${tomcat.username}"
password="${tomcat.password}"
path="/${webapp.name}"/>
</target>
<target name="list" description="List Tomcat applications">
<list url="${tomcat.manager.url}"
username="${tomcat.username}"
password="${tomcat.password}"/>
</target>
import java.util.regex.*;
regex?个类QPattern Match
Pattern用来定义正则表达式,Match用来q行判别?/P>
一般来_你可以这h用:
Pattern p = Pattern.compile("a*b");
Matcher m = p.matcher("aaaaab");
boolean b = m.matches();
如果你觉得行数太多了Q你也可以这h用:
boolean b = Pattern.matches("a*b", "aaaaab");
一般来_跟Perl怼Q不同的部分LJDK文档部分的Comparison to Perl 5?/P>
嗯……具体的Pattern的定义可以去查JDK文档Q这里是较常用的Q?/P>
哦,对了Q你也可以用apache.regexp.*Q的实现。嗯Q不q既然JDK已经支持了…?/P>
q有谁知道Jarkarta 的OROq能提供什么更引h入胜的文本处理功能,不妨告诉我一壎ͼ我现在就懒得ȝ了?/P>
p?/P>
1.? lomboz.301.zip 与emf-sdo-runtime-2.0.0.zip(著名的开发J2ee的插?
下蝲|址Q?A >http://forge.objectweb.org/project/showfiles.php?group_id=97?
Lomboz 可以做很多事情,是?Eclipse+JBoss ?J2EE 的首选?(?是吗Q)
2.MyEclipse,最好的J2EE开发框?/STRONG>
下蝲Myeclipse userId: ylfly? password: *******
http://www.myeclipseide.com/ContentExpress-display-ceid-47.html
MyEclipse的注册码Q?BR>for eclispe3.0版的Q?BR>IceCraft
VAR7ZL-819-56-54678656108018950
for eclispe2.1版的Q?BR>IceCraft
VAR7ZL-719-56-54678657538454123
MyEclipse 4.0
用户名:FALLEN
注册?: SL6789|838-66|545454|6133571955
Q这个要Crack core.jar才行)
3.Log4j或者Apache commons Logger最得力的助手就?Log4eQ?/FONT>
??? 官方|站Q?A >http://log4e.jayefem.de/
??? 下蝲q接Q?A >http://log4e.jayefem.de/download/de.jayefem.log4e_0.5.5.zip
4. Easy Struts支持Struts的插?(0.64版只支持Eclipse2.X)
是开放源代码l织sourceforge.net上的一个项目,目前最新的版本?.64Q?
http://sourceforge.net/project/showfiles.phpQgroup_id=54542&package_id=49230
http://easystruts.sourceforge.net/
5. TomcatPlugin 支持Tomcat插g
http://www.sysdeo.com/eclipse/tomcatPlugin.html
6.Hibernate Synchronizer
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.
http://www.binamics.com/hibernatesync/
https://sourceforge.net/project/showfiles.php?group_id=99370
HibernateSynchronizer-2.1.25-Eclipse3M6.zip?? 只支持到M7
7. SWT Designer 使GUI更coolQ更inQ更happy!
http://www.swt-designer.com/?? 14?/P>
8. XML Editor & XSLT Debugger ~辑XML的插?/STRONG>
http://www.oxygenxml.com/
8.1支持Eclipse 3.0 的XML插g
http://www.xmlbuddy.com/
8.2XML Viewer
Version: 1.1.7
http://tabaquismo.freehosting.net/ignacio/eclipse/xmlview/index.html
9.UML Tool for Eclipse
http://www.visual-paradigm.com/download.php?shortName=sdeec
9.1 UML插g Omondo?支持eclipse 3.0 的studio 1.0 只试?0?
http://www.omondo.com/
useId :ylfly password:*******
9.2EclipseUML2? is Eclipse tools
10.Eclipse加速插件KeepResident
http://suif.stanford.edu/pub/keepresident/
原理:利用两个 Windows API - SetProcessWorkingSetSize ?VirtualLock (适用?Windows q_)?/P>
切换时果然快很多?/P>
官方最D定在 100 MBQ最大?250 MB 左右?/P>
11.RMI Plugin for Eclipse 1.6.0 for Eclipse 3.0
http://www.genady.net/rmi
12其它插g
perl插g http://e-p-i-c.sf.net/updates
C#插g? http://www.improve-technologies.com/alpha/updates/site.xml
C插g??? http://update.eclipse.org/tools/cdt/releases/new
Hex插g http://ehep.sourceforge.net/update
13.Eclipse插g使用links目录的用法:
假设把插件安装在d:myplugin目录中,则myplugin的目录结构一定要是这LQ?BR> d:myplugineclipseplugins插g ?d:myplugineclipsefeatures插g
例如安装EclipseME插g到d:myplugin目录中,则目录结?/P>
d:myplugineclipsepluginseclipseme_0.4.5?BR> 再假设eclipse安装在d:eclipse目录中,则在eclipse目录中创建名UCؓlinks的目录,在links?/P>
录中建立一个link文gQ比如myplugin.linkQ该文g内容为path=d:myplugin?BR> 启动eclipseQ插件即安装上了Q如果想暂时不启动插Ӟ只需把myplugin.link文g删除卛_?BR>补充说明Q?BR> 1. 插g可以分别安装在多个自定义的目录中?BR> 2. 一个自定义目录可以安装多个插g?BR> 3. link文g的文件名及扩展名可以取Q意名Uͼ比如myplugin.txtQgoodplugin都可以?BR> 4. link文g可以有多行path=插g目录Q对应多个自定义插g目录Q每一行的path参数都将生效?BR> 5. 在links目录也可以有多个link文gQ每个link文g中的path参数都将生效?BR> 6. 插g目录可以使用相对路径Q如果我们把myplugin目录创徏在eclipse安装目录中,如上例中?/P>
d:eclipse目录中,则只需讄path=myplugin卛_?/P>
14.Eclipse tools
1).ALL SDK bundle (includes Source, Runtime and Docs for EMF, XSD, and SDO).
?
2).The Graphical Editing Framework (GEF) allows developers to take an existing application
model and quickly create a rich graphical editor.
3).UML2 is an EMF-based implementation of the UML 2.0 metamodel for the Eclipse platform.
http://www.eclipse.org/emf/
http://www.eclipse.org/gef/
http://www.eclipse.org/uml2/
15.plug-in|址Q?/FONT>
http://www.eclipse-plugins.info/eclipse/index.jsp
http://www.eclipse-workbench.com/jsp/
http://eclipse-plugins.2y.net/eclipse/index.jsp Q非帔R常著名的插g更新|站Q?
http://www.crionics.com/products/opensource/eclipse/eclipse.jsp Q分cL楚)
http://www.eclipseplugincentral.com/
16.调试JSP?在tomcat里改confserver.xml
< P>
< P>
??????? docbase="C:eclipseworkspaceMyJ2EEProjectmyweb"
????????? workDir="C:eclipseworkspaceMyJ2EEProjectj2src" />
docBase="D:workspacemyJSP est"
path="/test" reloadable="true" workDir="D:workspacemyJSPj2src"/>
j2src不要改动
17.CVS---q发版本pȝ(中文手册)v1.12.9
http://cvsdoc-zh.gro.clinux.org/cvsdoc/zh_CN/html/index.html
http://cvsdoc-zh.gro.clinux.org
另一个CVS手册Q?BR>http://www.chedong.com/tech/cvs_card.html
18.Preferences无法昄新安装的插g的解军_?/FONT>
删除C:eclipseconfigurationorg.eclipse.update下的platform.xml文gQ重新启动Eclipse
19.评h
当前世界上最新最实用的IDE环境Eclipse。加上分析设计工具eclipseUML、MVC构架的Struts?/P>
对象数据l定构架OJBQWebpȝ的自动单元测试工具JUnit和HttpUnitQ还有最普及的数据库MySQLQ最
行的版本管理服务器CVSQ和支持Java/JSP/servlet的最佳Web引擎tomcat ,jboss?/P>
20.Eclipse的许可证是怎样的?
现在Eclipse相关的许可证是大多数ZCommon Public License (CPL)QCPL是一个ؓOpen Source
Initiative (OSI)所认可的许可证。由于Eclipse Foundation的徏立,Eclipse的许可证逐渐向于
用Eclipse Public License (EPL)QEPL是一个与CPL相类似的许可证,正在q行OSI的认证工作。此外,
Eclipseq涉及到多个开源项目和各类许可证,主要?Apache Software License、IBM Public License
、Metro Link Public License和Mozilla Public License。个人无需太关心许可证的问题,企业在?/P>
Eclipseq行开发之前,最好请法律界h士研I一下?/P>
各许可证的网址是:
http://www.eclipse.org/legal/cpl-v10.html?/P>
http://www.eclipse.org/legal/epl-v10.html?/P>
http://www.apache.org/licenses/LICENSE?/P>
http://oss.software.ibm.com/developerworks/opensource/license10.html?/P>
http://www.opengroup.org/openmotif/supporters/metrolink/license.html?/P>
学习J2ME~程需要掌握的七种技?/P>
J2ME~程是Java在智能家电领域的应用Q主要包含以下技术:
1?nbsp; 高用户界面
高用户界面是指J2ME~程中用到的Form(H体)、TextBox(文本?、List(列表?和Alert(提示信息?{的使用Q以及其中的一些控件的使用Q当然也包括相应的事件处理。应用在一般的如登陆窗体、关于窗体和提示{。(q个不是很难Q应该可以容易掌握)
2?nbsp; 低用户界面
低用户界面指CanvascdGraphicscȝ的用,以及相应的事件处理,应用与游戏编E以及特D界面的l制{。(曄做过一ƾ游戏,都有所接触Q?/P>
3?nbsp; 记录存储pȝ
记录存储pȝ是手Z支持的用于数据永久保存的技术。因为手Z没有数据文g的概念,所以一般需要保存的数据只能以记录的形式保存。(游戏中排名的保存和更斎ͼ
4?nbsp; 声音处理pȝ
MIDP1.0不支持声韛_理,但是很多手机厂商如Nokia、Siemens{都支持Q所以播攑֣音也是一w要掌握的技术。该技术用的API多和手机厂商相关。但是MIDP2.0提供了通用的支持。(可以导入声音文gQ也可以用byte数组来生声韻I
5?nbsp; |络~程
|络~程指在手机中通过GPRS或者CDMA|络以HTTP协议或者SOCKET的Ş式连接网l。现在的手机支持HTTP|络~程的占大多敎ͼ支持SOCKET的相对很。所以网l编E暂时也是使用HTTP协议q行~程。(q个好像是重点哦Q?/P>
6?nbsp; 多线E?/P>
多线E是J2ME应用中比较核心的技术之一Q因行网l编E和低用户界面~程是ؓ了响应迅速,都需要处理成多线E。所以也必须熟练掌握。(接触不多Q?/P>
7?nbsp; 短信息编E?/P>
很多手机都提供了用于发送短信息的APIQ如NOKIA、SIEMENS、SAMSUNG{,所以在J2ME中发送短信息也是一个比较常用的技术。(SMS也不难)
8?nbsp; 其他
当然Ҏ厂商的不同还提供了其他的一些技术,如Siemens的API中支持文ӞNokia的API支持dpȝ通讯录等{。(哈哈Q绝我所知,Nokia的手机充甉|不能震动Q?/P>