Apache Geronimo 机器修理店应用示例,第 4 部分: EJB:会话 bean 和消息驱动 bean
2010-04-16 00:00:00 来源:WEB开发网// OrderParts.java - Remote Interface
package com.shop.machine.ejb;
public interface OrderParts extends EJBObject
{
public Date estimateCompletionDate(int partID)
throws RemoteException;
public Date getEstimatedDate()
throws RemoteException;
public int getEstimatedOrderTimeInDays()
throws RemoteException;
public int getEstimatedLaborTimeInWeeks()
throws RemoteException;
public void sendAsMessage(int jobID, int partID, int orderTime, int laborTime, Date date)
|-------10--------20--------30--------40--------50--------60--------70--------80--------9|
|-------- XML error: The previous line is longer than the max of 90 characters ---------|
throws RemoteException;
public Vector findAllSparePartsBMP()
throws RemoteException;
public Vector findAllSparePartsCMP()
throws RemoteException;
public SparePartKey findSparePartBMP(int partID)
throws RemoteException;
public SparePartKey findSparePartCMP(int partID)
throws RemoteException;
public SparePartKey findPreviousSparePart(int jobID)
throws RemoteException;
public boolean createSparePart(SparePartKey partKey)
throws RemoteException;
public boolean deleteSparePart(int partID)
throws RemoteException;
} // end OrderParts
- ››apache设置域名绑定 以及绑定不起作用的排查
- ››apache rewrite将指定URL转向指定的几个服务器
- ››apache配置文件httpd.comf部分参数说明
- ››Apache+Mysql+PHP+phpMyAdmin+Mac OS X 10.7 Lion...
- ››apache+tomcat负载均衡_项目实例
- ››apache mysql php 源码编译使用
- ››Apache添加mod_aspdotnet.so支持ASP.NET配置指南
- ››Apache中改变php.ini的路径
- ››Apache2.2与Tomcat6整合及虚拟主机配置
- ››Apache+php+mysql在windows下的安装与配置图解
- ››Apache+Subversion完美结合,CentOS下实现版本控制...
- ››Apache HTTPServer2.2.16 发布
更多精彩
赞助商链接