RESTful Webãµã¼ãã¹ã¨SOAPãã¼ã¹ã®Webãµã¼ãã¹ã®å·®ããã¾ãã¡ããããªã
SOAã«å¯¾ãã解ãæ±ãã¦ãã人ã¯é常ã«å¤ããããã¯çµæ§æå¤ã§ããã
ãã¾ã ã«SOAã¨ãããã¼ã¯ã¼ãï¼Buzzã¯ã¼ãï¼ï¼ã«å¯¾ãã¦ããã»ã©ã¾ã§ã«åå¿ããã²ã¨ã
å¤ãã®ã§è¥å¹²ã³ã£ããã§ãã
ããã¯ãªããã¨ããã¨ãããããä»ã¾ã§ã®SOAPãã¼ã¹ã®Webãµã¼ãã¹ããã¼ã¹ã¨ãã
SOAãæ¨ã¦å»ããå¯è½æ§ãåºã¦ããããã ã¨åæãã¾ãã
ãããRESTful Webãµã¼ãã¹ã§ããRESTã使ã£ãWebãµã¼ãã¹ã§ã®SOAã¯æ½å¨çãªãã¼ãºã¨ãã¦ãé«ããã§ãã
RESTful Webãµã¼ãã¹ã®å ·ä½çãªå®ä¾ãèãã¦ãã®ç¹ã¯é常ã«æºè¶³ãã¦ãã¾ãã
ã¨ããããã§å¼ãç¶ãRESTãã¼ã¹ã®ãµã¼ãã¹ãã©ããã£ã¦ç°¡åã«ä½ãã®ãã注ç®ã§ãJavaOne2008éæ
http://d.hatena.ne.jp/shot6/20080510
ããããSOAãæµè¡ãããã©ããã£ã¦ãSOAPã¨ãRESTã¨ãã®æè¡çãªè©±ãªãã ãããï¼
æãä»äºã§ãã£ãã«çµ±åã®ãã¬ã¼ã ã¯ã¼ã¯ã¨ããç©ãä½ã£ã¦ããã®ã ããå®éã«å°å ¥ãããç¾å ´ã§ã¯ãã®ããã«ä½¿ããã¦ããäºä¾ãç§ã¯ç¥ããªãï¼ãã£ãã«çµ±åã¨ã¯ãéè¡ã®ãã¬ãã³ã¨ã¤ã³ãã³ã®BLã®é¨åã§å ±éåã§ããé¨åã¯å ±éåãã¾ãããã¿ãããªè©±ï¼ã
ãã¨ãåå¹´ãããåã¾ã§ãã£ã¦ããä»äºããã£ãã«ã«ä¾åããªããã¡ã¤ã³ã¢ãã«ãä½ã£ã¦ãViewã«ä¾åããªãBLãä½ã£ã¦ã³ã³ã·ã¥ãã¼åãã·ã¹ãã ã¨ç¤¾å ã®ã³ã¼ã«ã»ã³ã¿ã¼åãã·ã¹ãã çµ±åãã¾ãããã¿ããã®ã¯ãªãã ã£ãã®ã ããçµæ§ç¾å ´ã®SEã¯æ¶çµ¶ãã¦å¤§å¤ããã ã£ãã
SOAãæµè¡ãããã©ããã£ã¦ã
- æ¥åã®æ¬è³ªãç解ãã¦UIï¼âç¹å®ã®æ¥åã®ã·ã¼ã³ï¼ã«ä¾åããªããµã¼ãã¹ï¼âã¡ã½ããï¼ãã¤ã³ã¿ã¼ãã§ã¼ã¹ï¼ãä½ãã¾ããï¼
- ãã®çºã®æ¥åç¥èã¯ããã¾ããï¼
- åæææ³ã¯ããã£ã¦ãã¾ããï¼
ã£ã¦è¾ºãããããã¿ã¡ãªãããããªãã¨æãã
æè¿.NET3.5ã®è¬ç¿ã«ãã£ã¦ããã®ã ããããã¡ã½ãããSOAPã§å ¬éããããRESTã§å ¬éãããã£ã¦ã¢ããã¼ã·ã§ã³ã¬ãã«ã®è¨å®ã§ãããªã£ããã§ãããï¼ããªãããå æ¸ãªè¨ãæ¹ã§ããã»ã»ã»ï¼ããã¨ãRESTã§è¡ãããSOAPã§è¡ããã£ã¦ããã®ã¯ãã¯ã©ã¤ã¢ã³ãã®è¨èªãä½ãã£ã¦ããã®ã«ãã£ã¦å¤§ããå·¦å³ãããã¨æã£ã¦ã¾ããåä»ãã®å¼·ãè¨èªã§ããJAVAãC#ãªãããªãã°ãSOAPã§ãããã»ã©å°ããªãã¨æãããã©ã¤ããªã¹ã¯ãªããç³»ãç¹ã«JavaScriptãªãRESTã®æ¹ãæç¶ãå¾ã ã¨æããä»ã®REST人æ°ã¯ãWebãµã¼ãã¹ã使ããããªãµã¼ãã¹æ§ç¯ã§ã¯ã©ã¤ããªã¹ã¯ãªããç³»ãè±çãã£ã¦ããã®æ¯ãããã¦ããã¨æã£ã¦ã¾ãã
è¨ããããã¨ã¨ãã¦ã¯ãSOAã®é»å®³è¦å ã«ãªã£ã¦ããã®ã¯ãSOAPãRESTçã®ã¬ãã«ã®è©±ã§ã¯ãªãã¦ããµã¼ãã¹ãä½ããã¦ãã¦ããããã£ã¦æã®æ¹ãå§åçã«ããããããããªãããªãã£ã¦ãã¨ã§ããã
è£è¶³:ããã»ã©RESTãç¥ã£ã¦ããããã§ã¯ãªãã®ã§ããä¸åº¦RESTç³»ã®è¨äºã§ãèªã¿ç´ãã¦ã¿ã¾ããã»ã»ã»