Jai’s Weblog – Tech, Security & Fun…

Tech, Security & Fun…

  • Jaibeer Malik

    Jaibeer Malik
  • View Jaibeer Malik's profile on LinkedIn
  • Subscribe

  • Feedburner

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 32 other followers

  • Archives

  • Categories

  • Stats

    • 412,782
  • Live Traffic

  • Advertisements

Tips&Tricks: Flex-Cairngorm-Blazeds-Spring-JPA-Hibernate

Posted by Jai on October 10, 2012

This post includes some of the lessons learned during recent integration and usage of these framework. This is just to help out in case you too fall into these small small problems which may eat of lot of your time.

Cairngorm maven pom dependency entry







The prefix “mx” for element “mx:Script” is not bound

Either define the namespace xmlns:mx=”http://www.adobe.com/2006/mxml&#8221;

or use this panel in namespace somewhere

Flex declare constant data model

Use <mx:Model

Flex get browser locale

Get locale in using  javascript and pass it to flash as variable args.

i18n support in Flex :

Refer to runtime localization, http://labs.adobe.com/wiki/index.php/Flex_3:Feature_Introductions:_Runtime_Localization

Cairngorm ServiceLocator channel configuration


<mx:ChannelSet id=”myChannelAmf”>
<mx:AMFChannel connectTimeout=”60000″ pollingEnabled=”false” url=”messagebroker/amf” />

Include assets in app:


[Embed(“/assets/images/logo.gif” )]

Useful resources:






Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: