Subscribe
Tutorial search

Java XML Tutorials


We hope that you will enjoy our Java XML tutorials. Feel free to contact us if you would like to be a tutorial hero and contribute your own Java XML tutorial to our site. Thank you !

Sort by:
Building XML With Java And DOM
Building XML With Java And DOM
This tutorial covers building basic XML structures in Java. Learn basic XML structure, and how to build XML in Java with DOM. Also learn to use the TransformerFactory to convert the DOM to strings.
Difficulty:
Web Services Example Using Axis 2 and Tomcat
Web Services Example Using Axis 2 and Tomcat
The aim of this tutorial is to write a simple 'Hello World' web service and client using the Axis2 framework. We will write and deploy the service, then run wsdl2java to create the client stubs and finally, create the client that connects to the service. Easy to understand step by step instructions.
Difficulty:
Effortless XML manipulation with Groovy slurping
Effortless XML manipulation with Groovy slurping
To be a successful software developer in this day and age, you need a set of tools that makes dealing with XML effortless. Groovy introduces new and better ways to create and process XML. With the help of some examples, this article shows you how Groovy makes building and parsing XML refreshingly simple.
Difficulty:
Methods to resolve namespaces with the Java API
Methods to resolve namespaces with the Java API
Explore namespaces in XPath expressions with the Java language and its XML functions. Learn three ways to provide the prefix to namespace mapping using the NamespaceContext object. This article contains example code to make it easy to code your own NamespaceContext.
Difficulty:
Create and Process XML Documents with Oracle JDeveloper 11g
Create and Process XML Documents with Oracle JDeveloper 11g
This book provides up-to-date information on working with the latest version of JDeveloper, and completely new information on JAXB 2.0 support in JDeveloper 11g. Users will also learn how to master the built-in XML features in JDeveloper 11g including schema validation, the XSD Visual Editor for creating an XML schema, the XPath Search tool for selecting XML nodes with XPath, and the JAXB compiler for generating JAXB 2.0 Content Model from an XML Schema.
Difficulty:
Make better web-based dashboards with XQuery
Make better web-based dashboards with XQuery
Many digital dashboards that cropped up in the 1980s were horrible (if not unsubtle) analogs to a car's dashboard. Discover what makes a good dashboard, and learn to identify and leverage key performance indicators (KPIs) for more effective digital dashboards. Finally, build a Web dashboard using the eXist XML database and XQuery.
Difficulty:
Create XML schema from Java then back again with JiBX
Create XML schema from Java then back again with JiBX
Code generation from XML schema definitions is widely used for all types of XML data exchange, including Web services. JiBX data binding has long been known as the fastest and most flexible approach for binding Java code to XML. Learn how to create quality XML schema from Java with JiBX and then how to generate Java code easily from XML schema definitions.
Difficulty:
Build a DB2 pureXML application in a day
Build a DB2 pureXML application in a day
This article describes how to build a complete IBM DB2 application in a day using an end-to-end XML architecture. XML is used for storing, viewing, and manipulating information. One of the major advantages of creating an application utilizing XML in all levels of the application architecture is to avoid the need to transform data from one format to another.
Difficulty:
Trade bad XSLT stylesheet habits for great code
Trade bad XSLT stylesheet habits for great code
Inexperienced XML and XSLT developers often exhibit bad habits that can cause critical flaws in XSLT code. In this article, get a feel for the typical problems that come up in stylesheets and how to remedy them.
Difficulty:
Faults and exceptions in JAX-WS
Faults and exceptions in JAX-WS
This article details the Java API for XML Web Services (JAX-WS) mapping of Web Services Description Language (WSDL) faults to Java exceptions, Java exceptions to WSDL faults, and some other exceptions defined by the JAX-WS specification.
Difficulty:
Handle XSDs in Java using Rational Software Architect
Handle XSDs in Java using Rational Software Architect
This article explains some common XML Schema Definition (XSD) features that aren't directly supported in Java-based Web services toolkits. Learn how to handle these features by creating an intermediate Java-friendly XSD or enforcing XSD restrictions in code.
Difficulty:
Create application simulations with the Simulation Producer
Create application simulations with the Simulation Producer
Discover the updated Simulation Producer, a Microsoft Foundation Class, Visual C++ application that creates application simulations that can be displayed in various modes: as a Java applet, as a Flash movie, and as DHTML/JavaScript. Updates to this technology include Movie Mode capture capability and enhancements to simulation scripting, playback controls, and template functionality.
Difficulty:
Dust off your XML fundamentals and master good document construction
Dust off your XML fundamentals and master good document construction
This article revisits some XML basics, from document structure to the age-old attributes versus elements issue. You'll relearn how to optimize your XML and ensure it's in tip-top shape.
Difficulty:
Web Services for DB2 Cube Views
Web Services for DB2 Cube Views
Web Services for DB2 Cube Views provide access to multidimensional data stored in DB2. Find out how these Web services allow a client application to read data from the cubes and perform basic online analysis on multidimensional data and metadata through the Web, using XPath and XML.
Difficulty:
Extend and Customize OpenCMS through its Java API
Extend and Customize OpenCMS through its Java API
Ope nCms may be used to manage content right after installation. One way of using it is to import static fi les into the Vir tual File System (VFS) and utilize the publishing and version control features to manage them. In this scenario, fi les from an existing non-content managed website may easily be content managed. Files in the VFS may be created, edited, and previewed in the offl ine staging area, before they are published to the online fi le system. When published, versions can be taken to allow for roll back, if necessary. Files in the VFS may also be exported to the Real File System (RFS) an d served statically or by a web server. In this way, the website can operate in exactly the same way it did, prior to being placed into OpenCms, except for the fact that it is now version controlled.
Difficulty:
Total Tutorials in Category: 35