Added ejb local interface to handle inputstream