Build Flex application powered by ColdFusion - apache-flex

Is it necessary to use DAO Architecture to build a Flex application in ColdFusion?

No it is not. Your ColdFusion code simply has to do whatever the flex app can't do for itself.

Related

Can we convert standalone JavaFX application to WAR?

We've a stand alone application developed using JavaFX technology. Now we have a requirement to make it accessible using browser from remote machines(basically a web-app). I'm just wondering if there is any way to convert the said JavaFX application to war file so that it can be deployed on the web server. Any pointers would be appreciated.
A JavaFX based Application is an application that is running on a desktop. It's no server application that needs an application container or something. Therefore you should not build a WAR file.
By default you can't run JavaFX applications in a browser. You could use applet technology or webstart but this is a workflow that will create problems - wrong JRE version on client, etc. (Java Applets - is it a wrong choice today?).
The best way to build and share a JavaFX application is by creating an executable JAR or a native application / bundle (http://code.makery.ch/library/javafx-8-tutorial/part7/).
There are some prototypes that can be used to render JavaFX in the browser (by using HTML5 Canvas) but I would not use

Using SocketScan SDK with C# Web Service

What I am trying to do is to call a web service using jquery (ajax json call) and use this SocketScan sdk in the web service (C# based web service).
As, my Mobile App uses only Jquery so I have to make use of this Socketscan sdk in the web service only.
I want to build a sample app for the same. How can I achieve this?
I have added the dll reference to my web service and can see all the methods used in dll but I am not able to understand the flow of dll.
Regards
Aman
Telerik AppBuilder is based on Cordova, so you can't call native code directly and the ScanAPI SDK doesn't support javascript. You will need a plugin which wraps the native SDK (C#, Java or Objective-C, depending on your target platform) and exposes the functionality you need to your app. You may have to develop a Cordova plugin, if there isn't already a plugin released under a suitable license for your app.

Is selenium automation tool supports flex applications?

I want to know that is Selenium automation tool supports flex application? Currently i have some flex application that need to be automated. If not can you suggest any other free automation tool that supports flex?
Regards,
Nilesh
Yes, We can automate flex application in selenium web driver,
For this we need to follow these steps:
you have to download selenium flex api.
you will get a SeleniumFlexAPI.swc file here.
a. you need to put this file in your flex application.
b. you need to add lib path in flex compiler like this and compile the code
-include-libraries "libs\SeleniumFlexAPI.swc"
See this link for more explanation.
best way to automate Flex With selenium web driver
For reference of example code see
yes.
FlexUISelenium is an extension to the Selenium RC client driver that enables the Selenium RC client drivers to interact (and test) the Flex UI components and methods of the Flex application.
FlexMonkey- open source
Paid tools like RIATest,Silktest, SeleniumFlex

Can Flex 4.5/4.6 (AIR) integrate with FluorineFX?

I would like to create a mobile application targeting android platform.
I am planning to use FLEX 4.5/ 4.6 (AIR) and MSSQL as its database.
Can FLEX 4.5/4.6 connects to a MSSQL 2005 database using FLUORINEFX?
I have created a webbased application using FLEX 3(FLASH PLAYER) that connects to a MSSQL 2005 database using FLUORINEFX.
I am not sure about FLEX 4.5/4.6 (AIR) intregration with FLUORINEFX?
Please guide me on how i get about this. Could not find the right information for me to move forward or maybe im using the wrong keywords during my search in google.
Fluorine FX is always implemented server-side and most often used to setup a remoting service.
Any Flex/flash/ajax/.. client should be able to consume this service.
Try reading the documentation: http://www.fluorinefx.com/docs/fluorine/index.html
Look for a section called "Calling web services from Flex".
The same principles should apply regardless the version of the Flex SDK you are using.
Cheers

How to use Java servlet as my backend using a Flex application?

I have developed a Flex application. I have also developed a Java servlet program for an Access database using Tomcat. How can I use that servlet backend for my Flex application using HTTPService (or anything else)?
Perhaps these links will be of help:
Flex with Java Servlets: how to use XML from an HttpService to populate a Data Grid(Table)
Getting Java and Flex talking via XML

Resources