Strange Loops

No Matter Where You Go, There You Are

Java and Bistro Objects

| Comments

I’m thinking about one of the problems with Bistro which is that Java and Bistro objects don’t mix very well. The problem is that there are two parallel object hierarchies.

I’m thinking that I need to write a Java program that will create proxy objects for Bistro. Wrap the various methods calls for a Java object. I’m not quite sure what the drawbacks are. I tried it out a bit earlier this week but generating bistro code is gonna take a little more work than I expected.

My current plan is to have xml-ify the java class definition and then parse the xml in ruby and generate bistro code. The ruby part is there because I’ve been meaning to try out some ruby.