Obtaing a Database Connection object from Servlet Context

Hi Guys’n’Gals,

i asked myself: Is there a possibility for AS3 to obtain data from a ServletContext? For example i would like to create a database connection as an attribute of the ServletContext, and be able to access a MySQL database per AS3 using this attribute. Or is it easier to make a connection to the DB using just as3?

Greets, TWERP