I heap scorn on iframes!!!
I misread the question. If the OP wants to embed a completely separate app, then portal technology seems apt.
Unless a facelet component with a backing bean, invokes the app, packages up the generated HTML and presents it.
This of course leads to all sorts of css, js, image reference issues and is not a trivial task.
WP