ニュース

今月から再びJava SE 6完全攻略に戻りましょう。 4月にはJava SE 6におけるXMLに関する新機能ということで,StAXを紹介しました。今月もXMLに関する新機能であるJava Architecture for XML Binding,通称JAXBを紹介します。 JAXBはJava SE 6より一足早く,Java EE 5で採用されてい ...
先週は,JAXBを用いてXMLのスキーマからJavaのクラス生成ができることを紹介しました。そして,生成したクラスを使用してXMLドキュメントからJavaのオブジェクトを生成させました。 XMLのスキーマとJavaのクラスを対応させることをバインディング,XML ...
CodeZine BOOKS(コードジン・ブックス)は、CodeZineの連載からカットアップした、開発現場の課題解決に役立つ書籍シリーズです。 XMLDocument(com.exln.dxe.filesystem)インターフェイスを使用します。XMLDocumentインターフェイスは、Cyber LuxeonのAPI上で、1つのXML ...
The Java Architecture for XML Binding (JAXB) is a new Java technology in the Java Web Services Developer Pack (JWSDP) that enables you to generate Java classes from XML schemas. JAXB provides a free, ...
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, including ...
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.
Java 9で「モジュール」の機能が追加された際に、標準ライブラリからいくつかのモジュールが非推奨となりました。その中に、Java本格入門で紹介しているJAXB(p.262)も含まれています。 そのため、Java 9以降のJDKでは、本書のサンプルはコンパイルエラーと ...