Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread
Message: 97430
BY: Amal Chaudhuri (amalc)
DATE: 2012-01-27 17:06
SUBJECT: RE: Ruby to Java

 

Presumably the Java service is expressed as a uri? If so, you shouldn't need to use RJB.

In any case, we use native ruby strings to call Java with RJB and the conversion is handled with rjb quite cleanly.

e.g.

result = service.volsProgrammesAtDay('abcde')

You will also need to Rjb::import the service as well, which probably happening somewhere else in your code.

HTH.


Thread View

Thread Author Date
Ruby to Javapriscilla colleaux2012-01-27 16:30
      RE: Ruby to JavaAmal Chaudhuri2012-01-27 17:06
            RE: Ruby to Javapriscilla colleaux2012-01-27 17:54
                  RE: Ruby to JavaAmal Chaudhuri2012-01-27 20:09
                  RE: Ruby to JavaAmal Chaudhuri2012-01-27 20:16
                        RE: Ruby to Javapriscilla colleaux2012-01-27 21:04

Post a followup to this message