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³ÌÐòÐÔÄܵÄһЩ·½·¨¡£
ͨ¹ýʹÓÃÒ»Ð©Ç°Ãæ½éÉܹýµÄ¸¨ÖúÐÔ¹¤¾ßÀ´ÕÒµ½³ÌÐòÖÐµÄÆ¿¾±£¬È»ºó¾Í¿ÉÒÔ¶ÔÆ¿¾±²¿·ÖµÄ´úÂë½øÐÐÓÅ»¯¡£Ò»°ãÓÐÁ½ÖÖ·½°¸£º¼´ÓÅ»¯´úÂë»ò¸ü¸ÄÉè¼Æ·½·¨¡£ÎÒÃÇÒ»°ã»áÑ¡
ÔñºóÕߣ¬ÒòΪ²»È¥µ÷ÓÃÒÔÏ´úÂëÒª±Èµ÷ÓÃһЩÓÅ»¯µÄ´úÂë¸üÄÜÌá ......
Ò»¡¢Annotation¾¿¾¹ÊÇʲô£¿
Annotation ÌṩÁËÒ»ÌõÓë³ÌÐòÔªËØ¹ØÁªÈκÎÐÅÏ¢»òÕßÈκÎÔªÊý¾Ý£¨metadata£©µÄ;¾¶¡£´ÓijЩ·½Ãæ¿´£¬annotation¾ÍÏñÐÞÊηûÒ»Ñù±»Ê¹Ó㬲¢Ó¦ÓÃÓÚ°ü¡¢ÀàÐÍ¡¢¹¹Ôì·½·¨¡¢·½·¨¡¢³ÉÔ±±äÁ¿¡¢²ÎÊý¡¢±¾µØ±äÁ¿µÄÉùÃ÷ÖС£ÕâЩÐÅÏ¢±»´æ´¢ÔÚannotationµÄ“name=value”½á¹¹¶ÔÖÐ ......
java½Ó¿Ú
ʲôÊǽӿÚ
¡¡¡¡JavaÖеĽӿÚÊÇһϵÁз½·¨µÄÉùÃ÷£¬ÊÇһЩ·½·¨ÌØÕ÷µÄ¼¯ºÏ£¬Ò»¸ö½Ó¿ÚÖ»Óз½·¨µÄÌØÕ÷ûÓз½·¨µÄʵÏÖ£¬Òò´ËÕâЩ·½·¨¿ÉÒÔÔÚ²»Í¬µÄµØ·½±»²»Í¬µÄÀàʵÏÖ£¬¶øÕâЩʵÏÖ¿ÉÒÔ¾ßÓв»Í¬µÄÐÐΪ(¹¦ÄÜ)¡£
¡¡¡¡½Ó¿ÚµÄÁ½ÖÖº¬Ò壺һ£¬Java½Ó¿Ú£¬JavaÓïÑÔÖдæÔڵĽṹ£¬ÓÐÌØ¶¨µÄÓï·¨ºÍ½á¹¹;¶þ£¬Ò»¸öÀàËù¾ßÓеķ½·¨µÄÌ ......
Map¡¢Set¡¢Iteratorµü´úÏê½â
Map½Ó¿Ú¶¨ÒåÁËËÄÖÖÀàÐ͵ķ½·¨£¬Ã¿¸öMap¶¼°üº¬ÕâЩ·½·¨¡£
equals(Object o)±È½ÏÖ¸¶¨¶ÔÏóÓë´ËMapµÄµÈ¼ÛÐÔ¡£
hashCode()·µ»Ø´ËMapµÄ¹þÏ£Âë¡£
Map¶¨ÒåÁ˼¸¸öÓÃÓÚ²å·ÅºÍɾ³ýÔªËØµÄ±ä»»·½·¨¡£
remove(Object key) ´ÓMapÖÐɾ³ý¼üºÍ¹ØÁªµÄÖµ¡£
put(object key,Object value) ½«Ö¸¶¨ÖµÓëÖ¸¶¨¼üÏà¹Ø ......
ÕâÑùÒ»À´£¬DelphiʹÓÃWebserviceºÍJAVAͨѶʱ£¬¿ÉÒÔ½«DELPHIµÄʱ¼äÖ±½Ó´«¸øJAVA¡£´Ó¶øÃâÈ¥ÁËʱ¼ä×Ö·û´®parseÖ®¼äµÄÏûºÄ£¬Ìá¸ßµÄ³ÌÐòЧÂÊ¡£
Delphiʱ¼äʵÖʾÍÊÇdoubleÀàÐÍ£¬ÕûÊý²¿·Ö±íʾÌ죬СÊý²¿·Ö±íʾµ±Ììʱ¼ä£¬Ã¿ºÁÃëΪ1/86400000¡£¿¼Âǵ½Ê±ÇøµÄת»»ºó£¬JAVAºÍDELPHIʱ¼äÖ®¼äµÄת»»ÀàÈçÏ£º
import java.util.Calendar ......