How to call a java function from jQuery?

How to call a java function from jQuery?

I have a java class 'find' which has a function 'getValues' which returns string array.

I want to call that function getValue() from a jQuery and convert it into a jQuery array.

Can any one help me how to d so?