① 哪位有idl2java.exe還是java2idl.exe,給我傳一下吧,多謝 [email protected]

應該是id1.javae文件吧。。。

② Java 中的IDL是什麼啊

Java IDL(Interface Definition Language,介面定義語言)為 JavaTM 平台添加了 CORBA(Common Object Request Broker Architecture,公用對象請求代理體系結構)功能,從而可提供基於標準的互操作性和連接性。

Java IDL 使分布式、支持 Web 的 Java 應用程序可利用 Object Management Group 定義的行業標准 OMG IDL(Object Management Group Interface Definition Language,對象管理組介面定義語言)及 IIOP(Internet Inter-ORB Protocol,Internet對象請求代理間協議)來透明地調用遠程網路服務。

運行時組件包括一個全兼容的 Java ORB,用於通過 IIOP 通訊進行分布式計算。

要使用 Java IDL,用戶必須具有 idltojava 編譯器。

③ Java中IDL是什麼

Java IDL(Interface Definition Language,介面定義語言)為 JavaTM 平台添加了 CORBA(Common Object Request Broker Architecture,公用對象請求代理體系結構)功能,從而可提供基於標準的互操作性和連接性。Java IDL 使分布式、支持 Web 的 Java 應用程序可利用 Object Management Group 定義的行業標准 OMG IDL(Object Management Group Interface Definition Language,對象管理組介面定義語言)及 IIOP(Internet Inter-ORB Protocol,Internet對象請求代理間協議)來透明地調用遠程網路服務。

④ IDLJ編譯hello.idl文件 不會產生那些java文件,也不提示錯誤也不產生文件,到底是什麼問題啊

參考 有一個聲音再也不能的在耳邊響起,有一雙手再也握不住那手心的溫度與舒適。

⑤ java與IDL之間的關系是什麼IDL是用來做什麼的

http://ke..com/view/160644.htm

⑥ JAVA IDL 伺服器工具 是什麼

Java IDL即idltojava編譯器就是一個ORB,可用來在Java語言中定義、實現和訪問CORBA對象。Java IDL支持的是一個瞬間的CORBA對象,即在對象伺服器處理過程中有效。實際上,Java IDL的ORB是一個類庫而已,並不是一個完整的平台軟體,但它對Java IDL應用系統和其他CORBA應用系統之間提供了很好的底層通信支持,實現了OMG定義的ORB基本功能。

⑦ j2ee的13個標准時什麼

