Popular Searches

download information for Search Optimization  Search Optimization
download information for Search Engine  Search Engine
download information for Adsense  Adsense
download information for RSS  RSS
download information for Blog  Blog
download information for Compression  Compression
download information for Audio  Audio
download information for Video  Video
download information for XML  XML
download information for Screensaver  Screensaver
download information for CSS  CSS
download information for Backup  Backup
download information for Software  Software
download information for Spyware  Spyware



Tags

binding allows developers classes provides features ability marshal objects inverse unmarshal storing retrieving memory format without implement specific loading saving routines programs



Web Matches

Java Architectu..
Java Architecture for XML Binding. From Wikipedia, the free encyclopedia ... Java Architecture for XML Binding (JAXB) allows Java developers to map Java ...

Java Architectu..
A new Java API called Java Architecture for XML Binding (JAXB) can make it ... Java Architecture for XML Binding (JAXB) Java Web Services Developer Pack V 1.1 ...

Metro Web Services Technologi..
Metro Web Services for the Java Platform, Technologies ... Java API for XML-Based Web Services (JAX-WS) ... Java Architecture for XML Binding (JAXB) ...

The Java Community Process(SM..
... Java Specification Requests. JSR 222: JavaTM Architecture for XML Binding (JAXB) 2.0. JAXB 2.0 is the next version of JAXB, The JavaTM Architecture for XML ...

jaxb: JAXB Reference Implementa..
W3C XML Schema. XML DTD. Status: Production Quality ... Library for geneting Java source code. jaxb-architecture-document. JAXB RI architecture document ...

Java Architectu..
SYS-CON's XML Journal ... Java Architecture for XML Binding (JAXB, also known as Project Adelard by Java ... Java Architecture for XML Binding: http://java.sun. ...



A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z

Search Articles e.g. mp4
 

Java Architecture for XML Binding

Java Architecture for XML Binding (JAXB) allows Java developers to map Java classes to XML representations. JAXB provides two main features: the ability to marshal Java objects into XML and the inverse, i.e. to unmarshal XML back into Java objects. In other words, JAXB allows storing and retrieving data in memory in any XML format, without the need to implement a specific set of XML loading and saving routines for the program's class structure.

JAXB is particularly useful when the specification is complex and changing. In such a case, regularly changing the XML Schema definitions to keep them synchronised with the Java definitions can be time consuming and error prone.

JAXB is one of the APIs in the Java EE platform, and is part of the Java Web Services Development Pack (JWSDP). It is also one of the foundations for WSIT. JAXB is part of SE version 1.6.

JAXB 1.0 was developed under the Java Community Process as JSR 31. As of 2006, JAXB 2.0 is being developed under JSR 222. Reference implementations for these specifications are available under the CDDL open source license at java.net.

Usage

The tool "xjc" can be used to convert XML Schema and other schema file types (as of Java 1.6, RELAX NG and XML DTDs are supported experimentally) to class representations. Classes are marked up using annotations from javax.xml.bind.annotation.* namespace, for example, @XmlRootElement and @XmlElement. XML list sequences are represented by attributes of type java.util.List. Marshallers and Unmarshallers are created through an instance of JAXBContext.

In addition, JAXB includes a "schemagen" tool that can essentially perform the inverse of "xjc", creating an XML Schema from a set of annotated classes.

Default data type bindings

The Java language provides a richer set of data types than XML schema. The table below lists the mappings of XML data types to Java data types in JAXB.

XML Schema TypeJava Data Type
xsd:string

java.lang.String

xsd:integer

java.math.BigInteger

xsd:int

int

xsd:long

long

xsd:short

short

xsd:decimal

java.math.BigDecimal

xsd:float

float

xsd:double

double

xsd:boolean

boolean

xsd:byte

byte

xsd:QName

javax.xml.namespace.QName

xsd:dateTime

javax.xml.datatype.XMLGregorianCalendar

xsd:base64Binary

byte[]

xsd:hexBinary

byte[]

xsd:unsignedInt

long

xsd:unsignedShort

int

xsd:unsignedByte

short

xsd:time

javax.xml.datatype.XMLGregorianCalendar

xsd:date

javax.xml.datatype.XMLGregorianCalendar

xsd:g

javax.xml.datatype.XMLGregorianCalendar

xsd:anySimpleType

java.lang.Object

xsd:anySimpleType

java.lang.String

xsd:duration

javax.xml.datatype.Duration

xsd:NOTATION

javax.xml.namespace.QName




Related Ads





Add to Google Add to Yahoo Add to Furl  Add to del.icio.us  Add to DIGG

Resource: Part or all of the information provided in this section is brought to you via wikipedia and other similar sites. Please repsect their licenses and for more information visit the homepages of these sites.

Links
Freeware Downloads Download Information
RGB Hex Converter Web Colors
Home  Link to Us
Copyright © iFreeware Downloads 2005-2009
All rights reserved