Here is a HelloWorld example by using openAMF connectivity with java.
I just tried invoke a method in the java class using flex. Unfortunately I had only one way to invoke my java class from Flex that is a traditional method of flash using NetConnection. I strongly belive that there is some other way. if anyone knows please suggest.
here is the files
java : here
[4.37 MB because it contains all lib files required for openAMF]
flex : here