This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
It would be useful if when right-clicking the Java EE web-project one could see a "Deploy into" option which would show the different Java EE servers configured. It would be useful for those who work with multiple servers, allowing the standard deploy action to deploy into the localhost server (or whichever is configured in the project options) and this additional button would make it easier to deploy into other configured servers (thus avoiding the need to right-click->properties->Run->(select server)->Ok->right-click->deploy). It appears it could be easily implemented, at least among the same type of server vendor.
To better understand your request could you please share what's your development process? and why and how do you utilize multiple servers? Is it for an application staging or ...? Do you on daily basis deploy to multiple servers? Thanks.
Created attachment 123343 [details] Image describing the proposed enhancement.
I'm not a long time developer of java ee applications. Nevertheless I've been porting and extending an application currently running in a php+apache server for the last 2 months. I've installed a glassfish server on the LAN where the application currently runs. My initial idea was to develop on my laptop and deploy on that server, but i soon understood that its impossible as the deploy on save option is not supported for "external" servers, and so the whole application is taken down during the deployment, which takes ~35 seconds to complete. Hence I started using a glassfish install on localhost, running on together with netbeans deploy on save option, where i can quickly resolve the immediate bugs/programming errors and then deploy into the lan server (which takes the steps described in the initial post), this deployment to lan server usually takes place when I git commit or push changes into the git repo. So on a daily basis I do deploy several times, that’s why I thought it would be useful to have a drop-down menu to deploy into a configured server (I’ve attached a picture of what I mean by this). Or maybe I’m just doing it wrong? I guess I wouldn't be needing the feature if I could have the deploy on save option enabled for external servers, but that may be harder to achieve.