--- On Fri, 2/5/10, Paul Mossman <[email protected]> wrote:
> 
> So if we want to get the script output when sipXconfig is
> updated, it
> needs to be done outside a Jetty context?
> 
> REST APIs do not require a Jetty context, right?

Right, RESTlet can run outside a servlet container as a standalone Java app - 
http://www.restlet.org/documentation/1.1/firstSteps#part04. But will require 
RESTlet jars in classpath. 

There is also JAX-WS API around (integrated in Java SE 6) to build and deploy 
RESTful web services - 
http://java.sun.com/developer/technicalArticles/WebServices/restful/ (this way 
reduce coupling).

And also, I think we will have to take into account the "Same origin policy" 
while calling it - http://en.wikipedia.org/wiki/Same_origin_policy

George



      

_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to