当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: Anyone who regularly works with
 

 

    摘要:performance is a goal that all java developers should put at the head of their design list for any project. to help you achieve this goal, there is a powerful mechanism thats used in just about every ......
 ·medical image conversion @ jdj    »显示摘要«
    摘要:in this article well discuss the conversion of image formats using suns java image i/o (imageio) and the nih imagej apis. the image formats of interest are dicom, jpeg 2000, png, and tiff. these forma......


Translation-Based Integration @ JDJ

anyone who regularly works with more than one development language and a third-party library has faced the situation described by: "great library, if only i could have it in my programming language." some vendors make a living from publishing different language versions of their product, but many cant afford or dont want to pay the costs of maintaining several parallel implementations of their product.

consequently, over the years many integration approaches have been created to help us with the common problem of using software written in one language in another language. microsoft has even gone as far as building language inter-operability into the core of its .net platform (of course, they excluded java). when talking about .net, it should also be mentioned that a .net-compatible language has to satisfy many constraints imposed by the .net platform. so many constraints, in fact, that some people have said you dont really write your code in c++ or vb, but rather in a particular dialect of .net. for anybody who is not using .net, or who has to integrate .net with .net-foreign languages such as java, here are the basic integration approaches: source code translation: translate the java source code of a library to c++. byte code/binary code translation: take a compiled java class file and compile it into object code. this, as well as the previous approach, can also be referred to as "implementation translation," because the method bodies are converted. in-process wrapping: create a c++ wrapper for a java type that internally uses jni to delegate from c++ to java. out-of-process wrapping (remoting): make a java type available to a c++ programmer by calling from the c++ application
...   下一页

 ·clustered timers @ jdj    »显示摘要«
    摘要:often, when someone asks how we are going to scale the web application were about to develop, we look at them, smile, and say, "not a problem - well just cluster the application servers." clustering o......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE