Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6877849
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:39:01+00:00 2026-05-27T04:39:01+00:00

I am new in Flex Development, While creating a new Mobile project it asks

  • 0

I am new in Flex Development, While creating a new Mobile project it asks me if I want to Connect it to Some Servers and gives me four options `ColdFusion, PHP, Java and blazeDS).

I have worked in java for all the time and not a PHP fellow, I would have simply selected Java and ignored all other. But Since efficiency is an important concern in my current project I dont want to take a chance.

According to you Which one is the best option i.e. ColdFusion, BlazeDS or Java, considering the fact that most of the time I will be storing large binary data in database i.e. Audio / Video files etc.?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T04:39:01+00:00Added an answer on May 27, 2026 at 4:39 am

    Since you’re a Java guy, you can immediately drop the PHP option: its AMF remoting options are slower than the other 3 and you don’t want to learn a new language.

    That leaves us with Java, CF, and BlazeDS, which are all basically flavors of Java and performance-wise they can be fairly similar (if used correctly: see further on):

    • Java: the most basic option; I reckon it’s the fastest option for AMF remoting; plus you know the language
    • BlazeDS: this is actually a Java server application that allows you to push messages to the client; so you can also write in Java; but if you don’t require the added functionality, don’t bother
    • ColdFusion: a ‘productivity layer’ on top of Java: whether or not you like the language is up to you to decide (I personally am not a big fan). You will have to setup a ColdFusion server. Though the developer edition of the CF server is free, the commercial edition is very expensive (unless you use Railo or BlueDragon).

    But there’s one thing you need to know. Instantiation in CF is terribly expensive – I mean like 500 times slower than Java -, so if you have big lists it’s definitely a nono. Unless you use the trick I bumped into a few months ago: instead of instantiating an object you have to create a ‘struct’ and give it a ‘__type__’ attribute.

    example, instead of:

    var instance = new path.to.MyClass();
    //or
    var instance = createObject("component", "path.to.MyClass");
    

    do it like this:

    var instance = structNew();
    instance["__type__"] = "path.to.MyClass";
    

    and ColdFusion will be just as fast – or maybe even slightly faster – then Java.

    I have some benchmarks to back this up. This image is a comparison of how much time it takes to create 50000 instances in some languages. (I was actually trying to tell my boss how crappy CF really is.) And CF8 (not in the chart) is even 100 times slower.

    enter image description here

    Then I added AMF serialization and the ‘typed struct’ (as described earlier) to the list and this is the result:

    enter image description here

    Some column names were lost in the graphic, but the second column from the left is the pure Java option. So with this approach CF9 seems to actually be faster than Java.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Whenever I make a new Flex project it always asks me Server Type. So
I would like to learn Adobe Flex mobile development. I have created a new
i am new developer to work on adobe flex mobile development.I have try for
I want to use FlashBuilder 4.5.1 to build a flex mobile project that lets
i am very new to iphone development. however i have some experience in flex(flash)
I'm creating a new Flex component (Flex 3). I'd like it to have a
I'm new to Flex SDK and trying to implement a simple project using Doug
I'm new to Flex, although not new to programming. I want to write a
I’m new to Flex and Cairngorm.While I’m using ServiceLocator,I do run into the problem:
I'm pretty new in Flex development. Now I'm learning layouts in Flex. I try

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.