Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
As you have seen in the previous chapters, we use a Bootstrap class to instantiate a connector, a context, wrappers, and other components. Once you have those objects, you then associate them with each other by calling the set methods of various objects. For example, to instantiate a connector and a context, use the following code:
Connector connector = new HttpConnector(); Context context = new StandardContext();