A service-oriented framework in Java