In the next chapter, we'll discuss the XML Schema editor within NetBeans and show
how this allows us to develop complex XML schemas using graphical tools.
XML Schema Designer
In Chapter 6, we discussed WSDL and the WSDL editor, provided as part of the
NetBeans Enterprise pack. As we saw in the previous chapter, a good knowledge of
WSDL and WSDL tools is required to develop and integrate enterprise applications.
We saw that WSDL documents are well formed XML documents that must follow
certain guidelines to be valid. The standard mechanism for validating XML files is to
use an XML schema document which describes the XML document and allows XML
documents to be validated for correctness. In this chapter, we will discuss the XML
Schema Designer provided as part of the NetBeans Enterprise Pack and show how
this can be used to aid in the development and testing of XML Schema documents.
We will start by providing an overview of XML schemas and discuss how they
provide a standardized method for validating XML files. We will then continue
our discussion by introducing the support that NetBeans provides for maintaining
XML Schema documents and XML Schema components. Finally, we will delve into
different design patterns that are supported by NetBeans for editing and refactoring
XML Schema documents.
Pages:
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134