Having been working with the ofBiz code for the past couple of months, I have been wrestling with the coding standard a bit. Much of the code utilizes Map objects stuffing individual name/value pairs passed around. I understand the reasoning for the use of Map objects with the service layer but there are many places in the code that Transfer Objects (TOs) would make the code easier to understand and code around. It is really fustrating to have to dig through the code to find all the fields that need to be populated for a method and to make certain that the varible name has the correct spelling and case is accurate.
Is there a reason that TOs appear to be avoided in the code? Thanks, John
