On Monday 31 December 2001 11:48 am, Tavis Rudd wrote:
> +1 , but lets think through the actual API changes it would entail:
>
> * trans.request instead of trans.request(), trans.response.write(...)
> instead of trans.response().write(...), etc.

Nice.


> * trans.request() and trans.response() would raise an exception, etc.

Which would make sense in the new format.


> * lots of changes to existing servlet code !!! though a conversion
> tool could ease migration

I feel obligated that the project provide a conversion tool with the 
release that uses the properties style. I have 2 juicy projects I can 
test such a tool on and I'm sure there are others who would be willing 
to help with testing that.


> What about the internal attributes/methods that are underscored?

Most of the underscored attributes are to prevent name conflicts with 
their methods. Other underscored attributes are never exposed for 
reading by external users of the class and should remain so. Likewise 
for methods.


Another interesting question: Can a script aid in the conversion of 
Webware, or is it better to just go line by line with the occasional 
search and replace?

.response() --> .response
._response --> .response


-Chuck

_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to