Adapt web ui to report in ejb