Hi ,

copying dev since this is relevant to all the idea users

On Mon, Jul 28, 2014 at 3:18 AM, Rajith Vitharana <[email protected]> wrote:

> Hi All,
>
> This is a well known feature in Intellij idea. I thought of sharing this
> because there may be people who doesn't know about this and waste so much
> time shutting down and restarting servers instead of using this feature in
> idea.
>
> In idea you can use hot deployment concept to reload the classess in a jvm
> at runtime. for example, say you need to do a simple change to a class in a
> jar file and test it. normally we will have to change the java class, build
> the jar and put it inside lib folder or patch folder accordingly and
> restart the server.
>
> But with intellij idea this is easier, what you have to do is start up the
> server in debug mood and connect the intellij idea. then do the change you
> need to do to the java class and compile that class using intellij idea.
> that's it. intellij idea will reload the class in the jvm instance which it
> is connected with the newly compiled class. note that this is not practical
> with big changes to classess. such as changing a dependencies etc.
> but this is very helpful when we need to do small changes and check for
> errors.
>
> Thanks,
>
> --
> Rajith Vitharana
>
> Software Engineer,
> WSO2 Inc. : wso2.com
> Mobile : +94715883223
> Blog : http://lankavitharana.blogspot.com/
>



-- 
Lakshman Udayakantha
Software Engineer, WSO2
Mobile: *0711241005*

*[email protected] <[email protected]>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to