Flex with Ruby or Flex with Java
Hi,
I need to use SNMP/SLP protocols in my application.
So i have plan to develop the Applcation using Flex and Ruby or Flex and Java(HttpServices). In future the applicaiton may need enhanced.
please any one of you help me , which one is the bset way to develop the applcation.
Thanks,
Ravi
I would go with whatever backend is more familiar to the developers and to the ones who will have to updates the application.
Similar Messages
-
Problem: fcgi with ruby on rails
hi!
i'm working on an application using an ajax based web frontend developed with ruby on rails.
with oracle apache's normal cgi this runs, but very slow (4+sec latency) compared to webricks.
does anyone have some pointers how to get fastcgi to work under these circumstances?
i'm looking for a solution on solaris.
thanks, corneliusHi,
can you provide some error messages from the logs? -
Will BlazeDS work with Flash (not Flex or AIR)?
Does anyone know if Blaze can work with Flash(not flex or AIR)?
If so, how? Any examples?
Thanks,
JamesHallo Russell,<br /><br />I'm a beginner with Flex and Flash, and I already succeeded calling the remote object with Flex. But my company requires me to use Flash (AS3).<br /><br />So, could you please give me an example of ActionScript code to call a RemoteObject in BlazeDs? The url? and call string?<br /><br />I also use Spring behind.<br /><br />I tried to use the url: "http://localhost:8080/myAppName"<br />and then the call string is "myService.getList"<br /><br />myService is the destination in the service-config.xml<br />getList is the method from the remote object which is a Java class.<br /><br />Here is the snippet from remoting-config<br /> <destination id="clasificationService"><br /> <properties><br /> <factory>spring</factory><br /> <source>clasificationManager</source><br /> </properties><br /> </destination><br /><br />and Here is the snippet from services-config:<br /><br /> <!-- Spring factory registration --><br /> <factories><br /> <factory id="spring" class="com.airbus.cm.cd.controller.SpringFactory" /><br /> </factories><br /> <channels><br /> <channel-definition id="channel-amf" class="mx.messaging.channels.AMFChannel"><br /> <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf"<br /> class="flex.messaging.endpoints.AMFEndpoint" /><br /> <properties><br /> <polling-enabled>false</polling-enabled><br /> </properties><br /> </channel-definition><br /> <br /> <channel-definition id="my-secure-amf" class="mx.messaging.channels.SecureAMFChannel"><br /> <endpoint url="https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/><br /> <properties><br /> <add-no-cache-headers>false</add-no-cache-headers><br /> </properties><br /> </channel-definition><br /><br /> <channel-definition id="my-polling-amf" class="mx.messaging.channels.AMFChannel"><br /> <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amfpolling" class="flex.messaging.endpoints.AMFEndpoint"/><br /> <properties><br /> <polling-enabled>true</polling-enabled><br /> <polling-interval-seconds>4</polling-interval-seconds><br /> </properties><br /> </channel-definition><br /><br /> </channels><br /><br />Best regards,<br />Raymond.
-
Problem in creating client side PDF with image using flex and AlivePD
I need a favor I am creating client side PDF with image using flex and AlivePDF for a web based application. Images have been generated on that pdf but it is creating problem for large size images as half of the image disappeared from that pdf.I am taking the image inside a canvas . How do i control my images so that they come fit on that pdf file for any image size that i take.
Thanks in advance
AtishayI am having a similar and more serious problem. It takes a
long time to execute, but even attaching a small image balloons the
pdf to 6MB plus. After a few images it gets up to 20MB. These are
100k jpeg files being attached. The resulting PDF is too large to
email or process effectively. Does anyone know how to reduce
size/processing? -
Flex Error #1001: Digest mismatch with RSL error
I apologize if this is not the correct location for this question but it was the closest I could find.
I am working in salesforce trying to add a new content pack. This screen uses a tool written in flash. The screen that comes up is an error with the following:
Flex Error #1001: Digest mismatch with RSL
https://cs13.salesforce.com/_swf/121310/sfc/flex/framework_3.5.0.12683.swf.
Redeploy the matching RSL or relink your application with the matching
library.
I have been working with SalesForce support but they don't have a clue and want to punt to Adobe.
The support staff at SalesForce has no trouble accessing the page with the flash control from thier pc. I have tried several computers in my office and from several browsers (IE 9 and Chrome). I have reinstalled Flash Player 11 and cleared browser caches. Nothing seems to work.
It has to be something common to computers in my office or my network. All of the information I can find on the Internet talks about rebuilding the application and redeploying it. I can't do that since this is part of SalesForce and not something I own. Also, it works for them on their computers.
I am running windows 7 64 bit. I have McAfee running (and have checked that Flash is not blocked).
The flash player itself works when I go to the Adobe site and try other content.
The only other odd thing I have is that my hard drive is encrypted.
Any ideas?
Thanks,
MikeChris,
I have cleared the browsser and flash cache data then restarted browswers and windows. Still no luck. I reverted the flash player back to 10.3 after following the instructions in the link you provided for a clean install but still get the error. SalesForce did not state what version of FlashPlayer they are using but I will check with them later today.
All of the machines that I have tested on have been at the office and all have encrypted hard drives with PGP desktop. I am going to try my laptop on my home network tonight to see if we are blocking something during the download.
This is driving me nuts. I know is it something specific to the machines in the office or the office network but I can't find it.
Thanks for your help. Please let me know if you have any other ideas.
Mike -
Hi,
We are using both Remoting and HttpService calls for our business application.
We were able to communicate with the LCDS server till this point with whatever default settings provided for AMFChannel configuration in services-config.xml through a flex client. Also we have a clustered environment for this servers which works out fine till now.
Now for performance enhancement improvements, we started using Caching Mechanism for our HttpService urls (through some third party service), which will now be cached on the network instead of accessing every time from our clustered servers. But all our AMF calls through Remoting services are still the same.
So after migrating to this Caching environment, we started encountering intermittent issues where some of our AMF calls were failing with falling exception trace :
16:03:40,576 INFO [STDOUT] [Flex] [ERROR] Error handling message: flex.messaging.MessageException: No destination with id '' is registered with any service.
incomingMessage: Flex Message (flex.messaging.messages.CommandMessage)
operation = invalid.12
clientId = D7855C44-810B-64AB-C176-7C38F83DEB2C
correlationId =
destination =
messageId = 2DA6BDB8-859E-8AE1-03A4-57743DE03188
timestamp = 1247007820561
timeToLive = 0
body = {}
hdr(DSId) = D77C6BD2-3808-1512-3984-CCF397428E35
hdr(DSEndpoint) = my-amf
errorReply: Flex Message (flex.messaging.messages.ErrorMessage)
clientId = D7855C44-810B-64AB-C176-7C38F83DEB2C
correlationId = 2DA6BDB8-859E-8AE1-03A4-57743DE03188
destination =
messageId = D7855C64-3E08-466B-96F8-5BAE7D385129
timestamp = 1247007820574
timeToLive = 0
body = null
code = Server.Processing
message = No destination with id '' is registered with any service.
details = null
rootCause = null
body = null
extendedData = null
So i do not understand, most of the times the AMF calls works correctly and some times it fails with above fail trace.
Any suggestions would be appreciated.
Thanks,
FlexPirateIt might be a bit late but replying for anyone who lands on this page facing this same problem.
The solution for "No destination with id '<my dest id>' is registered with any service" problem is that you have to make sure your destination definition is added in your:
C:\ColdFusion9\wwwroot\WEB-INF\flex\messaging-config.xml
Secondly, If you are deploying it on a ColdFusion Server, then you have to make sure exact same definition is added in Server messaging-config.xml file as well.
This should solve this problem.
While we are at it, wanted to point another possible gotcha.
if your Server is using SSL protocol i.e. it has https:// rather than http://, Then within your <destination> definition block in messaging-config.xml, you have to add appropriate secure channels in <channels> section. You can find all available channel definitions in
C:\ColdFusion9\wwwroot\WEB-INF\flex\services-config.xml -
Searching a Mysql Database With PHP and FLEX 2.0
Hi there
I need help with an adobe Flex 2 PHP Mysql project.
This project has a search feature where the user selects
Criteria based on 3 dropdown components that are populated with
dynamic data from PHP MYSQL.
When the user selects these 3 criterias,we would like the
results to be displayed on the flex application under the search
bar,
Please let me know If You would be interested.
I have Adobe Connect,MSN,AIM,SKYPE,YAHOO,etc.
We can offer more work after this job has been completed.
I am an 8 year Internet veteran with a Mass amount of
Work,and projects,for flex.
Please at least email me with any questions,
Thanks
Brandon James Broga
web technologies
[email protected]
aim = brandonjb2008
msn= [email protected]
yahoo = webtechhost...Have you gotten any replies on this yet? If not...I've
been putting small web apps, and web-enabled clients, together
under pressure for nearly 10 years...Mostly
VBscript/Javascript/SQLserver/Oracle, but I can do JSP and have
also dabbled in PHP/MySQL (my
Movies
Database Page is in PHP/MySQL). I've been trying to get some
time to setup a Flex 3 container on my home server, probly I'll use
WebOrb...
Lemme know,
Pudnik -
Attention! Laptop Lenovo IdeaPad Flex 10 is not compatible with Windows 8.1
Attention!
Laptop Lenovo IdeaPad Flex 10 is not compatible with Windows 8.1 and Windows 8.1 Update (pre-installed operating system is Windows 8.0) .
More specifically, after update for Windows 8.1 all the drivers (including the latest) Intel (R) Iris (TM) graphics, Intel (R) Iris (TM) Pro graphics and Intel (R) HD GRAPHICS installed on this laptop does not support out of the sleep mode.
This has been checked many times by different users laptop Flex 10.
Any comments from Lenovo are absent. By Lenovo specifications for this notebook there are no conflicts with Windows 8.1. It is not true!
It is unclear why Lenovo has admitted this deficiency.
I think Lenovo Flex 10 is a mistake that will cost the company Lenovo.Mine came with Windows 8.1
-
Can Flex 4.6 connect directly with a MS WCF
Can Flex 4.6 connect directly with a MS WCF without having to use a 3rd party tool like WebOrb. I have several basic httpprotocal wcf services that I want to move to a mobile app with Flex. Any feed back or insight will be appriceated.
The correct answer to this question appears to be that Apple's terms of service *do not* prohibit the loading of swf's on IOS from remote servers dynamically at runtime. They prohibit the loading of swf's that *contain executable ActionScript code*.
I loaded a PPT into Adobe Connect and then retrieved the resultant slide swf's from the Connect server. I took these swf's and loaded them into my iPad app, dynamically at runtime, from a remote server. The swf's loaded and animations played. I made no changes to my code. I'm just using a plain old SWFLoader object.
Loading swf's dynamically at runtime from remote servers into IOS works - if you make the swf's right. How to do that I'm not sure. -
Using flex 2.0 charting components with flex 3
I purchased and installed a flex 2 charting components
library so i could use it in my AIR application development. It
installed alongside the 3.0 beta visualization components so that I
now have two copies of each component in my charts folder. I can't
see how to ensure that the right library is used so that the charts
actually appear when i run my app. I'd hate to think i just threw
away $300 so any help would be greatly appreciated - .Are you using Flex Builder 3? Flex 3.0 beta Data
visualization components are available as part of FB 3 only. You
can select either 2.0.1 hotfix 3 charts (consists of only
charts.swc) or 3.0.0 data visualization (consists of
datavisualization.swc). through multiple sdks feature of FB3. For
flex 3 beta, flex 2 charting key will work. so if you want to try
out new features in charts and new components like Advanced data
grid you can switch to 3.0.0 sdk and use same flex 2 charting key
to remove watermark from charts. -
Goodbye Flex, Hello Ruby on Rails
Adobe announced it is halting development of Flash Player for mobile in the browser, but it will continue support for AIR on mobile devices.
Will Flex survive long term? I have my doubts.
I'll still develop my skills in Flex and see what happens with Flex 5, but I'll also start studying Ruby on Rails, which I actually dislike because it seems so obscure, but there are more jobs in RoR and I hear the pay rates are better.
Good job Adobe. Glad to see you're able to get the job done! Not.Today has been tough on all of us, first Heavy D dies, then Joepa retires from my alma mater, now this.
I understand your angst, I'm a little worried too. But I do have this to say, Adobe has shown a sense of urgency in adapting to the changing sands. For instance, they released Adobe Edge for free which I feel was a feeler for HTML 5. They have stepped up the release cycle going from Flex sdk 4.0->4.5->4.5.1, each step along the way incorporating more items making mobile development easier. They realize that the landscape is changing, and theat the tech world doesn't have alot of time for people who insist on doing things the old way.
Does Flash have some "issues", yeah, it does and quite a few even disregarding security issues. I dodge some websites (I'm looking at you CNN) like the cops because I know that my browser will lock up like a big block chevy at 6000 rpm with no oil.
Now lets look at Adobe as a company, what advantages does it have. The first is that is has a headlock on the creative side of things. It doesn't matter whether the software is pirated, borrowed, or stolen, if you want to do design work, you are going to get a CS family piece of software. This gives them a very firm launching point for other technologies and a market place presence. So even if Flex/Flash does become a technological ghost, there will still be other technologies and frameworks to avenge it.
My last point is, who on earth is doing well in this new world software or hardware ? Can we all bow our heads while we do a casualty count:
JavaFX: Didn't even make it to the battlefield. They couldn't transition from the Swing/AWT wars of the late 90's. Such a bad taste was left in developers mouths, they swore to never work with any frontend tech from Sun where the designers were replaced with engineers.
Silverlight: Managed to coerce, beat, threaten , extort Netflix into using their tech. They weren't really able to expand past that and are expected to be put down like Old Yeller.
Blackberry Playbook: They didn't stock their first tablet offering with email and calendar. For their insolence, they were rewarded with 3.3% market share. It doesn't help that as of late, their products have been met with the same excitement one would find at a wake.
HP Touchpad: No one really knows what is going on with HP, not even the Board of Directors. I got a Touchpad, threw Cyanogenmod on it and went to work, was a great deal for the price. An also ran in the big scheme of things, especially since they are playing musical chairs with their CEO position and business plans.
So when we compare the techs that left the gate, it appears that getting to today and still having a pulse puts you in elite company.
Message was edited by: UbuntuPenguin -
Ajax with Ruby on Rails and Oracle Database
Ajax may be used with Ruby on Rails and Oracle database.
http://www.ftponline.com/channels/java/2007_02/dvohra/okay, that helped. Here's what I get:
erik-petersons-computer:/usr/local/mysql/bin erikpeterson$ ls
comp_err mysql_zap
makesharedlibdistribution mysqlaccess
makewin_bindist mysqlaccess.conf
makewin_srcdistribution mysqladmin
msql2mysql mysqlbinlog
myprintdefaults mysqlbug
myisam_ftdump mysqlcheck
myisamchk mysqld
myisamlog mysqld_multi
myisampack mysqld_safe
mysql mysqldump
mysqlclienttest mysqldumpslow
mysql_config mysqlhotcopy
mysqlconvert_tableformat mysqlimport
mysqlcreate_systemtables mysqlmanager
mysqlexplainlog mysqlshow
mysqlfindrows mysqltest
mysqlfixextensions mysqltestmanager
mysqlfix_privilegetables mysqltestmanager-pwgen
mysqlsecureinstallation mysqltestmanagerc
mysql_setpermission perror
mysql_tableinfo replace
mysqltzinfo_tosql resolvestackdump
mysql_upgrade resolveip
mysqlupgradeshell safe_mysqld
mysql_waitpid
erik-petersons-computer:/usr/local/mysql/bin erikpeterson$
How would I create a new database from here? -
Can I Design a Forum with using web dynpro for java?
Hi All:
Can i design a forum with using web dynpro for java?
I want to design an application like a simple forum which maybe has many replies.So if i use
the UI technology "web dynpro for java", i will to create UI elements dynamically.How can i control this
dynamical UI elements to keep layout ?Hi,
yes you can do that....
for exaple if you observe SDN...
you can imagine like....
A big Transparent Container(TC)....
Inside that number of other TCs(depending upon the question nd its replies...)....
In side each TC, again around 9 UIElements....
one for menioning what is the question/reply?
other for your description of question/reply...
other for your name,
displaing your fourm point... etc...
So it will be
for(loop till your (Question+No of replies))
Create Transparent Container....
Add Childs to the Container...
Decide your layout....
In case if you want to know how to create UIElements dynamically....
http://help.sap.com/saphelp_nw04/helpdata/en/4f/07cf3dd28b5610e10000000a114084/frameset.htm
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/dynamic%2bui%2bgeneration
Regards,
Srinivas.
Regards,
Srinivas. -
Nls support with oracle xml parser in java
I'm using The JAXP interface to manipulate xml with xsl. the implementation that I use is Oracle xml parser.
My xml contains a lot of hebrew chars, and in the result stream each char translated into 5-6 chars, which makes the result to be 5-6 times bigger than it suppose to be, and harder for me to debug my application.
The client's browser shows the results well.
How can I make the transformator to transform the hebrew chars to hebrew char istead of longer and not readable string ?Oracle XML Team wrote:
: Stephen Flinter (guest) wrote:
: : Environment: WinNT 4.0/SP4, Apache 1.3.6, JServ 1.0, Oracle
: 8.1.5
: : I have downloaded the new Java v2 XML Parser (2.0.2), and
have
: : replaced the wrapper.classpath entry in my jserv.properties
: file
: : with the path to the new parser.
: : When I rerun the "Employee Page" demo, I get the following
: : exception message:
: : [15/09/1999 11:02:22:974 GMT] java.lang.NoSuchMethodError:
: : oracle.xml.parser.v2.XSLProcessor: method
: : processXSL
: (Loracle/xml/parser/v2/XSLStylesheet;Loracle/xml/parser
: : /v2/XMLDocument;)Lorg/w3c/dom/DocumentFragment; not found
: : at oracle.xml.xsql.XSLHelper.process(XSLHelper.java:34)
: : at oracle.xml.xsql.XSQLServlet.doGet(XSQLServlet.java,
: : Compiled Code)
: : at
: : javax.servlet.http.HttpServlet.service(HttpServlet.java:499)
: : at
: : javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
: : at
: : org.apache.jserv.JServConnection.processRequest
: (JServConnection.j
: : ava)
: : at
: : org.apache.jserv.JServConnection.run(JServConnection.java)
: : at java.lang.Thread.run(Thread.java:479)
: : This demo was works fine with the parser shipped with the
: : xsql_servlet download.
: : Regards,
: : Steve
: Version 2.0.2 uses the August XSLT WD which is incompatible
with
: the April WD on which our previous releases including the demos
: were based.
: Oracle XML Team
: http://technet.oracle.com
: Oracle Technology Network
Hi,
Can someone from the Oracle XML Team point us to a fix so we can
continue our testing???
Steve...
null -
I am creating a cloud service on azure with 2 virtual machines using java sdk API. Service created successfully.
My input endpoint details are as follows.
INPUT ENDPOINTS
Head : 191.238.144.47:2400
Head : 191.238.144.47:22
Node0 : 191.238.144.47:43211
For Head instance port 2400 is for HTTPS and port 22 is for SSH and for Node0 instance port 43211 is for SSH.
But I am having problem with doing a ssh on Head instance. Sometimes it works sometimes doesn't. Same problem with HTTPS also.
I have some application running over there but when i try to access it thru browser sometimes it works but most of the time doesn't. When I restart the instances from azure portal, its works after
that(not always but most of the time).
Now I am confused what is going on there. I am creating cloud service and virtual machines using java sdk and setting input endpoints also. After creation of all instances i restart every instance programmatically .
I am not sure whether restart is required or not. It must be something to do with input endpoints only but not able to get the right thing i guess. When i do the same thing thru azure portal(creation of cloud service with virtual machines and setting up input
end points) everything works fine but not achieving the result when implementing it by java sdk API. Please help me.HI Nithin,
Thanks for your reply. I am setting the endpoints after creating my instances using update call. Here's the code snippet.
AzureService aServ = new AzureService(session);
if(aServ.checkNameAvailability(clusterName)) {
aServ.createHostedService(clusterName, "dbX cluster");
// Creating head instance
aServ.createHead(clusterName, imgName, headType, userName, pswd);
// Setting end points for head node
String name = "ssh";
int port = 22;
aServ.updateVMInputEndpoint(clusterName, "Head", name, port);
// Restarting head instance
aServ.restartVM(clusterName, "Head");
String roleName = "Node";
String tmpRoleName = "";
for(int i=0; i<noi; i++) {
port = 43210+(i+1);
tmpRoleName = roleName + i;
// Creating node instance
aServ.createVM(clusterName, tmpRoleName, imgName, nodeType, userName, pswd);
// Setting end points for node instance
aServ.updateVMInputEndpoint(clusterName, tmpRoleName, name, port);
// Restarting node instance
aServ.restartVM(clusterName, tmpRoleName);
// Method to update the input endpoint details
public void updateVMInputEndpoint(String clusterName, String vmName, String name, int port)
throws Exception {
VirtualMachineGetResponse resp = computeManagementClient.getVirtualMachinesOperations().
get(clusterName, clusterName, vmName);
VirtualMachineUpdateParameters updateParameters = new VirtualMachineUpdateParameters();
//get the configuration list
ArrayList<ConfigurationSet> configlist = resp.getConfigurationSets();
//get inputendpoint list and update it
ArrayList<InputEndpoint> endpointlist = configlist.get(0).getInputEndpoints();
InputEndpoint inputEndpoint = new InputEndpoint();
inputEndpoint.setEnableDirectServerReturn(false);
inputEndpoint.setPort(port);
inputEndpoint.setLocalPort(port);
inputEndpoint.setName(name);
inputEndpoint.setProtocol(InputEndpointTransportProtocol.TCP);
endpointlist.add(inputEndpoint);
// Open port for https on head node
if(vmName.equals("Head")) {
inputEndpoint = new InputEndpoint();
inputEndpoint.setEnableDirectServerReturn(false);
inputEndpoint.setPort(2400);
inputEndpoint.setLocalPort(2400);
inputEndpoint.setName("https");
inputEndpoint.setProtocol(InputEndpointTransportProtocol.TCP);
endpointlist.add(inputEndpoint);
updateParameters.setConfigurationSets(configlist);
//required for update
OSVirtualHardDisk osVirtualHardDisk = resp.getOSVirtualHardDisk();
updateParameters.setOSVirtualHardDisk(osVirtualHardDisk);
updateParameters.setRoleName(resp.getRoleName());
OperationResponse updtResp = computeManagementClient.getVirtualMachinesOperations().update(clusterName, clusterName, resp.getRoleName(), updateParameters);
And every time i am creating a new cloud service along with head and node instances. Region is "South Central US".
I am setting ProvisionGuestAgent field to true at instance creation time. Thank you.
Maybe you are looking for
-
Error in Asset Acquisition Interface
Hi All, We have an Interface which creates an Improvement asset & acquires it. When we see the asset details in AS03, on the Depreciation areas tab, depreciation key was getting blank. This whole process happens using three jobs in sequence. The last
-
hi, i have a 404.cfm file putting in the wwwroot folder and checking for each folder's website if the certain page not exists, it should display error. it works as the code i am using is this: <cfset path = Replace(CGI.script_name, "/", "")><style ty
-
New version of itunes doesnt recognizr ipod nano
Installed new version of itunes. ipad(version 1) isnt connecting. ipod nano isnt recognized as valid device. I re installed older version of itunes and cant read music file because it was created in a newer version. Re installed new version, no ipa
-
Hi We have an sql server in cloud and two app servers which connect to an application in the sql server using ODBC. The operations take long time to execute. The same save sequence which takes 11 seconds in the SQL server (when working in the SQL s
-
What are these Key Figures / Attributes
What are these Key Figures / Attribute? Could some one explain it? $$PERIODIDCU$$ $$PERIODIDFR$$ $$PERIODIDTO$$ For example, one of it is used in SAP2 model, for Key Figure DEMANDPLANNINGQTY. It has a calculation of IF("PERIODID" >= "$$PERIODIDCU$$",