A1. You may use JAXB (java architecture for XML binding) for data model and XML query for searching. For large XML documents, use XML database (DB2 and oracle have some kind of XML capability) to store XML model and apply XML query on a data store. This way, you may improve performance if memory is an issue (it will be an issue when an XML file is huge).
A2. yes, you may use web service for easy maintainace and support. For quality and performance, junit test and profiling tool can be used to find code coverage and bottleneck earlier.
A4. You can set up JAVA_HOME environment variable in the default shell config file. So that when ever a command window (of the shell) is opened, JAVA_HOME is available.
A2. yes, you may use web service for easy maintainace and support. For quality and performance, junit test and profiling tool can be used to find code coverage and bottleneck earlier.
A4. You can set up JAVA_HOME environment variable in the default shell config file. So that when ever a command window (of the shell) is opened, JAVA_HOME is available.