How to deploy r dashboard on production server

and how to call r dashboard from java jsp?