Preferably the UI jar would be packaged in a static module and added automatically to deployments, if that is enabled in the server configuration.