Posts

Showing posts from April, 2008

FlexUnit + ANT + AIR

I'm a big fan of Unit Testing and Continuous Integration . Peter Martin blogged about how to achieve this for Flex. Basically, he created an Ant task that starts a server socket connection and forks a browser that launches a flexunit based application. The application opens a client socket connection back to the server and streams the flexunit results in JUnit XML format. The server reads the xml stream and writes it on the local disk. Notice that all of this is done so that a flex application in a browser can write to the local disk. Pretty clever, but this is where AIR makes life a bit easier. A Flex application using AIR can write to a local disk drive. Since the source code of JUnitTestRunner was available (thanks Peter), I was able to 1) learn something and 2) adjust the sendResults function to write the result to disk. private function sendResults() : void { for each (var report : Object in reports) { var xml : XML = createXMLReport(report); var utf...

Glassfish on OSGi

Not to say that I predicted this at the last JavaONE - but JBoss is going to be based on OSGi and now so is Glassfish . Too cool - you will see more and more web servers will be based on OSGi and with Spring-DM to wire your POJOs - That is how you write enterprise software. Blogged with the Flock Browser

Code Coverage For Flex

Joe Berkovitz just release a flex code coverage tool - this is very cool - have to use it in my ant build before calling flexunit . Blogged with the Flock Browser

Trim Down Windows to the Bare Essentials

Read Trim Down Windows to the Bare Essentials on lifehacker. Have to try this on my Mac. Blogged with the Flock Browser

Improving Flex application performance using the Flash Player cache

Check out this article: Adobe - Developer Center : Improving Flex application performance using the Flash Player cache