1、JDBC(Java Database Connectivity)
java資料庫連接,是一種用於執行SQL語句的Java API,可以為多種關系資料庫提供統一訪問,它由一組用Java語言編寫的類和介面組成。JDBC為工具/資料庫開發人員提供了一個標準的API,據此可以構建更高級的工具和介面,使資料庫開發人員能夠用純 Java API 編寫資料庫應用程序,有了JDBC,向各種關系數據發送SQL語句就是一件很容易的事,JDBC應該和我們之前接觸過的ODBC很像。
2、JNDI(Java Name and Directory Interface)
Java命名和目錄介面,是一組在Java應用中訪問命名和目錄服務的API。命名服務將名稱和對象聯系起來,使得我們可以用名稱訪問對象。目錄服務是一種命名服務,在這種服務里,對象不但有名稱,還有屬性。是一個應用程序設計的API,為開發人員提供了查找和訪問各種命名和目錄服務的通用、統一的介面,類似JDBC都是構建在抽象層上。JNDI包含了大量的命名和目錄服務,使用通用介面來訪問不同種類的服務,可以同時連接到多個命名或目錄服務上,建立起邏輯關聯,允許把名稱同Java對象或資源關聯起來,而不必知道對象或資源的物理ID。
3、EJB(Enterprise JavaBean)
EJB是sun的JavaEE伺服器端組件模型,設計目標與核心應用是部署分布式應用程序。J2EE技術之所以贏得廣泛重視的原因之一就是EJB,它提供了一個框架來開發和實施分布式商務邏輯,由此很顯著的簡化了具有可伸縮性和高度復雜的企業級應用程序的開發。EJB規范定義了EJB組件在何時如何與它們的容器進行交互作用,容器負責提供公用的服務,例如目錄服務,事務管理,安全性,資源緩沖池以及容錯性。但這里值得注意的是,EJB並不是實現J2EE的唯一路徑,正式由於J2EE的開放性,使得所有的廠商能夠以一種和EJB平行的方式來達到同樣的目地。
4、RMI(Remote Method Invoke)
遠程方法請求,RMI協議調用遠程對象上的方法。它使用了序列化的方式在客戶端和伺服器之間傳遞數據,RMI是一種被EJB使用的更底層的協議。RMI具有面向對象、可移動屬性、安全、便於編寫和使用、可連接現有原有系統、編寫一次到處運行、分布式垃圾收集等優點。
5、Java IDL/CORBA
通用對象請求代理架構是軟體構建的一個標准,在Java IDL的支持下,開發人員可以將Java和CORBA集成在一起。他們可以創建Java對象並使之可在CORBA ORB中展開,或者他們還可以創建Java類並和其它ORB一起展開的CORBA對象客戶。後一種方法提供了另外一種途徑,通過它Java可以被用於將你的新的應用程序和舊的系統集合在一起。
6、JSP(Java Server Pages)
是由Sun Microsystems公司倡導和許多公司參與共同創建的一種使軟體開發者可以響應客戶端請求,而動態生成html、XML或其他格式文檔的Web網頁的技術標准。JSP技術是以Java語言作為腳本語言的,JSP網頁為整個伺服器端的Java庫單元提供了一個介面來服務於HTTP的應用程序。JSP使Java代碼和特定的預定義動作可以嵌入到靜態頁面中。JSP句法增加了被稱為JSP動作的XML標簽,它們用來調用內建功能。JSP跟ASP很像,ASP是在HTML的基礎上加入了.Net代碼,而JSP是在HTML的基礎上加入了Java代碼,它們都是動態網頁,而JSP最大的優勢就是跨平台,不但可以在Windows平台運行,還可以在Linux或者其他操作系統上運行。
7、Java Servlet
Servlet是一種伺服器端的Java應用程序,具有獨立於平台和協議的特性,可以生成動態的Web頁面。它擔當客戶請求(Web瀏覽器或其他HTTP客戶程序)與伺服器響應(HTTP伺服器上的資料庫或應用程序)的中間層。 Servlet是位於Web 伺服器內部的伺服器端的Java應用程序,與傳統的從命令行啟動的Java應用程序不同,Servlet由Web伺服器進行載入,該Web伺服器必須包含支持Servlet的Java虛擬機。Servlet 通過創建一個框架來擴展伺服器的能力,以提供在 Web 上進行請求和響應服務。當客戶機發送請求至伺服器時,伺服器可以將請求信息發送給 Servlet,並讓 Servlet 建立起伺服器返回給客戶機的響應。 當啟動 Web 伺服器或客戶機第一次請求服務時,可以自動裝入 Servlet。裝入後, Servlet 繼續運行直到其它客戶機發出請求。Servlet 的功能涉及范圍很廣。
8、XML(Extensible Markup Language)
XML是一種可以用來定其它標記語言的語言,標准通用標記語言的子集,是一種用於標記電子文件使其具有結構性的標記語言。它被用來在不同的商務過程中共享數據,XML的發展和java是相互獨立的,但是它和java具有的相同目標是平台獨立性。
9、JMS(Java Message Service)
JMS即Java消息服務(Java Message Service)應用程序介面是一個Java平台中關於面向消息中間件(MOM)的API,用於在兩個應用程序之間,或分布式系統中發送消息,進行非同步通信。Java消息服務是一個與具體平台無關的API,絕大多數MOM提供商都對JMS提供支持。JMS 使您能夠通過消息收發服務(有時稱為消息中介程序或路由器)從一個 JMS 客戶機向另一個 JMS客戶機發送消息。消息是 JMS 中的一種類型對象,由兩部分組成:報頭和消息主體。報頭由路由信息以及有關該消息的元數據組成。消息主體則攜帶著應用程序的數據或有效負載。
10、JTA(java transaction Architecture)
JTA定義了一種標准API,應用程序由此可以訪問各種事務監控。JTA允許應用程序執行分布式事務處理--在兩個或多個網路計算機資源上訪問並且更新數據。JDBC驅動程序的JTA支持極大地增強了數據訪問能力。JTA事務比JDBC事務更強大。一個JTA事務可以有多個參與者,而一個JDBC事務則被限定在一個單一的資料庫連接。下列任一個Java平台的組件都可以參與到一個JTA事務中:JDBC連接、JDO PersistenceManager 對象、JMS 隊列、JMS 主題、企業JavaBeans(EJB)、一個用J2EE Connector Architecture 規范編譯的資源分配器。
11、JTS(java transaction Service API)
JTS是CORBA OTS事務監控的基本實現,JTS規定了事務管理的實現方法,該事務管理器是在高層支持java Transaction API規范,並且在較低層次實現OMG OTS specification 和Java印象。JTS事務管理器為應用程序伺服器,資源管理器,獨立的應用以及同學資源管理器提供了事務服務。
12、JavaMail
JavaMail是用於存取郵件伺服器的API,它提供了一套郵件伺服器的抽象類,不僅支持SMTP伺服器,也支持IMAP伺服器。提供給開發者處理電子郵件相關的編程介面。它是Sun發布的用來處理email的API,它可以方便地執行一些常用的郵件傳輸。
13、JAF(JavaBean Activation FrameWork)
JAF是一個專用的數據處理框架,它用於封裝數據,並為應用程序提供訪問和操作數據的介面。JAF的主要作用在於讓java應用程序知道如何對一個數據源進行查看、編輯和列印等操作。JavaMail利用JAF來處理MIME編碼的郵件附件,MIME的位元組流可以被轉換成java對象,大多數應用都可以不需要直接使用JAF。

