Welcome!

From the Trenches of the Enterprise Software

Yakov Fain

Subscribe to Yakov Fain: eMailAlertsEmail Alerts
Get Yakov Fain via: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Top Stories by Yakov Fain

Over the years, I was taking screenshots of error messages that are creative, funny, or just useless. Here’s my current collection. I’ll keep adding more images, but if you have your favorite error message, add its image in comments, and I’ll add it to this blog with proper credits. ... (more)

Methods, Constructors, Overloading and Access Levels

Methods tell us what a class can do.Developers can define their own methods and Java Developers Kit has a variety of classes and each of them may contain methods. Some methods require arguments - the incoming data that have to be processed. For example, here is the code to convert a String value to a number of the type of integer: String testStr = "5000"; int test = Integer.parseInt(testStr); It is said that the method parseInt() has one argument of type String. The method parseInt() is defined in the Java class Integer. Programmers could also define methods that take arguments, fo... (more)

Adobe Flex Goes Open Source

Adobe has announced that a large portion of the next version of Flex goes open source under Mozilla Public License (MPL). Here’s the partial list of what becomes open: mxml, compc, and ActionScript compiler, command line debugger FDB, Flex framework and RPC libraries and testing infrastructure. These are some of the components and tools that will not be open sourced: Flex Builder, Charting components, Flash Player, Apollo. This is a step toward creating a wider Flex 2 market. The interest to rich Internet technologies grows leaps and bounds, and Adobe Flex is one of the leade... (more)

A Complete Application with RPC Communications...

This is a book excerpt from the book RIch Internet applications with Adobe Flex and Java. Configuring the Server-Side Destination and Proxy For security reasons (similar to the Java sandbox concept), Flash clients can only access the domains they come from, unless other servers declare, explicitly or implicitly, trust to SWF files downloaded from our domain by a corresponding record in a crossdomain.xml file. But our portfolio SWF wasn't loaded from finance.yahoo.com, and we aren't allowed to install crossdomain.xml on the Yahoo! servers. We'll use another technique called Flex p... (more)

How Do You Deploy Patches in Your Rich Internet Application?

OK, your Flex application is already deployed in production. How are you planning to deploy patches to your code? I mean bug fixes or enhancements to specific MXML components or ActionScript classes? Of course, you can recompile the entire application with hundreds of classes just to deploy a new version of the class MyGreatCreation.as. Let’s see if there is a way to deploy just MyGreatCreation leaving the rest of your application intact. In Java world, the solution to this issue is pretty simple. A typical Java application consists of a number of .jar files (think librarie... (more)