javaidl
① 哪位有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