Hi,
Firstly you should not be compiling your your Java classes
with Flex project. Java classes have to be in the classes folder of
the web application, which has BlazeDS/LCDS jar files deployed.
Please visit the URL below for details on how to use
RemoteObject to invoke methods on Java classes on the server.
http://livedocs.adobe.com/flex/3/html/data_access_4.html#202412Hope this helps.