Wednesday, 15 June 2011

java - Best practice for deploying EAR-project to remote WildFly server via Eclipse -


I have a Javanese EAR-project which I originally deployed from Eclipse to run on a remote server Damien and Wildfile Want to do I'm using FTP to skip the .ear-project in the wildfly deployment folder (and then of course make .dodeploy). But this is not a very fickle solution because I want to be able to push the changes immediately.

Is anyone who recommends the best practice for such a solution? I searched the web but found no concrete guide, though it is popular to use Maven in some way. Thank you.

I do not think there is any best practice, in general it depends on your environment.

  • Sample application using the plugin is available here
  • Use of CLI < / P>

  •   sh $ WILDFLY_HOME / bin / jboss-cli.sh - admin = & lt; Management_port_bind_address_remote_host & gt ;: 9990 - connect - uuser = & lt; Management_use & gt; --password = & lt; Management_user_pswd & gt; --command = "Deployed & lt; path_to_ear_file & gt;"  

    No comments:

    Post a Comment