Everyone can watch the presentation about how it's easy and simple to deploy an application to remote JBoss server. But what presentation doesn't say is that you can deploy application to localhost "remote" server only, because otherwise the war or ear file is not available for the target server. That's very sad and misleading.
Let's say I've copied my war or ear file to remote server where JBoss is running. How do I tell IDEA to "deploy" remote file, not the local one?