However aerogear framework does it through ajax call. So is there a difference in calling through Ajax or through browser?
Also what is a significance of using beans.xml?I started getting following error after adding it. I am trying to slf4j for login.
org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [Logger] with qualifiers [@Default] at injection point [[field] @Inject private com.icare.rest.regt.RegistrationService.log