> On Oct 6, 2015, at 9:26 AM, David Bennett <[email protected]> wrote: > > Yes, I get that. The problem is what to do to make them interoperate directly > without having to write wrappers for the wrappers. It seems that with the > 'beans' option (which I didn't notice) the naming and calling conventions > should be close enough. [Just because there are getters and setters doesn't > mean the names are generated the same way.]
The names are generated the same way because the bean spec defines how the getters and setters are named. > > I'm still at the stage of working out exactly what kind of IDL to generate > (with what naming conventions) so I can't yet answer your question. > > Regards > David M Bennett FACS > > Andl - A New Database Language - andl.org > > > -----Original Message----- > From: Matt Chambers [mailto:[email protected]] > Sent: Tuesday, 6 October 2015 11:43 PM > To: [email protected] > Subject: Re: Does Thrift interoperate with Java beans? > > I’m confused on what you mean by “bean”. A bean is just a class with > getters/setters for each property, a no arg constructor, that is > serializable. The thrift generated code meets #1, and #2, probably not #3 > but they are thrift serializable so maybe that can be considered an > equivalent. > > What about the thrift generated classes doesn’t work with your code? > > -Matt >
