Tip: Updating a Deployed Flex Application on an Application Server Without Redeploying

The debugging tip I wrote about Debugging a Deployed Flex Application saved me a lot of time when developing Flex applications that are deployed on J2EE servers. But I still had the issue of a 20 second code change, then a 2-3 minute package and deployment before I could see the changes.

What I discovered was that after the war file containing the Flex application has been deployed on the application server (LiveCycle running on JBoss in my case), it was possible to locate the extracted war from the servers’ deployment directory, and replace your newly built swf file from you bin-debug folder in Flex Builder directly over the top of the previously deployed version. Then simply by clearing the cache in your browser and requesting the URL again, JBoss would grab the new swf and serve that. No more rebuilding the package and deploying for every small change! Saves a LOT of development time.

This entry was posted in Flex, LiveCycle and tagged , , . Bookmark the permalink.

Add a comment...

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s