I started using appfog ( http://www.appfog.com/ ) and I haven't found any resources explaining how to deploy a simple Java Web application. I tried extracting a .war file I have and then updating the app but I got no luck.
Cheers
Deploy an application But if you are running a standalone WildFly service, a simple way to deploy your application is to copy your application archive ( war/ear/jar ) into the $JBOSS_HOME/standalone/deployments directory in the server installation. The deployment-scanner subsystem detects the archive and deploys it.
Java web applications use a deployment descriptor file to determine how URLs map to servlets, which URLs require authentication, and other information. This file is named web. xml , and resides in the app's WAR under the WEB-INF/ directory. web.
Deploying Java Web Application on AppFog is pretty easy once you see an example. Here is some documentation: https://docs.appfog.com/languages/java
Step 1) Build a war file and cd into the directory with the war file in it (usually cd target)
Step 2) af push
You do not want to extract the war file, you just need to be in the same directory as the war file.
Hope this helps! Best of luck! There is a great and vibrant community of AppFog Java users in the google group as well: https://groups.google.com/forum/#!forum/appfog-users
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With