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

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -

php - Accessing static methods using newly created $obj or using class Name -