| View: | [ 2011 | 2010 | 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 ] |
| Articles |
- Optional XML in relational databases, Part 2: Create, store, and manipulate optional XML data with JAXB and Java annotations by Stephen B Morris - [Clicks: 27]
Explore the software required to create, store, and manipulate optional XML relational data in this article -- the second in a two-part series. The software used includes fully worked code examples with Java Architecture for XML Binding (JAXB), the Java Persistence API (JPA)/Hibernate, an in-memory database, and persistence-related annotations.
[Includes sample code]
http://www.ibm.com/developerworks/xml/library/x-modelparsedb2/index.html - Jul, 2009 - Optional XML in relational databases, Part 1: Are null values needed? by Stephen B Morris - [Clicks: 9]
Optional XML elements -- for example, online forms -- are special in that they might or might not appear in XML files. Representing such optional elements is a challenge both in programming languages and in databases. In many cases, null values are inserted in databases to represent empty optional elements, but null database XML values can be difficult to retrieve. Discover alternative, less-invasive approaches to handling optional XML elements without the need for data overloading or inserting null or other sentinel values.
http://www.ibm.com/developerworks/xml/library/x-modelparsedb1/index.html - Jun, 2009 - Exposing Domain Models through the RESTful Service Interface, Part 1 by Felipe Gaucho - [Clicks: 18]
JAXB and JPA can be combined to reduce the boilerplate code of Java EE applications and to optimize the performance of RESTful web services--a flexible solution, which preserves the original domain model while following the JPA, JAXB, and HTTP standards.
http://today.java.net/pub/a/today/2009/06/04/exposing-domain-models-part-1.html - Jun, 2009 - JiBX 1.2, Part 2: XML schema to Java code by Dennis Sosnoski - [Clicks: 19]
Code generation from XML schema definitions is widely used for all types of XML data exchange, including Web services. Most data-binding tools rigidly structure generated code based on the schema — even aspects of the schema that may be irrelevant to your application. In this tutorial, second in a two-part series, learn how JiBX 1.2 generates cleaner code by doing a better job of interpreting the schema and eliminating unnecessary class clutter. You'll also see how you can customize the generated code to suit your needs better, including customizations that easily eliminate unnecessary components of the schema.
[Includes sample code]
http://www.ibm.com/developerworks/java/tutorials/j-jibx2/index.html - Mar, 2009 - JiBX 1.2, Part 1: Java code to XML schema by Dennis Sosnoski - [Clicks: 22]
XML schema definitions are the basis for many types of data exchanges, including most forms of Web services. But XML Schema is a complex standard, and most tools for creating and modifying schema definitions are not as powerful or easy to use as those for working with Java code. The new features of JiBX 1.2 that you'll learn about in this tutorial — Part 1 of a two-part series — let you start from Java code and easily generate quality schema definitions to match your data structures. You can then use the schemas directly, whether you use JiBX data binding or not.
[Includes sample code]
http://www.ibm.com/developerworks/java/tutorials/j-jibx1/index.html - Mar, 2009