You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@dubbo.apache.org by 刘显波 <yd...@126.com> on 2018/10/21 06:01:02 UTC
JRebel对Dubbo的支持情况
各位dubbo的开发大神,你们好:
最近,我简单测试了一下在JRebel的环境下启动dubbo的demo应用,然后将一个sayHello2方法改名为sayHello3.从命令行发现sayHello3已可见,却不可调用;
新增方法,新增入参属性等也是如此,我猜应该和dubbo操作class的方式有关.
我们的项目基于dubbo, 开发时经常调整入参/返回值的属性.JRebel能为开发节约很多编译/重启时间,请问你们有没有什么好的热部署解决方案或者后续支持计划呢?
将sayHello2改为sayHello3后:
感谢!
-------------------------------------------
ydmsn126@126.com
成都 中国
Re: JRebel对Dubbo的支持情况
Posted by Ian Luo <ia...@gmail.com>.
Hello, Xianbo, would you mind to file one issue on GitHub [1]? I guess
jRebel doesn't work with Dubbo is because the way how Dubbo manipulate
classes.
显波,麻烦你在 github issue [1] 报个 issue 吗?可能是 jRebel 不支持 dubbo
目前生成代码的方式,我们需要深入调研一下。
Thanks,
-Ian.
1. https://github.com/apache/incubator-dubbo/issues
On Mon, Oct 22, 2018 at 4:05 PM Jerrick Zhu <je...@apache.org> wrote:
>
> On Mon, Oct 22, 2018 at 9:24 AM 刘显波 <yd...@126.com> wrote:
>
>> 各位dubbo的开发大神,你们好:
>>
>> 最近,我简单测试了一下在JRebel的环境下启动dubbo的demo应用,然后将一个sayHello2方法改名为sayHello3.从命令行发现sayHello3已可见,却不可调用;
>> 新增方法,新增入参属性等也是如此,我猜应该和dubbo操作class的方式有关.
>>
> That's true, you can check this
> class: org.apache.dubbo.common.bytecode.Wrapper, it holds all providers'
> class here.
>
> Arthas(github.com/alibaba/arthas) can also show the proxy code:
> [image: image.png]
>
> So after you change the method name, it success, but the proxy won't
> generate again.
>
>
>> 我们的项目基于dubbo,
>> 开发时经常调整入参/返回值的属性.JRebel能为开发节约很多编译/重启时间,请问你们有没有什么好的热部署解决方案或者后续支持计划呢?
>>
>
> Maybe anyone in the community can help to develop a dubbo-plugin for
> jrebel ?
>
>
>>
>> 将sayHello2改为sayHello3后:
>>
>>
>> 感谢!
>> -------------------------------------------
>> ydmsn126@126.com
>> 成都 中国
>>
>>
>>
>>
>>
>
Re: JRebel对Dubbo的支持情况
Posted by Jerrick Zhu <je...@apache.org>.
On Mon, Oct 22, 2018 at 9:24 AM 刘显波 <yd...@126.com> wrote:
> 各位dubbo的开发大神,你们好:
>
> 最近,我简单测试了一下在JRebel的环境下启动dubbo的demo应用,然后将一个sayHello2方法改名为sayHello3.从命令行发现sayHello3已可见,却不可调用;
> 新增方法,新增入参属性等也是如此,我猜应该和dubbo操作class的方式有关.
>
That's true, you can check this
class: org.apache.dubbo.common.bytecode.Wrapper, it holds all providers'
class here.
Arthas(github.com/alibaba/arthas) can also show the proxy code:
[image: image.png]
So after you change the method name, it success, but the proxy won't
generate again.
> 我们的项目基于dubbo,
> 开发时经常调整入参/返回值的属性.JRebel能为开发节约很多编译/重启时间,请问你们有没有什么好的热部署解决方案或者后续支持计划呢?
>
Maybe anyone in the community can help to develop a dubbo-plugin for jrebel
?
>
> 将sayHello2改为sayHello3后:
>
>
> 感谢!
> -------------------------------------------
> ydmsn126@126.com
> 成都 中国
>
>
>
>
>