Use the Component API to create viewparts in your own code, for example to display NSF content like documents, views and databases.