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 Application Server application in Eclipse.
To debug an application deployed in the WebLogic Server from Eclipse, start
the WebLogic Server in debug mode and configure a remote debugging
configuration in Eclipse. Next, connect the Eclipse remote debugger to the
WebLogic Server and debug applications r... (more)
XML documents can be used to transfer data. The data in an XML document can
be retrieved either with the JAXP (Java API for XML Processing) DOM and SAX
APIs, or with the JAXP XPath API. Addressing an XML document with XPath has
the advantage of selecting a single node directly without iterating over a
node set. In this article, we'll explore XPath support in Oracle
JDeveloper-XDK 11g. The article is a book extract from Packt Publishing's
Processing XML Documents in Oracle JDeveloper 11g.
With SAX and DOM APIs, node lists have to be iterated to access a particular
node. Another a... (more)
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
XMLBeans is an open source XML-Java binding tool used to generate Java
classes and interfaces from an XML Schema. The generated Java classes may be
used to parse or generate an XML document that conforms to the Schema. Some
of the advantages of XMLBeans over JAXB are the ability to parse an XML
document and support for all of the XML Schema constructs; the JAXB-generated
classes do not have a parse method to parse an XML document, and JAXB does
not support all of the Schema constructs.
XMLBeans provides the XMLObject, XMLCursor, and SchemaType APIs to parse or
construct an XML d... (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)