VOOZH about

URL: https://www.javacodegeeks.com/tag/jaxb

⇱ JAXB Archives - Java Code Geeks


  • Core Java👁 Image
    Dustin MarxJanuary 23rd, 2019
    0 2,441

    Running JAXB xjc Compiler with OpenJDK 11

    As described in the post “APIs To Be Removed from Java 11,” a JAXB implementation is no longer included with…

    Read More »
  • Enterprise Java👁 java-interview-questions-answers
    Dinuka ArseculeratneAugust 11th, 2016
    1 469

    An introduction to working with JAXB

    I am in the process of migrating a few modules that are dependent on Apache XMLBeans to JAXB. It has been…

    Read More »
  • Enterprise Java👁 Image
    Dustin MarxJuly 25th, 2016
    0 307

    JAXB and Log4j XML Configuration Files

    Both Log4j 1.x and Log4j 2.x support use of XML files to specify logging configuration. This post looks into some…

    Read More »
  • Enterprise Java👁 Image
    Dustin MarxJune 30th, 2015
    1 4,733

    Generating JSON Schema from XSD with JAXB and Jackson

    In this post, I demonstrate one approach for generating JSON Schema from an XML Schema (XSD). While providing an overview…

    Read More »
  • Java核心👁 Image
    Dani BuizaApril 11th, 2015
    0 951

    用于Java和XML绑定的JAXB教程– 终极指南

    Java为处理XML结构和文件提供了一系列的选项。JAXB是其中最常见使用的一种。JAXB全称是Java Architecture for XML Binding。它能够将Java对象装换为XML结构,反过来亦然。JAXB是在JRE 1.6的第一个版本中随着JRE标准包一起发布的。 JAXB的第一个规范在2003年3月完成,实现过程由 Java Specification Request 31: https://jcp.org/en/jsr/detail?id=31所跟踪。在这个规范请求中你可发现很多关于JAXB的成长和所有的改进。 就像刚才提到的,JAXB实在1.6中加入JRE包的。在此之前,要使用它必须将它的包加入到工程中。 在JAXB可以使用之前(很久之前),Java处理XML的方式是DOM: http://www.w3.org/DOM/。这种方式并不是最好的,因为没有很好的抽象来映射XML节点,所有的值类型都被认为是字符串。JAXB有许多的优点,比如面向对象方式的操作XML节点和属性,值类型,注解和本文中将要阐述的其他优点。 本文中的所有例子程序都是使用以下版本来实现的: JRE 1.8.0 for 32b。所使用的IDE是Eclipse…

    Read More »
  • Core Java👁 Image
    Yegor BugayenkoApril 1st, 2015
    1 127

    JAXB Is Doing It Wrong; Try Xembly

    JAXB is a 10-year-old Java technology that allows us to convert a Java object into an XML document (marshalling) and…

    Read More »
  • Enterprise Java👁 java-interview-questions-answers
    Dustin MarxFebruary 20th, 2015
    0 780

    A JAXB Nuance: String Versus Enum from Enumerated Restricted XSD String

    Although Java Architecture for XML Binding (JAXB) is fairly easy to use in nominal cases (especially since Java SE 6),…

    Read More »
  • Core Java👁 Image
    Dani BuizaDecember 18th, 2014
    15 3,979

    JAXB Tutorial for Java XML Binding – The ULTIMATE Guide (PDF Download)

    In this post, we feature a comprehensive JAXB Tutorial for Java XML Binding. Java offers several options for handling XML…

    Read More »
  • Enterprise Java👁 java-interview-questions-answers
    Daryl MathisonOctober 31st, 2014
    0 127

    The JAXB Well Known Secret

    Introduction I rediscovered a library that Java offers to the masses. When I first read the specification, I was confused…

    Read More »
  • 1
  • 2
  • 3
  • 4
  • 5
  • »
Back to top button
Close