Someone here is developing an app in asp.net (Visual Basic) as this is their preference language. 

Now the method he's creating (as he already started work on it) will carry out multiple databases queries. 

I have a java application i.e. Java EE that requires the same output from the function of the vb application. 

Is there any way I could exchange the data as in send data from jsf to asp.net, process in vb and get output back in jsf? 

The only data I require is a string consisting of 8 characters at the most. So not serious data to be transferred.