Archive for 'RIA'
Glassfish + LCDS | BlazeDS + Flex 4 Up Next
19 November 2009It’s been a busy year getting a J2EE and Data Warehousing education. I’m wrapping up the ETL portion of a large Data Warehousing project. The next phase of the project is building a Flex front-end for the warehouse. I’m looking forward to using the Spark Architecture in Flex 4 for the UI, […]
Debug [server + client] LCDS Java HelloWorld in Flex Builder
2 September 2009Prerequisites
Install Flex Builder
Install LCDS Data Services
Install WTP in Flex Builder
Here’s a simple project that shows you how to create a simple Hello World for Flex + Java via LCDS. I’ll also show you how to debug the server [java] code as we move along.
File->New->Flex Project
For application server type select J2EE
User remote object access
LiveCycle […]
Install WTP in Flex Builder
2 September 2009A quick walkthrough on installing the Web Tools Platform (WTP) in Flex Builder.
Help->Software Updates->Find and Install
Search for new features to install
Select the [Europa] discovery site
Select ‘Web and JEE development’
You may need to click ‘Select Required’
AMFPHP Support for JSON POST
24 July 2009I found myself wanting to use JSON POSTs (not just GETs) with AMFPHP. Here’s the addition.
Open up core\json\app\Gateway.php.
After
$rawArgs = explode(’/', $args);
add the following
if(isset($_POST) && count($_POST) > 0)
{
$len = count($rawArgs);
// Check for and remove [last] empty arg from URL ‘/’ explosion
if($len && trim($rawArgs[$len-1]) == “”)
[…]
What, my flash gateway is already AJAX ready? Sweet.
23 July 2009I’m integrating existing Flex functionality with some new COTS [AJAX RIA] software. Looks like I’m golden on two fronts:
My existing dashboarding app leverages the dynamic module architecture blogged hear in the past. Each module was cleanly encapsulated so it’s about a dozen lines of code to convert each module into a stand-alone app […]
Connecting to 32 bit / 64 bit data sources from Tomcat (Java)
3 March 2009Problem:
When running tomcat your receive the following error when connecting to an ODBC data source
java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
Solution:
There are *two* ODBC managers in 64 bit windows. 64 bit ODBC data sources are separate from 32 bit data sources.
The ODBC manager […]
Iterating a filtered collection
12 February 2009Okay, nothing profound here but thought I’d post as it’s a common question.
If you have filtered a collection,
ex
var ac:ArrayCollection = new ArrayCollection();
…
…
ac.filterFunction = myFilter
ac.refresh()
but you’d like to iterate over / access the unfiltered collection, simply use the .list property
var items:IList = ac.list
cheers
Josh
Diving back into the blog
12 February 2009I’ve had a crazy past few months. If I’ve been slow to reply to your comments - sorry !!!
I’ll be posting regularly again now
Josh
RSL + Loading [Multiple] Dynamic Modules
12 February 2009So I ran into a Flex bug recently documented here .
If your using the framework RSL (Runtime Shared Library) and loading modules, you should read the latter link. I was loading multiple modules and noticed that that they all didn’t necessary load. A little searching and I stumbled upon the open bug […]
South Bend’s Flex User Group: RIA @ the Bend
29 December 2008If your close to the South Bend, IN area, I’ll be heading up a new Adobe Flex User Group (http://groups.adobe.com/groups/3595576894/summary). Tim Eash, another local Flex developer will also help head up the group. We’ll be updating the group site over the next few weeks.
We’ll be meeting monthly at I.U.S.B. starting in January. Many […]
Flex 4 (Gumbo) Compiler Benchmark
21 November 2008‘Benchmark’ is being used pretty loosely here. I just got back from MAX and thought I’d check out the new compiler performance.
In addition to the exciting new display logic separation (Spark Framework), the SDK team has worked on speeding up compilation.
I compiled (incremental build) a project containing 57K lines of code (34K […]
MAX 2008 - Pre-event Summary
16 November 2008Okay, the first day of Adobe MAX 2008 is winding down. MAX is being held in San Francisco this year.
Today included registration and full day labs.
Badges
The badges got a technology upgrade this year, no bar codes this year, rather an RFID name badge. The local electronic stores are closed for […]
Refactoring, Error #1065
23 October 2008I received the following runtime error in a flex project recently:
Error #1065 Variable package::Component_inlineComponent1 is not defined.
I was refactoring away from some static MXML to a dynamically loaded module. I had commented out the static MXML to test the dynamic module. Everything worked great. When I un-commented the previously working static module the […]
Revisiting one of my first RIAs
17 October 2008I spent some time updating on of my *first* RIAs today.
The application allows special needs teachers to create IEPs (Individual Education Plans) for students. The teachers fill out various (20+) forms that compose the students’ IEPs.
During the initial interviews, it was identified that the forms would be revised annually and […]
Open Source ESBs - It’s Here !!!
17 October 2008I was excited to find an unexpected package on my doorstep last weekend. I had enrolled in Manning’s early access to Open Source ESBs quite a while ago (last year???). Well the books in print and I’ve got my copy in hand.
I’m currently reading this book right now and loving it!!. […]
The Data Warehouse Toolkit
17 October 2008I’ve read some really great books the past few months and thought I’d post a review.
I’d highly recommend Ralph Kimball’s The Data Warehouse Toolkit.
I’d normally opt for an architecture book over a [dry] database book without a second thought. Well I was pleasantly surprised to find this great resource.
Kimball gives the reader a GREAT […]
Flex Modules, Watch Your Scope!!
14 August 2008Here’s another help hint for those working with Modules in Flex: Watch your variable scope!!
When loading modules, you have a number of options for loading the SWF including the ModuleLoader and ModuleManager. If neither of those fit your needs you always have access to Flash’s Loader class. ModuleManger can be used for fine […]
Dashboards… Flex’s ‘Sweet Spot’
6 August 2008Thanks Adobe!!!
I’ve taken on a number of Flex projects over the past 2-3 years. In that time I’ve used Flex to meet many types of business needs. I’ve spent the last few months working on a enterprise dashboard application built with Flex. This past week the time came for the executives’ ’sneek […]
[Tunkey] BlazeDS + JMS + ActiveMQ
1 August 2008I spent some time this week with BlazeDS and JMS. I wanted to integrate a Flex RIA with some [existing] backend Java classes. One goal was to interface the two in a loosely coupled fashion, enter Java Message Service (JMS).
The RIA uses a mx:producer to publish messages to a JMS topic […]
AMFPHP Complex Classes - Yeah I knew that
19 June 2008Just blew half an hour tracking down something I *knew* I’d done before. Thought I’d post here for future ‘lapses.’
To return a typed object from PHP to the flashplayer the process is simple, declare a variable called $_expicitType in your PHP class
e.g.
class SummaryVO
{
var $_explicitType = “com.dl.SummaryVO”;
$standards = […]
