Update a Running JavaEE Application

Next Maia EAP build includes new action that lets you quickly update a running JavaEE application after you changed its code. To invoke it, either press Ctrl+F10, or click this button on the Run tool window bar:

To Sanjiv:
This action not only compiles modified classes but also copies modified resources to an exploded directory. So, for example, if you’re running Tomcat and changes some JSP files you can invoke this action, refresh the browser and you’ll see updated view of your pages.

To igor:
I don’t think it is intuitive to press Ctrl+S for updating changed resources on app server. If you really need to save files you can press Ctrl+S. If you need to compile files you press Ctrl+F9 and IDEA will compile your files (and save it before that). If you need to update changed resource for a running JavaEE application you can press Ctrl+F10 and your resources will be updated (and saved before that, of course).

Usability IMprovement
====================
Can the Close Button (X icon) be located directly after the Stop Button (Square icon) since the Close Button is commonly used to terminate the process and close the Run panel. Even more so, as the Close Button will be hidden away as the panel height is reduced (Especially in screen using in 800pixel height). It will be useful if Alt+Click on the Close will immediately terminate and close the panel, trespassing the confirmation dialog.

If J2EE artifact contains Flex module output in its structure then *.swf and other Flex stuff will be updated in the same way as other resources. Press Ctrl+F9 to make Flex module and then Ctrl+F10 to update a running JavaEE application.
An example of such IDEA project is here: http://blogs.jetbrains.com/idea/2009/11/graniteds-projects-in-maia/

Since the next IDEA release (or EAP) you’ll not need to compile Flex manually before updating a running J2EE application. If IDEA’s artifact contains Flex module compiler output then Ctrl+F10 will do both compilation and update.

For people still interested by that. The best way I found to easily update a java class on the server on IDEA is to make a Ctrl+S Ctrl+S shortcut. The first Ctrl+S saves normally and the seconds deploys.