javaºÍ¡£netÖ®¼äµÄ»¥²Ù×÷
.netÍøÕ¾theserverside.comÉÏ£¬ÓÐһƪ½².netºÍjava»¥²Ù×÷µÄÎÄÕ£¬ÊÕ¼¯ÁËnetºÍjava»¥²Ù×÷ÐÔµÄÎÄÕ¾«Ñ¡
[url]http://www.theserverside.net/tt/articles/showarticle.tss?id=InteropGuide[/url]
In the heterogeneous world of enterprise computing, interoperability is no longer a luxury but a necessity. The multiple tier architecture of modern enterprises coupled with multiple development tools can lead to multiple headaches for developers. So what's a poor developer to do? Fortunately (some would say unfortunately), there are many ways to tackle this problem.
The resources I've assembled below should provide you with a broad overview of some of the techniques being used to bridge the worlds of .NET and Java technology. We'd love to hear about the interoperability issues you've encountered and how you went about solving them.
In the heterogeneous world of enterprise computing, interoperability is no longer a luxury but a necessity. The multiple tier architecture of modern enterprises coupled with multiple development tools can lead to multiple headaches for developers. So what's a poor developer to do? Fortunately (some would say unfortunately), there are many ways to tackle this problem.
The resources I've assembled below should provide you with a broad overview of some of the techniques being used to bridge the worlds of .NET and Java technology. We'd love to hear about the interoperability issues you've encountered and how you went about solving them.
Introduction
Interoperability between Java EE technology and .NET applications
[url]http://developers.sun.com/learning/javaoneonline/2006/webtier/TS-4611.pdf[/url]
Dr. Dobb's "Interoperability and Integration" poster (PDF)
[url]http://msdn.microsoft.com/vstudio/java/interop/interop.poster.pdf[/url]
Webcast: Application interoperability with Microsoft .NET and J2EE
[url]http://msevents.microsoft.com/cui/WebCastEventDetails.aspx?EventID=1032265915[/url]
Top ten tips for Web services interoperability
[url]http://b
Ïà¹ØÎĵµ£º
Èý£®ÓÅ»¯JAVA³ÌÐòÉè¼ÆºÍ±àÂ룬Ìá¸ßJAVA³ÌÐòÐÔÄܵÄһЩ·½·¨¡£
ͨ¹ýʹÓÃһЩǰÃæ½éÉܹýµÄ¸¨ÖúÐÔ¹¤¾ßÀ´ÕÒµ½³ÌÐòÖеÄÆ¿¾±£¬È»ºó¾Í¿ÉÒÔ¶ÔÆ¿¾±²¿·ÖµÄ´úÂë½øÐÐÓÅ»¯¡£Ò»°ãÓÐÁ½ÖÖ·½°¸£º¼´ÓÅ»¯´úÂë»ò¸ü¸ÄÉè¼Æ·½·¨¡£ÎÒÃÇÒ»°ã»áÑ¡
ÔñºóÕߣ¬ÒòΪ²»È¥µ÷ÓÃÒÔÏ´úÂëÒª±Èµ÷ÓÃһЩÓÅ»¯µÄ´úÂë¸üÄÜÌá ......
Java 6 RowSet ʹÓÃÍêÈ«ÆÊÎö
C# ÌṩÁË DataSet£¬¿ÉÒÔ½«Êý¾ÝÔ´ÖеÄÊý¾Ý¶ÁÈ¡µ½ÄÚ´æÖУ¬½øÐÐÀëÏß²Ù×÷£¬È»ºóÔÙͬ²½µ½Êý¾ÝÔ´¡£Í¬Ñù£¬ÔÚ Java ÖÐÒ²ÌṩÁËÀàËƵÄʵÏÖ£¬¼´ RowSet¡£javax.sql.rowset °üÏ£¬¶¨ÒåÁËÎå¸ö²»Í¬µÄ RowSet ½Ó¿Ú£¬¹©²»Í¬µÄ³¡ºÏʹÓᣱ¾ÎĽ«·Ö±ð¶ÔÕâÎå¸ö RowSet µÄʹÓó¡ºÏÒÔ¼°Ï꾡Ó÷¨½øÐнéÉÜ£¬²¢ÇÒÃèÊöÊ ......
1ʹÓò»´ø²ÎÊýµÄ´æ´¢¹ý³Ì
¡¡¡¡Ê¹Óà JDBC Çý¶¯³ÌÐòµ÷Óò»´ø²ÎÊýµÄ´æ´¢¹ý³Ìʱ£¬±ØÐëʹÓà call SQL תÒåÐòÁС£²»´ø²ÎÊýµÄ call תÒåÐòÁеÄÓï·¨ÈçÏÂËùʾ£º
¡¡¡¡
ÒÔÏÂÊÇÒýÓÃƬ¶Î£º
{call procedure-name}
¡¡¡¡×÷ΪʵÀý£¬ÔÚ SQL Server 2005 AdventureWorks ʾÀýÊý¾Ý¿âÖд´½¨ÒÔÏ´洢¹ý³Ì£º
¡¡¡¡
ÒÔÏÂÊÇÒýÓÃƬ¶Î£º
......
Ò» Ï̵߳Ļù±¾¸ÅÄî
Ïß³ÌÊÇÒ»¸ö³ÌÐòÄÚ²¿µÄ˳Ðò¿ØÖÆÁ÷.Ò»¸ö½ø³ÌÏ൱ÓÚÒ»¸öÈÎÎñ,Ò»¸öÏß³ÌÏ൱ÓÚÒ»¸öÈÎÎñÖеÄÒ»ÌõÖ´Ðз¾¶.
¶à½ø³Ì:ÔÚ²Ù×÷ϵͳÖÐÄÜͬʱÔËÐжà¸öÈÎÎñ(³ÌÐò)
¶àÏß³Ì:ÔÚͬһ¸öÓ¦ÓóÌÐòÖÐÓжà¸ö˳ÐòÁ÷ͬʱִÐÐ
JavaµÄÏß³ÌÊÇͨ¹ýjava.lang.ThreadÀàÀ´ÊµÏÖµÄ
JVMÆô¶¯Ê±»áÓÐÒ»¸öÓÉÖ÷·½·¨(public static void main( ......
JAVAÏà¹Ø»ù´¡ÖªÊ¶
1¡¢ÃæÏò¶ÔÏóµÄÌØÕ÷ÓÐÄÄЩ·½Ãæ
1.³éÏó£º
³éÏó¾ÍÊǺöÂÔÒ»¸öÖ÷ÌâÖÐÓ뵱ǰĿ±êÎ޹صÄÄÇЩ·½Ã棬ÒÔ±ã¸ü³ä·ÖµØ×¢ÒâÓ뵱ǰĿ±êÓйصķ½Ãæ¡£³éÏó²¢²»´òËãÁ˽âÈ«²¿ÎÊÌ⣬¶øÖ»ÊÇÑ¡ÔñÆäÖеÄÒ»²¿·Ö£¬ÔÝʱ²»Óò¿·Öϸ½Ú¡£³éÏó°üÀ¨Á½¸ö·½Ã棬һÊǹý³Ì³éÏ󣬶þÊÇÊý¾Ý³éÏó¡£
2.¼Ì³Ð£º
¼Ì³ÐÊÇÒ»ÖÖÁª½áÀàµÄ²ã´ÎÄ£ÐÍ£¬²¢ ......