There's a number of projects, which allow to communicate with R from Java: JRI, Rserve, Biocep, etc. This java library will provide a common interface and and more convenient type system. All mentioned toolkits can be used as a backend for the interface.
No content added.
The project summary page you can find here.