A short example of the combination of RServe and JAVA