This article compares Document Type Definition (DTD) and XML Schema elements.
Java 2 Enterprise Edition (J2EE) developers use DTDs and schemas in J2EE/XML
applications. When a DTD for an XML document is provided and validation with
an XML Schema is required, the DTD-to-XML Schema conversion creates an XML
Schema document corresponding to the DTD document.
A DTD defines the structure of an XML document and defines a document's
element types, subelement types, and the order and number of each element
type. It also declares the attributes, entities, notations, processing
instructions, and comments. An XML Schema is an XML-based representation of
the structure of a XML document. Among the advantages of XML Schema is
support for data types and namespaces. XML Schema, being XML based, is an
extensible, complex representation of an XML document structure.
In this ... (more)
The JBoss open source application server is commonly used in the development
phase of a J2EE project. In the production phase the commercial BEA WebLogic
server is preferred because of its enhanced set of features. Without
modifications, an application developed in JBoss does not deploy in WebLogic
The deployment descriptors for the WebLogic server are different from the
JBoss deployment descriptors. An application may be migrated to WebLogic by
converting the vendor-specific deployment descriptors to WebLogic. In this
tutorial an EJB application developed in JBoss will ... (more)
The WebLogic-Eclipse plug-in is designed to run the WebLogic Server from the
Eclipse IDE. With the WebLogic-Eclipse plug-in, the WebLogic Server gets
started and stopped from Eclipse. An application deployed in the WebLogic
Server can be debugged from Eclipse with the plug-in. By installing the
WebLogic plug-in in Eclipse the WebLogic Server can be configured and
administered from the Eclipse IDE by setting the server classpath and JVM
options in Eclipse.
A J2EE developer is commonly required to administer the WebLogic Server and
debug applications deployed in the WebLo... (more)
WebLogic Server 10 Technology Preview supports JEE 5. A feature of JEE 5 is
the Java API for XML Web Services (JAX-WS) used to create Web Services and
Web Service clients. WebLogic Server 10 provides the jwsc task to create the
Web Service artifacts and the clientgen task to create the artifacts for Web
Service clients. In this article we'll create an example JAX-WS 2.0 Web
Service in WebLogic Server 10 Technology Preview.
JAX-WS is an API to create Web applications and Web Services using the
XML-based Web Services functionality. To create a Web Service first create a
Service En... (more)
A J2EE application deployed in the WebLogic server may be debugged in the
Eclipse IDE with the remote debugger provided by Eclipse. Without a debugger
the error message has to be obtained from the application server error log to
debug the application.
With the remote debugger provided by Eclipse, exception breakpoints may be
added to the application file to debug. When an application is run in
WebLogic and the application generates an error, the application gets
suspended and the Eclipse IDE Debug perspective displays the error. In this
tutorial we will debug a WebLogic Applicat... (more)