i am trying to run a web application where i have to communicate data from the servlet to the receiving devices. i can't use js as all the servlet calls are going to be async. i am using google app server to deploy the dynamic web application and using get method to access the servlet. so i decided to use java pubnub sdk. when i try running the sdk from the server i am getting " java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "setFactory")" exception. can anybody please assist me what i could do or how i could approch the solution
GAE (Google App Engine) is not a complete implementation of the JDK classes. The exception you are getting is a result of the SDK attempting to open a socket connection. From what I can tell socket connections are only available for paid apps on GAE.