JavaÓë.NET µÄWeb ServicesÏ໥µ÷ÓÃ
Ò»:¼ò½é
¡¡¡¡±¾ÎĽéÉÜÁËJavaÓë.NET¿ª·¢µÄWeb ServicesÏ໥µ÷Óõļ¼Êõ¡£±¾ÎÄ°üÀ¨Á½¸ö²¿·Ö£¬µÚÒ»²¿·Ö½éÉÜÁËÈçºÎÓÃ.NET×ö¿Í»§¶Ëµ÷ÓÃJavaдµÄWeb Services,µÚ¶þ²¿·Ö½éÉÜÁËÈçºÎÓÃJava×ö¿Í»§¶Ëµ÷ÓÃ.NET¿ª·¢µÄWeb Services¡£
¶þ:ÏîÄ¿ÐèÒªµÄ¹¤¾ß
¡¡¡¡Windows2000 Server(IIS)
¡¡¡¡Jbuilder9.0( º¬ÓÐTomcat , axis)
¡¡¡¡JDK1.4+Java Web Services Develop
¡¡¡¡VS.Net 2003
¡¡¡¡±¸×¢:Èç¹ûûÓÐJBuilderµÄ»°¾ÍÐèÒª×Ô¼ºÏÂÔØ°²×°Tomcat4.1 ÒÔ¼° AxisµÄ¿ª·¢°ü£¬²¢×öÏàÓ¦ÅäÖá£ÓÉÓÚÍøÉÏÓкܶàÕâÑùµÄÎÄÕ£¬ÕâÀï¾Í²»Ò»Ò»ËµÃ÷ÁË¡£
Èý:ÓÃ.NET×ö¿Í»§¶Ëµ÷ÓÃJavaдµÄWeb Services
¡¡¡¡1. Éú³ÉÒ»¸öJava Web Services
¡¡¡¡Ê¹ÓÃJBuilder Éú³ÉÒ»¸öWeb ServicesÊǷdz£¼òµ¥µÄ£¬ÎÒÍêÈ«ÊÇ°´ÕÕËüµÄ°ïÖú×öµÄ£¬Ö»ÒªÒ»²½²½×öÏÂÈ¥¾Í¿ÉÒÔÁË¡£¾ßÌå·¾¶ÊÇDeveloping Web Services -> tutorials : Web Services(Axis) -> Creating a simple Web Services
¡¡¡¡2. ·¢²¼Õâ¸öWeb Services²¢µÃµ½ËüµÄWSDL
¡¡¡¡Web ServicesÉú³ÉºÃÖ®ºó£¬F9ÔËÐÐÕâ¸öÏîÄ¿¡£È»ºó£¬µ¥»÷Viewä¯ÀÀÏÖÓеÄWeb ·þÎñ£¬µ¥»÷Bean1µÄWSDLÁ¬½Ó£¬ÎÒÃÇ¿ÉÒÔÔÚä¯ÀÀÆ÷Öв쿴ËüµÄWSDLÃèÊö¡£ÔÚä¯ÀÀÆ÷µØÖ·À¸¸´ÖÆWSDLµØÖ·£¬ÎªÏÂÒ»²½Ê¹ÓÃ.NET¿ª·¢¿Í»§¶Ëµ÷ÓóÌÐò×ö×¼±¸¡£
¡¡¡¡3. ÓÃVS.NETÉú³ÉÒ»¸ö.NETµÄ¿Í»§¶Ë
¡¡¡¡Ð½¨Ò»¸öÏîÄ¿(WinForm,ASP.net¶¼¿ÉÒÔ)£¬ÎÒÔÚÕâÀïʹÓõÄÊÇÒ»¸öAsp.NetÏîÄ¿¡£ÔÚÆðʼҳÃæÉÏ·ÅÖÃÒ»¸öÎı¾ÊäÈë¿òÓÃÀ´ÏÔʾµ÷ÓÃWeb ServicesµÄ½á¹û£¬·ÅÖÃÒ»¸ö°´Å¥£¬ÓÃÀ´µ¥»÷µ÷ÓÃWeb Services¡£È»ºó£¬Ñ¡ÔñÌí¼ÓWeb ÒýÓã¬ÔÚWSDLÒ»À¸ÖаѸղŵõ½µÄWSDLµØÖ·¸´ÖƹýÀ´£¬Web ÒýÓõÄÃû³ÆÊäÈëJavaService£¬µ¥»÷Ìí¼ÓÒýÓð´Å¥¾Í¿ÉÒÔÁË¡£´Ëʱ£¬ÎÒÃÇ¿ÉÒ
Ïà¹ØÎĵµ£º
ListµÄÓ÷¨
List°üÀ¨List½Ó¿ÚÒÔ¼°List½Ó¿ÚµÄËùÓÐʵÏÖÀà¡£ÒòΪList½Ó¿ÚʵÏÖÁËCollection½Ó¿Ú£¬ËùÒÔList½Ó¿ÚÓµÓÐCollection½Ó¿ÚÌṩµÄËùÓг£Ó÷½·¨£¬ÓÖÒòΪListÊÇÁбíÀàÐÍ£¬ËùÒÔList½Ó¿Ú»¹ÌṩÁËһЩÊʺÏÓÚ×ÔÉíµÄ³£Ó÷½·¨£¬Èç±í1Ëùʾ¡£
±í1 List½Ó¿Ú¶¨ÒåµÄ³£Ó÷½·¨¼°¹¦ÄÜ
´Ó±í1¿ÉÒÔ¿´³ö£¬List½Ó¿ÚÌṩµÄÊʺÏÓÚ×ÔÉíµÄ ......
2008 Äê 6 ÔÂ 24 ÈÕ
ÔÎĵØÖ·£º http://www.ibm.com/developerworks/cn/data/library/techarticles/dm-0806wangys/
±¾ÎĽéÉÜ IBM FileNet P8 4.0 Platform ÌṩµÄ Content Java API¡£Ê×ÏÈ¶Ô FileNet P8 Content Engine ºÍ API ½øÐиÅÒª½éÉÜ, ²¢ËµÃ÷ÁËһЩ»ù±¾¸ÅÄËæºóÏêϸ½éÉÜÁË FileNet Content EngineÌṩµÄ»ùÓÚ EJB ......
ʹÓÃDOM·½Ê½£¬Java½âÎöXML»ù±¾²½Öè:
Ê×ÏÈ£¬ÎÒÃÇÐèÒª½¨Á¢Ò»¸ö½âÎöÆ÷¹¤³§¡£
DocumentBuilderFactory dbf=DocumentBuilderFactory.newInstance();
È»ºó¿ÉÒÔÀûÓÃÕâ¸ö¹¤³§À´»ñµÃÒ»¸ö¾ßÌåµÄ½âÎö¶ÔÏó¡£
DocumentBuilder builder=dbf.newDocumentBuilder();
DocumentBuilderµÄParse()·½·¨½ÓÊÜÒ»¸öXMLÎĵµÃû×÷ΪÊäÈë²ÎÊý£¬·µ»ØÒ ......
package com.gamvan.tools;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStream;
import java.io.Inpu ......