Integrated the sync server into a web app with a session bean