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
中的transient,volatile和strictfp关键字
如果用transient声明一个实例变量,当对象存储时,它的值不需要维持。例如:
Java
代码
class
T {
transient
int
a;
//不需要维持
int ......
我对问题的理解:面试中的一个问题,居然想了半天没有什么头绪,我想还是没有思考,没有积累过。其实完全可以说上一些小细节,比如用StringBuffer代替String,用HashMap代替Hashtable, 乘法操作用位移,尽量复用已有的经过检验的高效代码等等。
下面的文章转载自别的网站,写得很专业,周到, ......
三.优化JAVA程序设计和编码,提高JAVA程序性能的一些方法。
通过使用一些前面介绍过的辅助性工具来找到程序中的瓶颈,然后就可以对瓶颈部分的代码进行优化。一般有两种方案:即优化代码或更改设计方法。我们一般会选
择后者,因为不去调用以下代码要比调用一些优化的代码更能提 ......
关于线程的操作,要注意如下几个方面。
(1) 防止过多的同步
如上所示,不必要的同步常常会造成程序性能的下降。因此,如果程序是单线程,则一定不要使用同步。
(2)
同步方法而不要同步整个代码段
对某个方法或函数进行同步比对 ......
Hibernate
之父 Gavin King[1]建议开发者升级到 Java EE 6 平台,并指出了一些不愿意升级的观点其实是没有根据的。
Java EE 6 发布后,我看到了很多反对升级到新平台的观点。这些反对观点大多是由 Tomcat
/ Jetty 以及一些开源框架(例如 Hibernate 与 Spring)的使用者提出。
&n ......