-
Java EJB简单例子
Java EJB简单例子,这是HelloWorldBean的Home接口,它是EJB对象的生成库,无状态会话(将在下一个实例中具体讲解)Bean,这个接口是客户端与EJB对象相互作用的中间途径,通过Client触发调用Bean方法:
try {
//取得初始化属性jndiContext,它是连接JNDI树的起始点
InitialContext jndiContext = new InitialContext(properties);
//取得Home对象的引用
Object ref = jndiContext.lookup("HelloWorldHome");
HelloWorldHome home = (HelloWorldHome)
PortableRemoteObject.narrow (ref, HelloWorldHome.class);
//用EJB生成库Home生成EJB对象
HelloWorld hello= home.create();
//调用EJB对象方法printHelloWorld(),EJB对象把调用委派给Bean
System.out.println (hello.printHelloWorld());
}
- 2022-07-20 22:16:54下载
- 积分:1
-
Delphi文件分割软件源码
Delphi文件分割软件源码,使用了TabCtrl控件,将文件分割成指定大小的文件块。
// 图标
Cool Icon Liumazi.ico
Icon1 Icon Icon1.ico
Icon2 Icon Icon2.ico
Icon3 Icon Icon3.ico
// 光标
Drag cursor Drop.cur
// 字串
STRINGTABLE
BEGIN
1,"指定准备分割的文件"
2,"指定分割后存放位置"
3,"指定合并后存放位置"
END
- 2023-03-10 01:20:03下载
- 积分:1
-
24 wherein Chinese font can be used to the GUI interface display Chinese charact...
24点阵宋体汉字字库,可用于GUI界面的汉字的显示-24 wherein Chinese font can be used to the GUI interface display Chinese characters
- 2023-08-13 07:35:03下载
- 积分:1
-
daigosso PHP单点登录系统 1.1
daigossobaigo SSO 是一款基于 HTTP 协议的单点登录系统,以简单为设计、开发的宗旨,安装部署简单、使用简单。没有复杂的菜单,没有深奥的概念,没有晦涩难懂的名词,一切崇尚简单。
baigo SSO更新日志:
2016-04-26
优化安装 api 接口,修复部分 bug,便于实现自动部署。
- 2022-02-01 16:29:59下载
- 积分:1
-
jad, an anti
jad,一个反编译工具,可以作为eclipse的插件-jad, an anti-compiler tools, can be used as eclipse plug-ins
- 2022-03-25 00:37:02下载
- 积分:1
-
素数生成工具 素数生成工具
素数生成工具 素数生成工具 -Prime number prime number generation tool generation tool Generation Tool prime number prime number generation tool
- 2022-03-21 21:07:53下载
- 积分:1
-
另一个版本的x264的decoder,里面改进了bS的输出
另一个版本的x264的decoder,里面改进了bS的输出-Another version of the x264
- 2022-03-12 17:35:03下载
- 积分:1
-
请认真阅读您的文件包然后写出其具体功能(至少要20个字)。尽量不要让站长把时间都花费在为您修正说明...
请认真阅读您的文件包然后写出其具体功能(至少要20个字)。尽量不要让站长把时间都花费在为您修正说明-Please read them carefully before you write the document package to their specific functions (at least 20 words). As far as possible not to let the station to the time you spend in the amended statement
- 2022-06-20 08:16:54下载
- 积分:1
-
Sokoban, a kind of intellectual game, with diphi series, things have, after the...
推箱子 ,一种智力游戏,用diphi 编的,东西还有,以后再传
-Sokoban, a kind of intellectual game, with diphi series, things have, after the send
- 2022-04-17 03:52:25下载
- 积分:1
-
各种LMS改进算法的仿真与分析说明对各种改进算法的优缺点在文档中进行了对比...
各种LMS改进算法的仿真与分析说明对各种改进算法的优缺点在文档中进行了对比-A variety of LMS Algorithm for simulation and analysis shows the advantages and disadvantages of various improved algorithms have been compared in the document
- 2022-02-07 17:55:09下载
- 积分:1