javascript - communication between ear modules -
hi working on project there rest service deployed part of ear , our application deployed different ear . (let me call restapi.ear , myapplication.ear) .
we have gui deployed in myapplication.ear , want access rest services through our gui. js file within myapplication.ear using rest apis exposed restapi.ear .
i read cross domain js problems suggestions how allow communication . best practices have follow allow integration.
you can configure server support cors
can take tomcat 1 example tomcat 7 cors_filter
Comments
Post a Comment