News by Robert Cadena

Useful Patterns for BlazeDS

4 Jun 08:55
While running the Los Angeles Flex Users Group I got a lot of questions from people about how BlazeDS could fit into their existing infrastructure. Typically, they will have an application container, such as JBoss, or maybe just a servlet container, like Tomcat, and a SQL backend. Usually MySQL or PostgresSQL. JSPs are [...

BlazeDS, Spring, and Acegi Security - Part 3

2 Jun 08:50
Update: The “start”-method-not-getting-called bug is now a filed in the adobe bug tracker: http://bugs.adobe.com/jira/browse/BLZ-190 This post is another baby step in getting acegi/spring security and blazeds to work together. The whole purpose of these exercises is to for acegi to handle authentication/authorization and destination security. Even bypassing container security. In the last part I talked [...

BlazeDS, Spring, and Acegi Security - Part 2

31 May 10:57
In an earlier post I talked about BlazeDS and Spring Security and gave a high level overview of how to get a BlazeDS destination to be secured with Acegi security instead of BlazeDS’ security. However, I overlooked a simple thing that would make the whole system play nicer with Flex. That is, [...

Safari-like Text Finder in Flex

24 May 09:09
This is a component that mimics the text finding functionality in Safari. When you do a search it dims out the text field and highlights the currently found fragment of text. Other fragments in the text are currently set apart by a black rectangle, but I plan to change that.  This is kind [...

Going to the Microsoft Technology Summit

25 Mar 06:03
I was recently invited to the Microsoft Technology Summit, a two days worth of sessions on MS technologies. My guess for why I was invited is because I run the Los Angeles Flex Users Group. I looked around for criteria for invitees and found a blog post here: “The event is specifically for [...

Flex: Composite Validator

6 Mar 08:46
This is a quick utility class I came up with that will keep track of a set of Validators and change a bindable property to true if all of the validators it tracks are valid and false if any of the validators is invalid. I wanted this so I could quickly say something like: <mx:Button label=”OK” enabled=”{compositeValidator.valid}” [...

BlazeDS and Spring Security

15 Feb 11:05
I’ve been trying to figure out how to use Acegi security with BlazeDS, hopefully working it in with Spring MVC and this is what I ended up with. If anyone has other suggestions please let me know. This is a topic that really needs discussing. The way you secure a destination in BlazeDS is [...

SQLite in AIR - Slow writes

30 Jan 12:58
Just a quick note on SQLite in AIR and slow writes: using transactions will speed up multiple inserts/updates. haven’t had a chance to do any performance tuning or testing when using SQLite in AIR.  But just today I finished writing some tests for writing some stuff into a SQL db and noticed that the writes were [...

Testing SWFs for Search Engine Visibility: Using Adobe’s Search SDK

22 Jan 06:12
With the recent news about Google possibly using Adobe’s Search SDK to index text in swfs I thought I’d post a quick howto for downloading the sdk and testing out your swfs to see what they look like to the link extractor. First, download the SDK: http://www.adobe.com/licensing/developer/ Scroll down to where it says “SEARCH ENGINE SDK” Click on “Begin [...

InsideRIA: New O’Reilly site about everything RIA

22 Jan 05:49
A new site dedicated to everything RIA by O’Reilly, with posts from people like Rich Tretola of EverythingFlex.com,  Andre Charland from Nitobi, Andre Trice from Cynergy Systems, and many others. http://www.insideria.com/ There’s already some good leads there like a post about Google possibly using Adobe’s Search SDK to index swfs. http://weblogs.macromedia.com/jd/archives/2008/01/google_swf_sdk.