ref="JsonWriterFactory.html" title="interface in jakarta.json"><code>JsonWriterFactory</code></a> also contains methods to create
 <code>JsonWriter</code> instances. A factory instance can be used to create
 multiple writer instances with the same configuration. This the preferred
 way to create multiple instances. A sample usage is shown in the following
 example:
 <pre>
 <code>
 JsonWriterFactory factory = Json.createWriterFactory(config);
 JsonWriter writer1 = factory.createWriter(...);
 JsonWriter write