I have two applications, one made in JSF and another in angular. I am trying to invoke the JSF application from an angular application. I have got one solution to solve the situation but searching if it is good or there is a better solution to the problem.
The one solution/experiment which I tried was using Iframe.
In this approach, I am embedding my jsf application in my current angular app.
The example code as follows:
<iframe src="http://localhost:8080/jsftestapp">
<p>Your browser does not support iframes.</p>
</iframe>
With the help of this I able to invoke the JSF application.
But I have concerns regarding points like security in Iframe, or how can we pass parameters from the angular app to jsf when needed or vice versa when required ?