Reputation: 1074
Wildfly server recommends the use of CLI management API over file system based deployments. https://docs.jboss.org/author/display/WFLY8/Application+deployment#Applicationdeployment-FileSystemDeployments
This is not a surprise or limited to just Wildfly. Other JEE servers also don't recommend file-based deployments for production. But what are the advantages and disadvantages of using one over the the other?
Upvotes: 0
Views: 505
Reputation: 17435
I see two reasons to do this in a production system.
On the other hand, if you are using the API to do this there is a different security aspect that is now controlled by Wildfly. That takes configuration changes and management too.
I've seen this done both ways. In a small environment with the server is locked down for just a few people it usually isn't a problem either way (though, again, the I/O hit could be decent). But in a large environment with many applications potentially on the same instance the security aspect usually wins out.
Upvotes: 2