use jar instead of service