In Flex, you access the database indirectly, using HTTPService, WebService or RemoteObject. If you have to use Java, you should use the HTTPService tag to invoke a servlet or JSP that access the database and returns the data as XML. It should look something like this:
<users> <user> <userid>***UserID goes here***</userid> <username>***User name goes here***</username> <emailaddress***e-mail address goes here***</emailaddress> </user> </users> For the basic client-side and server-side code you'll need, see the DevCenter articls on PHP (http://www.adobe.com/devnet/flex/articles/flex2_php.html) and ColdFusion (http://www.adobe.com/devnet/coldfusion/articles/integrate_flex.html) . HTH Randy Nielsen Flex Documentation Manager Adobe Systems, Incorporated