JAXB 2.2ã§ã®å¤æ´ç¹
JAXBã¹ããã¯ã¯JavaEE6ã¸åãã¦å°è¦æ¨¡ãªã¡ã³ããã³ã¹ã¬ãã¥ã¼(2.2)ãäºå®ãã¦ãã¾ããæ¬å½ã¯å¹¾ã¤ã大ããæãå ¥ãããã¨ããããªãããªãã£ãã®ã§ããï¼ä¾ãã°ã¤ã³ã¿ã¼ãã§ã¼ã¹ããããããµãã¼ãããã¨ãï¼ããªã½ã¼ã¹ä¸ã®å¶ç´ããä»ã®ã¹ããã¯ã¨æ¯è¼åæ¡ããçµæããããã¯è¦éããããã¨ã«ãªãã¾ããããªã®ã§ããã®ã¡ã³ããã³ã¹ã¬ãã¥ã¼ã¯ä¸»ã«JavaSEåãã®ã»ãã¥ãªãã£ãã¼ããã·ã§ã³ã®å°å ¥ãããããã®å°ãããã®ã«ãªã£ã¦ãã¾ããããããJCPã«æåºäºå®ã®å¤æ´ç¹ã®ãªã¹ãã§ãã
å®è£ ã®æ¹ã§ã¯ãä»åã¯ä¸ã¤é¢ç½ãææ³ã使ã£ã¦ã¿ããã¨æã£ã¦ãã¾ããå ·ä½çã«ã¯ãJAXB 2.1 APIã¨ä½¿ãã¨2.1ã®å®è£ ã«ãªããJAXB 2.2 APIã¨ä½¿ãã¨2.2ã®å®è£ ã«ãªããããªãåä¸ã®jarãã¡ã¤ã«ãæä¾ãããã¨ãã試ã¿ã§ããããã¥ã¡ã³ãã¼ã·ã§ã³ã¨APIã¯ç°ãªãã®ã§ãä¾ç¶ã¨ãã¦2.1ã¨2.2ã®è¤æ°ã®ãã¦ã³ãã¼ããæä¾ããããã¨ã«ãªãã¾ãããä¸ã«å ¥ã£ã¦ããjaxb-xjc.jarã¨jaxb-impl.jarã¯ä¸ç·ã«ãªãã¾ãã
ããã«ãã£ã¦ãåçã®ã»ãã§ã¯è¤æ°ã®ãã©ã³ããã¡ã³ããã³ã¹ãããªã¼ãã¼ããããé¿ãããã¨ãã§ãã¾ãããã°ã®ä¿®æ£ã¯ä¸ã¶æã ãã§ãã¿ã2.1.xã¨2.2.xã¯åæã«ãªãªã¼ã¹ãããå«ã¾ãããã°ä¿®æ£ã¯åæããããã¨ã«ãªãã¾ããããã«ãã£ã¦ã2.1.xç³»åãããé·æéã«æ¸¡ã£ã¦ã¡ã³ããã³ã¹ãããã¨ãã§ããããã«ãªãã¾ããJavaSEãJAXB 2.2ãããã¯ã¢ããããã®ã¯JavaSE 7ã§ã®ãã¨ã«ãªãã§ããããããã¦ã¼ã¶ã¼ã«2.2ã¸ã®ã¢ãããã¼ããå¼·è¦ããªãããã«ãããå½¹ã«ç«ã¡ã¾ããããã§ãªãã¨ã2.1ã®æã®ããã«ãã¦ã¼ã¶ã¼ãendorsed directoryã®æ³¥æ²¼ã«ã¯ã¾ãè¾¼ããã¨ã«ãªãã¾ãã
ã¾ãããã®åããã¯ããã¯ãJAX-WS/Metroã§ã使ãããããã«ãJAX-WSãã¼ã ã¨è©±ãã¦ããã¨ããã§ãã2.0â2.1ãªãªã¼ã¹ãã¦ã¼ã¶ã¼ã«ã¨ã£ã¦é常ã«è¦çã ã£ãã®ã¯ãå®è£ ã®ãªã¢ã¼ããã¯ãã£ã¨JAX-WS 2.1ã¸ã®ã¢ããã°ã¬ã¼ããæ±ãåããã§è¡ãããã®ã§ã2.1ã®æ©è½ãå¿ è¦ãªãã¦ãããã°ãã£ã¯ã¹ãããã©ã¼ãã³ã¹æ¹åãå¿ è¦ã ã£ãã¦ã¼ã¶ã¼ã2.1ã¸ã¢ããã°ã¬ã¼ããããã¡ã«ãªã£ãããã§ããååã¨åãè½ãè¸ã¾ãªãããã«ããã®ç¹ãéè¦ã ã¨æãã¾ãã
ã¾ããååã¢ãã¦ã³ã¹ããããã«ã2.2ãã©ããã¢ããã次第ãä»å¾ã¯åã¯JAXBããã¯é¢ããäºå®ã§ããMartin Grebacã次ã®JAXBãªã¼ãã«ãªãã¾ã.