The services integration chapter of Flex 4 in Action includes an awesome set of tutorials on how to integrate Flex with
J2EE, BlazeDS, LCDS, ColdFusion, and PHP, each are handled separately, using the new data integration wizard that ships with Flash Builder 4. I'm happy to tell you that it is now easier than ever to integrate Flex with Java. I've seen this get way over-complicated very quickly in a lot of books before. If it seems complicated, you're probably looking in the wrong place. The data integration wizard makes it so easy, and you can even use FB4 to generate all your Java DTO and stub classes, along with their respective Flex VO and service classes!