⑧ JAVA 調用 IDL Attempt to call undefined procere/function

Compiling Your Program
Before a procere or function can be executed, it must be compiled. When a system routine (a function or procere built into IDL, such as iPLOT) is called, either from the command line or from another procere, IDL already knows about this routine and compiles it automatically. When a user-defined function or procere is called, IDL must find the routine and then compile it. Compilation can be either automatic or manual, as described below.

Warning
User-written functions must be defined before they are referenced, unless they:
1) Exist in the IDL !PATH.
2) Exist in a .pro file named the same as the function.
3) Are reserved using the FORWARD_FUNCTION statement.
This restriction is necessary in order to distinguish between function calls and subscripted variable references. See About Calling and Compiling Functions for details.

Automatic Compilation
When you enter the name of an uncompiled user-defined routine at the command line or call the routine from another routine, IDL searches the current directory for filename.pro, thenfilename.sav, where filename is the name of the specified routine. If no file is found in the current directory, IDL searches each directory specified by !PATH. (For more on the IDL path, see!PATH.)
If no file matching the routine name is found, IDL issues an error:
% Attempt to call undefined procere/function: 'routine'

where routine is the name of the routine you specified.
If a file is found, IDL automatically compiles the contents of the file up to the routine whose name matches the name of the file (excluding the suffix), and then executes the routine. If the file does not contain the definition of a routine whose name matches the name of the file, IDL issues the same error as when the no file with the correct name is found.
For example, suppose a file named proc1.pro contains the following procere definitions:
PRO proc1 PRINT, 'This is proc1' END PRO proc2 PRINT, 'This is proc2' END PRO proc3 PRINT, 'This is proc3' END

