Adding deployment using Java
work in progress
finishing deployment section using Java Management API