you can call the java method from flex and coutinue to work. you will get back the control in flex to corresponding result handler , once the java method completes successfully. (or) you will get FaultEvent if there is any exception in the java method
check http://livedocs.adobe.com/flex/3/html/help.html?content=data_access_6.html for more details