Hi,
 
Yes you can pre-compile the Flex UI into a SWF, but you will still need to have everything under WEB-INF/flex folder in order for the UI to work. You cannot simply compile the SWF and give it away, its against the Flex "Terms and Conditions" or whatever you call it.
 
Within your EAR, youwill have your WAR and its contents will look something like this:
 
<WAR folder>
myui.mxml
    WEB-INF/
        web.xml
        flex/
        .... (all files for flex here)
 
If you want to know how to precompile, read the following:
 http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/common/html/wwhelp.htm?href="">
 
Jimmy Gianninas
Software Developer - Optimal Payments Inc.
 


Hi,

I am experimenting with flex and have an application that will be
requesting for services (HTTP Service) from a J2EE application.  I
would prefer not to bundle the flex jars, filters etc in the EAR I
provide to the client.

My understanding is that I can compile flex files into SWF.  Is this
correct ?

Do I need any of the flex related files to be bundled with the EAR
if I precompile the application as a SWF ? 




Reply via email to