If you enter proc1 at the IDL command line, only the proc1 procere will be compiled and executed. If you enter proc2 or proc3 at the command line, you will get an error informing you that you attempted to call an undefined procere.
In general, the name of the IDL program file should be the same as the name of the last routine within the file. This last routine is usually the main routine, which calls all the other routines within the IDL program file (or, in the case of object classes, the class definition). Using this convention for your IDL program files ensures that all the related routines within the file are compiled before being called by the last main routine.
Program files within the IDL distribution use this formatting style. For example, open the program file for the XLOADCT procere, xloadct.pro, in the IDL Editor. This file is in the lib/utilitiessubdirectory of the IDL distribution. This file contains several routines. The main routine (XLOADCT) is at the bottom of the file. When this file is compiled, the IDL Output Log notes all the routines within this file that are compiled:
IDL> .COMPILE XLOADCT % Compiled mole: XLCT_PSAVE. % Compiled mole: XLCT_ALERT_CALLER. % Compiled mole: XLCT_SHOW. % Compiled mole: XLCT_DRAW_CPS. % Compiled mole: XLCT_TRANSFER. % Compiled mole: XLOADCT_EVENT. % Compiled mole: XLOADCT.

Note that the main XLOADCT procere is compiled last.

Tip
When editing a program file containing multiple functions and/or proceres in the IDL Editor, you can easily move to the desired function or procere by selecting its name from the Functions/Proceres Menu. See Navigating Among Proceres and Functions for more information.

Manual Compilation
There are several ways to manually compile a procere or function.

Use the .COMPILE executive command at the IDL command line:
.COMPILE myFile

where myFile is the name of a .pro file located either in IDL's current working directory or in one of the directories specified by !PATH. All the routines included in the specified file will be compiled, but none will be executed automatically. If you are using the IDL Development Environment, the .pro file will also be opened in the IDL Editor.

If the file is open in the IDL Editor, select Run Compile or click the Compile button on the toolbar. All routines within the file will be compiled, but none will be executed automatically.

Use the .RUN or .RNEW executive command at the IDL command line:
.RUN myFile

where myFile is the name of a .pro file located either in IDL's current working directory or in one of the directories specified by !PATH. All the routines included in the specified file will be compiled, and any $MAIN$ level programs will be executed automatically. If you are using the IDL Development Environment, the .pro file will also be opened in the IDL Editor.

Use the .RUN, .RNEW, or .COMPILE executive command with no filename argument. Invoking any of these executive commands with no filename allows you to interactively create and compile a $MAIN$ level program. See Creating $MAIN$ Programs for additional details.

Note
Only .pro files can be compiled using the manual compilation mechanisms. Attempting to compile a SAVE (.sav) file using one of these mechanisms will result in an error.

In the "Hello World" example shown in Compiling Your Program, we have a user-defined procere that contains a call to a user-defined function. If you enter the name of the user-defined procere, hello_main, at the command line, IDL will compile and execute the hello_main procere. After you provide the requested input, a call to the hello_who function is made. IDL searches forhello_who.pro, and compiles and executes the function.
Compilation Errors
If an error occurs ring compilation, the error is reported in the Output Log of the IDLDE. For example, because the END statement is commented out, the following user-defined procere will result in a compilation error:
PRO procere_without_END PRINT, 'Hello World' ;END

When trying to compile this procere (after saving it into a file namedprocere_without_END.pro), you will receive the following error in the IDL Output Log:
IDL> .COMPILE procere_without_END % End of file encountered before end of program. % 1 Compilation errors in mole PROCEDURE_WITHOUT_END.

Note
Under Microsoft Windows, the IDL Editor window displays a red dot to the left of each line that contains an error.

Setting Compilation Options
The COMPILE_OPT statement allows you to give the IDL compiler information that changes some of the default rules for compiling the function or procere within which the COMPILE_OPT statement appears. The syntax of COMPILE_OPT is as follows:
COMPILE_OPT opt1 [,opt2, ..., optn]
where optn is any of the available options documented in COMPILE_OPT. These options allow you to change default values of true and false, hide routines from HELP, and reserve the use of parentheses for functions. See COMPILE_OPT for complete details.

⑨ java與IDL之間的關系是什麼

介面定義語言(Interface Definition Language)的縮寫,使用Java(TM)編寫的API提供基於標準的和CORBA的交互性和連接性.
應該是類似com組件的。詳細的請看這里
http://www.cppblog.com/alantop/archive/2007/07/09/27725.html