ニュース

今月から再びJava SE 6完全攻略に戻りましょう。4月に,Java SE 6におけるXMLに関する新機能ということでStAXを紹介しました。今月もXMLに関する新機能であるJava Architecture for XML Binding,通称JAXBを紹介します。
このアノテーションによって,Javaとスキーマの相互変換が可能になるのです。 それでは,JAXBが使用するアノテーションを紹介していきましょう。 JAXBで使用するアノテーションはjavax.xml.bin.annotationパッケージで定義されており,全部で29種類あります。
JAXB JAXBの概要 JAXBは、XMLデータとJavaオブジェクトの相互変換を実現するためのAPIで、Java SE 6から標準API(パッケージ名はjavax.xml.bind.*)となりました。 JAXBのアーキテクチャの全体像につきましては、前回(Cyber Luxeonで学ぶXMLDB入門 第4回)を参照してください。
The JAXB binding framework provides methods for unmarshalling XML instance documents into Java content trees — a hierarchy of Java data objects that represent the source XML data — and for ...
It is probably safe to assume that the majority of people who use JAXB today use the xjc compiler to create Java classes from XML Schema files rather than from Document Type Definition ( DTD ) files.
The Java Architecture for XML Binding provides a powerful and practical way of working with XML content from within Java applications. The newly released JAXB 2.0 offers many new features ...
The Java XML Binding (JAXB) runtime that ships with OpenJDK 1.8 uses a default configuration that protects against XML external entity (XXE) attacks. Contrast researched this secure default ...