기본 콘텐츠로 건너뛰기

12월, 2014의 게시물 표시

JAXB 관련 Tools

회사에서 외부 인터페이스 통신에 많이 쓰이는 JAXB 관련 툴. schemagen과 xjc 는 사용하고 있는 것인데, 다른 것은 처음보는 것이어서 일단 정리해 놓는다. 그나저나  Maven JAXB2 Plugin 이 있다면 혹시 Gradle Plugin도 나와있지 않을까? [출처: Javacodegeeks] JAXB Tutorial for Java XML Binding – The ULTIMATE Guide 1. schemagen Schema Generator https://docs.oracle.com/javase/7/docs/technotes/tools/share/schemagen.html https://jaxb.java.net/2.2.4/docs/schemagen.html 2. xjc JAXB Binding Compiler. XSD 파일에서 Java Source 파일 추출 https://jaxb.java.net/2.2.4/docs/xjc.html 3. Jsonix XML 파일을 JSON 으로 변환 http://confluence.highsource.org/display/JSNX/Jsonix 4. Hyperjaxb3 It provides relation persistence for JAXB objects. It uses the JAXB annotations to persist the objects in relational databases. It works with Hibernate, probably the most used Java persistence framework.  http://confluence.highsource.org/display/HJ3/Home 5. Maven JAXB2 Plugin Plugin for Maven that offers all the functionalities from the xjc tool and many more while converting