Michael,
Do you know if it makes much (or any) difference to JSP applications
whether objects are created by constructor or by static factory method.
Not really. A lot of the focus on JSPs has already gone from this class (since
we moved it from URIBuilder to URIQueryString). It will now main
Richard Kennard wrote:
Alan,
Thanks for your continued support.
I find the 'static factory method' approach interesting, but I'm a
little confused. You cite 'being able to return a subclass' as an
advantage. However, you also recommend a private constructor and
classes with private construct
Richard Kennard wrote:
Alan,
Thanks for your continued support.
I find the 'static factory method' approach interesting, but I'm a
little confused. You cite 'being able to return a subclass' as an
advantage. However, you also recommend a private constructor and
classes with private construct