Refactored the source to include both a local and remote EJB.