`

ECLISPE WTP集成JAVAREBEL

阅读更多

<!-- [if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--><!-- [if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:PunctuationKerning/> <w:DrawingGridVerticalSpacing>7.8 磅</w:DrawingGridVerticalSpacing> <w:DisplayHorizontalDrawingGridEvery>0</w:DisplayHorizontalDrawingGridEvery> <w:DisplayVerticalDrawingGridEvery>2</w:DisplayVerticalDrawingGridEvery> <w:ValidateAgainstSchemas/> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:Compatibility> <w:SpaceForUL/> <w:BalanceSingleByteDoubleByteWidth/> <w:DoNotLeaveBackslashAlone/> <w:ULTrailSpace/> <w:DoNotExpandShiftReturn/> <w:AdjustLineHeightInTable/> <w:BreakWrappedTables/> <w:SnapToGridInCell/> <w:WrapTextWithPunct/> <w:UseAsianBreakRules/> <w:DontGrowAutofit/> <w:UseFELayout/> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><!-- [if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" LatentStyleCount="156"> </w:LatentStyles> </xml><![endif]--> <!-- [if gte mso 10]> <style> /* Style Definitions */ table.MsoNormalTable {mso-style-name:普通表格; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;} </style> <![endif]-->ECLISPE WTP 集成 JAVAREBEL

 

JavaRebel 是一个 JVM 插件 (-javaagent) ,能够即时重载 java class 更改,因此不需要重新部署一个应用或者重启容器,节约开发者时间。

 

<!-- [if !supportLists]-->1、  <!-- [endif]-->下载j avarebel.jar javarebel.lic 。注意

javarebel.jar 包不可改名,
javarebel.lic
放同目录

 

2 ECLIPSE 应用设好 TOMCAT 服务器后,进入【 Run > Run Configuration 】界面,在 VM 参数前加入 -noverify -javaagent:D:\tomcat5.5\bin\javarebel.jar ,如图:

<!-- [if gte vml 1]><v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"> <v:stroke joinstyle="miter"/> <v:formulas> <v:f eqn="if lineDrawn pixelLineWidth 0"/> <v:f eqn="sum @0 1 0"/> <v:f eqn="sum 0 0 @1"/> <v:f eqn="prod @2 1 2"/> <v:f eqn="prod @3 21600 pixelWidth"/> <v:f eqn="prod @3 21600 pixelHeight"/> <v:f eqn="sum @0 0 1"/> <v:f eqn="prod @6 1 2"/> <v:f eqn="prod @7 21600 pixelWidth"/> <v:f eqn="sum @8 21600 0"/> <v:f eqn="prod @7 21600 pixelHeight"/> <v:f eqn="sum @10 21600 0"/> </v:formulas> <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/> <o:lock v:ext="edit" aspectratio="t"/> </v:shapetype><v:shape id="_x0000_i1025" type="#_x0000_t75" style="width:414.75pt; height:259.5pt" mce_style="width:414.75pt; height:259.5pt"> <v:imagedata src="file:///C:\DOCUME~1\FNDSOF~1\LOCALS~1\Temp\msohtml1\01\clip_image001.png" mce_src="file:///C:\DOCUME~1\FNDSOF~1\LOCALS~1\Temp\msohtml1\01\clip_image001.png" o:title=""/> </v:shape><![endif]--><!-- [if !vml]--><!-- [endif]-->

 

 

3 、双击 Server Server 配置中选择自动发布,如图:

<!-- [if gte vml 1]><v:shape id="_x0000_i1026" type="#_x0000_t75" style="width:414.75pt;height:259.5pt" mce_style="width:414.75pt;height:259.5pt"> <v:imagedata src="file:///C:\DOCUME~1\FNDSOF~1\LOCALS~1\Temp\msohtml1\01\clip_image003.png" mce_src="file:///C:\DOCUME~1\FNDSOF~1\LOCALS~1\Temp\msohtml1\01\clip_image003.png" o:title=""/> </v:shape><![endif]--><!-- [if !vml]--><!-- [endif]-->

 

 

4 Server 模块中 Disable Auto Reload ,如图:

<!-- [if gte vml 1]><v:shape id="_x0000_i1027" type="#_x0000_t75" style="width:414.75pt;height:259.5pt" mce_style="width:414.75pt;height:259.5pt"> <v:imagedata src="file:///C:\DOCUME~1\FNDSOF~1\LOCALS~1\Temp\msohtml1\01\clip_image005.png" mce_src="file:///C:\DOCUME~1\FNDSOF~1\LOCALS~1\Temp\msohtml1\01\clip_image005.png" o:title=""/> </v:shape><![endif]--><!-- [if !vml]--><!-- [endif]-->

 

 

5 、这样就配置完成了。启动 Server ,在 Tomcat 启动日志前看见日志:

##########################################################

 

  ZeroTurnaround JavaRebel 2.0-M1 (200812031605)

  (c) Copyright Webmedia, Ltd, 2007, 2008. All rights reserved.

 

  This product is licensed to Jacky Liu

 

##########################################################

 

6 、在修改类后,不需要重新发布,再次调用用, Console 输出:

JavaRebel: Reloading class 'com.nx.study.Test'.

 

7 、至此恭喜你,成功了!

 

8 、这个配置主要在集成测试方面有好的效率,并不能代替单元测试。

 

  • 大小: 78.6 KB
  • 大小: 61.4 KB
  • 大小: 46.2 KB
分享到:
评论
2 楼 zhangthe9 2009-02-24  
2.0-RC1 我破解了
1 楼 zhangthe9 2009-02-20  
哈哈
在GOOGLE排名很前嘛

DD来顶下

相关推荐

    eclipse wtp plugs 2

    eclipse wtp-R-3.0.5-20090521045405 请将文件名改为 wtp-R-3.02.fss 因为文件太大,Eclipse WTP Plugs 使用文件分割工具处理后上传的,先说明如下: 1. eclipse wtp plugs 1 ~ eclipse wtp plugs 4 是一份完整的...

    eclipse wtp plugs 3

    eclipse wtp-R-3.0.5-20090521045405 请将文件名改为 wtp-R-3.03.fss 因为文件太大,Eclipse WTP Plugs 使用文件分割工具处理后上传的,先说明如下: 1. eclipse wtp plugs 1 ~ eclipse wtp plugs 4 是一份完整的...

    eclipse wtp plugs 1

    eclipse wtp-R-3.0.5-20090521045405 plugs 请将文件名改为 wtp-R-3.01.fss 因为文件太大,Eclipse WTP Plugs 使用文件分割工具处理后上传的,先说明如下: 1. eclipse wtp plugs 1 ~ eclipse wtp plugs 4 是一份...

    eclipse wtp plugs 4

    wtp-R-3.0.5-20090521045405 请将文件名改为 wtp-R-3.04.fss ...综上所述,要想得到完整的 Eclipse Plugs 你必须下载 5 个文件 :eclipse wtp plugs 0 ~ eclipse wtp plugs 4, eclipse wtp merge

    eclipse wtp plugs 0

    eclipse wtp-R-3.0.5-20090521045405 plugs 请将文件名改为 wtp-R-3.00.fsm 因为文件太大,Eclipse WTP Plugs 使用文件分割工具处理后上传的,先说明如下: 1. eclipse wtp plugs 1 ~ eclipse wtp plugs 4 是一份...

    eclipse WTP 1.2 插件 支持 jquery 1.6

    jQueryWTP一个让Eclipse WTP支持jQuery Javascript代码自动补全功能的Eclipse插件。 支持jquery 1.6

    Eclipse WTP Web应用开发

    Eclipse WTP Web应用开发,(曼德尔),姚军等译。

    eclipse wtp merge

    eclipse wtp plugs merge tool 请将文件名改为 .exe 因为文件太大,Eclipse WTP Plugs 使用文件分割工具处理后上传的,先说明如下: 1. eclipse wtp plugs 1 ~ eclipse wtp plugs 4 是一份完整的 Eclipse WTP ...

    Eclipse_wtp_tomcat

    Eclipse_wtp_tomcatEclipse_wtp_tomcatEclipse_wtp_tomcatEclipse_wtp_tomcatEclipse_wtp_tomcatEclipse_wtp_tomcatEclipse_wtp_tomcatEclipse_wtp_tomcatEclipse_wtp_tomcat

    Eclipse wtp(tomcat)配置手册

    有图,有文,步骤清晰,有测试是否成功安装的方法

    MyEclipse Web工程 完美移植到Eclipse WTP

    完美移植到Eclipse

    eclipse(wtp)内存溢出相关配置文件

    eclipse(wtp)内存溢出解决办法 修改配置文件

    使用Eclipse及WTP插件开发JSP应用程序

    在Eclipse环境下,基于WTP插件,开发JSP应用程序 内容还是比较详尽的,以图示的方式介绍了安装过程,最后还举了一个非常简单的例子作为示例

    Eclipse 3.3配置WTP插件

    下载Eclipse3.3。 这里我用的Eclipse Classic 3.3.1.1 ,主要是为了学习如何在Eclipse上安装插件(完整文章参考Eclipse3.3 安装及插件配置)。

    eclipse-wtp-freemarker:eclipse-wtp-freemarker

    eclipse-wtp-freemarker eclipse-wtp-freemarker 遵循与相同的想法

    eclipse-wtp-xml-search:Eclipse WTPXML搜索

    Eclipse WTP / XML搜索概述Eclipse WTP / XML Search是一组插件,可为您提供2个功能: 它提供了一个XML /搜索对话框(如文件/搜索)。 您可以使用XPath从工作空间中搜索XML(HTML,JSP)文件: 开发自己的插件来管理...

    wtp1.5.x +eclipse3.2.x的中文语言包

    wtp1.5.x +eclipse3.2.x的中文语言包

    eclipse-wtp-json:基于WTP Eclipse(POC)的JSON编辑器

    Eclipse WTP / JSON 该项目尝试移至Eclipse WTP。 参见 Eclipse WTP JSON的目标是创建一个基于WTP的高级JSON编辑器,该编辑器是可扩展的,如果WTP团队感兴趣,则可以做出贡献。 WTP JSON编辑器将提供扩展点,以使用...

    flex整合j2ee-在eclipse wtp环境下使用blazeds

    NULL 博文链接:https://fzlihui.iteye.com/blog/1011407

    myeclipse或eclipse无法从wtpServer添加tomcatserver

    文档解决了myeclipse或eclipse无法从wtpServer添加tomcatserver

Global site tag (gtag.js) - Google Analytics