How Do Run Flex As A Service?

Post Reply
pooja soni
Posts: 2257
Joined: Tue Jul 30, 2019 2:37 pm

Wed Aug 14, 2019 2:13 pm

Flex is not a server that you deploy and run. It is simply deployed as part of your web application. So it will work, no matter which web container you are using: Tomcat, JRun 4, WebLogic, and so forth. To learn how to deploy Tomcat, JRun 4, or any other Java server as a service, refer to the appropriate documentation for the server you are using.
pooja soni
Posts: 2257
Joined: Tue Jul 30, 2019 2:37 pm

Wed Aug 14, 2019 2:14 pm

Flex does not have any native database integration functionality. You must have your own server-side tier that provides the database-access tier and sends the data back to Flex through one of the following protocols:

RemoteObjects: This is the fastest. It communicates with server-side EJBs or POJOs using AMF, a binary compressed format.
HTTPService: This one uses the HTTP protocol. Sources can be JSP, ASPx, .NET, or any URL that returns HTTP.
WebService: This is the slowest. It uses the SOAP protocol. Sources can be .NET or any web service.
Post Reply