File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes CORS- will it cause any issues iif multiple servers are used! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "CORS- will it cause any issues iif multiple servers are used!" Watch "CORS- will it cause any issues iif multiple servers are used!" New topic
Author

CORS- will it cause any issues iif multiple servers are used!

Suparn Gupta
Greenhorn

Joined: Feb 26, 2012
Posts: 16
Hello everyone,

I am working on a web application based on Rest service architecture using EJB n EclipseLink. We have 3 boxes. On first one Has the Ui, second one has api war files and the last box is a mysql server. They are all on separate server instances. On thE UI javascript is supposed to make calls to the API. My concern is since UI and API are on different server instances,will cross origin resource sharing cause any issue. I mean will the browser accept response from API box. Or is this irrelevant to my scenario?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: CORS- will it cause any issues iif multiple servers are used!