You might try looking into the javax.xml.ws.Endpoint class described here: http://today.java.net/pub/a/today/2007/07/03/jax-ws-web- services-without-ee-containers.html
Looks like a lighter-weight solution than deploying Jetty. -James --- In flexcoders@yahoogroups.com, "Jhonny Everson" <[EMAIL PROTECTED]> wrote: > > Thanks. I was looking for a simpler way but i guess it's the only one... > > On Jan 30, 2008 3:53 AM, andrii_olefirenko <[EMAIL PROTECTED]> wrote: > > > you could write a local service to access your java code. that's how i > > did it: along with AIR app, the Jetty web server is installed with all > > needed java libs and interfaces to access it (web services or AMF3). > > then my AIR app will just connect to localhost and execute local java > > code as remote one. voilia :) > > > > Andrii Olefirenko > > >