
17 May
2006
17 May
'06
1:17 p.m.
All, I have a question on the Java Binding. Does the current Java binding include explicit factory notion? Factory mechanism is important to - reuse a source code with several implementation of the API without modification of the code. - leverage several implementation simultaneously from one client code. One good example of factory design can be found in the Dom parser definition; org.w3c.dom.DomImplementation. When you create a Dom document - get a DomImplementation from org.w3c.dom.bootstrap.DomImplementationRegistory - then create a Document object using DomImplementation. This mechanism might be too complicated for SAGA, but I think some flavor of this is required. -hidemoto