Microsoft to offer Java as a service