Can Flash remoting be used in 3 tier?
I am seeking solutions that fits 3 tier application.
In Wikipedia, I found
1. "
Action
Message Format" is explained as "It is used primarily to
exchange data between an Adobe Flash application and a database,
using a Remote Procedure Call.", which reads like not a linear 3
tier model.
2. "
Adobe
Flex#Overview" mentioned "In a multi-tiered model, Flex
applications serve as the presentation tier.", which reads like
workable for a linear 3 tier model.
These messages seem to be conflicting each other.
If anyone knows these well, please give me a hand.
Thanks.
Hi,
Action Message Format (AMF) is a binary data format that is
used by servers to communicate with a flash application.
What the data is or where the data comes from is decided by
the server (which supports talking to flash apps via AMF like LCDS,
BlazeDS, CF). It may be from a database or any other source.
Flex does indeed serve as the presentation tier, but since it
is a RIA, it also stores state internally. (That is, flex
applications which is the overall presentation layer can have a
microarchitecture in them which can be 3 tiered again).
Take a look at
Cairngorm
for more details on the architecture on the flex side.
Similar Messages
-
HT3325 Can the remote be used with the laser/pointer?
The latest update of keynote support wireless remote control with mirror display on hand, which is great. But, this would be perfect if it would allow to remotely (wirelessly) use the laser/pointer available in keynote presentation mode. Is that possible?
Thanks. I understand, but my question referred to use 2 iPads to make the presentation, one connected to the projector and the other in hand.
-
Can a remote be used to control a Keynote presentation from an iPad?
I use a Macbook for my lectures. I use a mouse to control the presentation. Can this be done with an iPad?
sure. Get "keynote remote" from Apple, 99 cent app from the appstore.
Works with keynote 09, latest update 5.1 ( iwork update 9.1 ) applied you can connect your idevice in the Apps settings.
You'll even have the moderator notes on your iDevice while you control the slides that the Mac Desktop should view. -
HELP: Problem using AS3 and CF-Flash Remoting CFC
I am trying to use CF flash remoting from an AS3 Class using
the NetConnection class. The approach I am using is directly from
"ActionScript 3.0 Cookbook" by Joey Lott et. al.
I am using a totally standard default install of CF, Flex and
SQL server on Windows 2003 R2.
When I do a CF Flash remoting call using,
_netConnection = new NetConnection();
_netConnection.connect('
http://pordev2.wcrt.xeroxlabs.com:8500/flashservices/gateway/');
_netResponder = new Responder(onGotData, onGotError);
_netConnection.call("porTechDB.PorComponents.ProjValuationRemote.getProjValuationData",
_netResponder, 1, strtest);
all seems OK. The CFC returns the integer and string just
fine.
HOWEVER, when I also add an associative array, "aa", to the
string of arguments, I get an error...
_netConnection.call("porTechDB.PorComponents.ProjValuationRemote.getProjValuationData",
_netResponder, 1, strtest, aa);
returns the error: "Unknown object type tag (17)"
The same error is also returned if "aa" is an XML variable
instead of an associative array.
So:
a) Is this a bug?
b) Is there an AS3 specific gateway I should have referenced?
c) Is Flash Remoting not yet supported in AS3?
Thanks you for your time,
Ned
=================================================================
Here is my test code:
<cfcomponent displayname="ProjValuationRemote"
hint="Returns an array of Project Header, Valuation and supporting
data recordsets">
<cffunction access="remote" name="getProjValuationData"
output="false" returntype="String">
<cfargument name="test1" type="numeric" required="no"
default=1>
<cfargument name="test2" type="string" required="no"
default = "a default string">
<cfargument name="AA" type="Struct" required="no">
<cfset testReturn = #test2# & ": TESTING -- This is
the return integer: " & #test1#>
<cfreturn testReturn>
</cffunction>
</cfcomponent>
public function requestVRD():void {
var strtest:String = "Simple test string";
var aa:Object = new Object();
aa.curDataSet = 86;
aa.curYear = 2007;
_netConnection = new NetConnection();
_netConnection.connect('
http://pordev2.wcrt.xeroxlabs.com:8500/flashservices/gateway/');
_netResponder = new Responder(onGotData, onGotError);
_netConnection.call("porTechDB.PorComponents.ProjValuationRemote.getProjValuationData",
_netResponder, 1, strtest);
private function onGotData(re:String):void {
// arVRD = re;
trace(re);
returnString = re;
trace("got remote data response");
private function onGotError(error:Object):void {
trace("Executing the gotProjectData_Fault: " +
error.description);
trace("Executing the gotProjectData_Fault -- no detail");
// setErrorAlert();
This works as expected producing the following trace:
Simple test string: TESTING -- This is the return integer: 1
Replacing the remote with the following, which adds an array
to the parameter list...
_netConnection.call("porTechDB.PorComponents.ProjValuationRemote.getProjValuationData",
_netResponder, 1, strtest, aa);
Produces the following error:
Executing the gotProjectData_Fault: Unknown object type tag
(17)I didn't think so,
We are putting together ads with alot of images with that 40k limit
so the images don't look great.
I was trying to find the best way to work with the images, while keeping it as simple as possible.
Oh.... your right I was hoping to slowly introduce my associates into AS3, I thought If this could be done
It woud be a great tool to introduce them to, but no
Thank you for your time and feedback -
Is it possible for Flash Remoting to do this?
I was wondering if it is at all possible to program a Flash
site for Flash Remoting and use a database on another server? Of
course we have access to the server and could place and script
there to use the database.
Do we have to use the same language as the other server and
far as fetching information?
I would love to use Coldfusion on my server and retrieve info
from the server where the other site resides that uses php.
Is this possible? Thanks!
CJ91605 wrote:
In 2012 I had a vehicle repossessed. Recently I decided to do something about my credit. When I ran my credit report I noticed that the lender is reporting 2 repos. 2 seperate amounts. One for 7700 and another for 738. I disputed this on EQ. It was verified so I called the lender who stated that the 2nd amount was for the repo charges. I asked her why that was not added to the 7700 account. She stated they could not. I asked to for them to send a copy of the signed contact where I agreed to pay that amount for that charge. She stated they did not have one but they could send a copy of the original loan contract, but it would take a while do to it being at another location in there file storage. How could EQ verify if the loan company doesn't have contract accessible, and can they report 2 repos for one vehicle?I don't know if it is legal or not. However, it doesn't make logical sense to me that they could split the debt into the balance owed on the vehicle and the cost to repossess. The ability to collect both the deficiency and the cost to repo is in the contract you signed with the lender. IMO that means the total unpaid deficiency would be one figure - not two separate tradelines because the contract is what permits the lender to collect both the repo fees and the deficiency amounts. If I were in your shoes I would do the following:First, send a letter to the lender in writing that they correct their reporting with the CRA's of the deficiency and be specificSecond, if the lender doesn't correct the reporting, contact the CFPB. The upside is that they may just remove the tradelines entirely rather than correct. GL -
Web Host can't get Flash Remoting to work
Please help this non-technical client get my website up,
please!
I have had an application developed and my programmers have
utilized FlashRemoting.
I have seen the application working on one web host's testing
server, but we had to move it because of tech support issues.
This new host has told me that they've installed Flash
Remoting, but my programmers say it is not installed properly.
(The say it must be installed, not copied into wwwroot)
One very confusing issue is this:
1. A testing link using my domain name pointing to a
flashremoting sample does NOT work
http://www.investlogos.com/flashremoting/samples/asp/default.htm
2. The very same link only using my IP Address instead of my
domain name DOES work.
http://69.90.47.4/flashremoting/samples/asp/default.htm
The programmers have opened a trouble ticket asking for the
.Net environment to be installed where the domain is hosted and to
resolve the address, but no response as of yet from tech support.
Both sides are saying it isn't thier fault and I am stuck in
the middle with a website 2 months past deadline.
Does anyone have any ideas about what is going on, or at
least what 'side' I should harp on to get his fixed?
(...or as a last resort, can anyone tell me a REALLY good
host that supports Remoting? I'd hate to move again, but spinning
my wheels is getting me nowhere!)
Thanks to anyone who has any input.Hi,
Since you have talked about .NET I assume that you are using
.NET as
application layer.
If yes then yes you need get .NET framework installed before
you
attempt to install the Flash Remoting.
If your sample work from IP then I can say Remoting is
installed
properly if your IP is the same where the site domain points
to.
So if the IP and the Domain are the same box then problem is
not with
the installation rather I should be with Remoting licensing
issue you
got to buy the Remoting license to use that and I guess the
demo or
Developer license is being installed there.
You can mail me if you want to discuss this to find the
solution at
[email protected]
Remove all the numeric from the email id to get the correct
one.
Good Luck
Hemendra Singh -
We're getting the "duplicate session" error using Flash Remoting from Air 3.4 Mobile Apps ( IOS and Android ) with Coldfusion 10 Standard.
faultCode:Server.Processing.DuplicateSessionDetected faultString:'Detected duplicate HTTP-based FlexSessions,
generally due to the remote host disabling session cookies.
Session cookies must be enabled to manage the client connection correctly.' faultDetail:'null'
Have read most of the docs about this error -all to do with LCDS
Notes:
Not using LCDS,
No Remote Calls from loaded Sub-Apps,
No Errors from the Flex Web App which is pretty much identical and calls the same cfcs.
The error does not happen all the time and is hard to reproduce - say 5% of app sessions at a guess.
Could it be a two first time remote calls hitting the server together before a session is set up?
Our remoteObjects are in two places 1) Main Application.mxml and within a class compiled into the main app - can't see how this would be an issue.
I enabled session management for the CFCs in Application.cfc but still occurs. Is this neccessary - it's not in any docs?
Could this be something to do with the app not being shut down - as is typical with mobile users? When they resume use after a day or two surely a new session will be created?
Please advise thank you.For our profect I think this issue was caused as follows:
Believing that remoting was full asynchronous we fired a 2 or 3 remote calls to the server at the same time ( within the same function ) - usually when the users goes to a new section of the app.
This seemed to trigger the duplicate http session error since according to http://blogs.adobe.com/lin/2011/05/duplication-session-error.html two remote calls arriving before a session is created will cause 2 sessions to be created.
Our current solution ( too early to say it works ) is to daisy chain the multiple calls together .
Also there seemed to be an issue where mobile apps that never quit ( thanks Apple! ) caused the error when activated after a few hours.
I guess the session expires on the server and the error above occurs on activation.
So the mobile apps now ping the server with a remote call when activated after sleeping for more than one hour.
All duplicate http errors are silently caught and reported.
Fingers crossed we won't get any more! -
Can someone please give me a real world example of where it
is far better to use Flash remoting rather than URLLoader or
HTTPService.
I am just trying to understand clearly what projects would be
better implementing remoting.
Thanks.Hi,
What I do is to fire a button with logout url like:
navigateToURL( new URLRequest( 'index.cfm?logout=1'), '_self' )
How do you check in your app the 30 minutes idle?
Thanks
Johnny -
Where is "Using Flash Remoting for Flash 8 ActionScript 2.0.pdf"?
I am looking for pdf documentation for Flash Remoting using
Flash 8. I am not interested in Live Docs.You can find documentation in the Flash help. Also, remoting
for Flash 8 is the same as remoting for Flash MX 2004 if you find
something for mx 2004. -
Is flash remoting/rpc reliable when using rtmfp
As we know, rtmfp use udp instead of tcp, which is more efficient for a/v streams. But, you konw, UDPis not oritented connection and unreliable. So i want to konw that how can we ensure that flash remoting/rpc is reliable when using rtmfp, espcially in very bad network evnironment.
anyone knows?We are using the rtmfp protocol to open a group connection,
using a NetGroup, where each client streams each own video and listen to others.
I've retried streaming between a flash player 10.3 and 11.1, it didn't work.
This involved opening 2 netgroup on each client, where one publishes and one plays the other.
Example:
Client 1 publishes stream "a" and plays "b" using flash player 10.3
Client 2 publishes stream "b" and plays "a" using flash player 11.1
Moreover, the plugin crashes on the client machines.
One more detail: the video stream width is 80, the height is 60.
Please advice.
Regards,
Amith -
Can I find the OS of a remote system using LabVIEW?
I wish to be able to start an application on a remote system using
LabVIEW. To do this, I need to know what the OS of the remote system is
(Windows, Linux, etc). I can ask the user to provide this information
for me, but is there any way I can get LabVIEW to automatically
retrieve this information? I know I can use the application node with
the OS sub-section to get this information for the local machine... is
there any way I can remotely run this? Would VI server allow me to run
this, if I turned it into a VI, on the remote system such that I could
retrieve this information for the remote system? Or is there a neater
solution I'm missing?
Cheers,
M.J.Heya... many thanks for the suggestion(s).
The problem with my case is there's any number of users on the network
that might be using this, and it could be running on a Windows or Linux
box, depending on user circumstances, so trying to get a VI Starter
type application put into the start-up of all machines just in case is
a) overkill & b) more than I want to bite off So basically I
need to have the VI running on the machine in order to use VI server is
what I'm hearing & reading from the help, which essentially my idea
of dynamically firing off labview & loading/running any VI on the
remote system just ain't possible... hmmmn.
Back to the drawing board then, it looks like...
Cheers,
M.J. -
Why can I no longer use my headphones remote to fast forward or rewind music videos on iPhone since upgrading to ios7?
The YouTube app is not included in iOS 6 (I think because the licensing agreement with google ended). You will either need to try one of the YouTube apps from the store (there is an iPhone optimised app from google, and other people have said that they are working on an iPad version), or (if this isn't the version that you have tried) try accessing the mobile version via Safari : http://m.youtube.com (you can create a home screen shortcut for the site)
-
Can same flash drive be used on mac and pc?
can same flash drive be used on mac and pc?
ok because i fried a Hp drive yesterday but it never asked me to format
-
MAX can't connect to CompactRIO on remote subnet using NAT
Hello. This is our problem:
We have one CompactRIO (NI 9024) and our server PC on different subnets. Between them there is a firewall, which has FTP and 44516 ports open. The firewall performs NAT, so the server doesn't see the "real" IP of the cRIO.
The problem is that when I add the cRIO to MAX ("remote subnet") using the NAT IP, it can detect it, but after some packets it tries to communicate with the real IP of the cRIO, which is not visible from the server and communication hangs.
I attached a Wireshark log. Server IP is ".230", NAT cRIO IP is ".162" and real cRIO IP is ".122".
We are using MAX 4.6.2 and NI-RIO 3.4 on the server.
Has anyone had this NAT problem before? Any idea about how to solve it?
Kind regards,
Daniel
Attachments:
44516_open_filtrado.pcap 5 KBImpossible to say without seeing complete topology and configurations.
-
Albe to get a script working on a local machine. Can't on a Remote Mac using AppleScript
Ok I was able to get the following code to work on a local Mac
tell application "FileMaker Pro"
name of every database
end tell
But when I tried to run it on a remote Mac using Applescript
I got a syntax error of: "Expected class name but found identifier"
I tried the following
set RemMac to "eppc://10.1.2.3.4"
set remoteApp to application "FileMaker Pro" of machine RemMac
tell remoteApp
name of every database
end tell
That didn't work, any ideas how I can use 1 Mac to check on another Mac's FileMaker's list of open databases
ThanksThanks Sherry,
This looks like it works perfectly
I am just trying to understand how the times work.
This is the snippet for a two hour maintenance window
$a = Set-WmiInstance -Class CCM_ServiceWindow -Namespace 'ROOT\ccm\Policy\Machine\RequestedConfig' -PutType 'CreateOnly' ` -argument @{PolicySource = 'LOCAL'; PolicyRuleID = 'NONE'; PolicyVersion = '1.0'; Schedules = '1D529B0010080000'; ServiceWindowType = 1; ServiceWindowID = '8fa8c041-b6fc-4e3a-bd91-494af0e7f20d'; PolicyID = '8fa8c041-b6fc-4e3a-bd91-494af0e7f20d'; ` PolicyInstanceID = '8fa8c041-b6fc-4e3a-bd91-494af0e7f20d'}; $a.ServiceWindowID get-wmiobject -query "SELECT * FROM CCM_ServiceWindow" -namespace "ROOT\ccm\Policy\Machine\RequestedConfig"
The things change are 'schedules','ServiceWindowID' , 'PolicyID' and 'PolicyInstanceID' and they seem to change, even when the same time is set e.g. create a 2, 3 hour service windows
Whilst getting the string is easy to work out using client centre. I am really curios to find out how these values translate to 1,2 and 3 hour service windows. The SDK doesn't shed a great deal of light on the subject (well not that I could find)
Regards, Martin
Maybe you are looking for
-
Services in WSADMIN not seen in WSNavigator URL.
Hi gurus, I am not able to view all the services available in WSADMIN transaction in the WSNavigator URL. What is the reason. I tried accessing the services through the visual admin, but was not able to view the services available in WSADMIN, but onl
-
Hi, I am unable to pass the variable content to the filter i.e., the data is not getting constrained when variable is used in the filter.When the Variable is executed it is giving the correct value according to the query, but when it is passed to the
-
Using fax viewer to open a jpeg image embedded as a link.
Hi, In my application, I have a functionality for uploading scanned document which are in jpeg/bmp format. The user can later on see/print these documents. I am using <a target="_blank" href="">to open the document, so a new window(in case of interne
-
Workflow not triggered for BUS2014
Hi experts, I have created a workflow to send a mail to SAP inbox whenever a contract is created. I have tried using BUS2014 , but workflow is not trigerred. But wen BUS2012 is used WF is trigerred. But this WF sends mail on both PO and contract c
-
After updating to OS X Mavericks, internet USB dongles topped working. Many other users have faced the same problems. Can someone please help me out? I am unable to find online help.