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添加mod_aspdotnet.so支持ASP.NET配置指南
- ››机器人时代来临《机器人大战》英雄带你看活动
- ››Apache中改变php.ini的路径
- ››Apache2.2与Tomcat6整合及虚拟主机配置
- ››Apache+php+mysql在windows下的安装与配置图解
- ››Apache+Subversion完美结合,CentOS下实现版本控制...
- ››Apache HTTPServer2.2.16 发布
- ››Apache Tomcat 6.0.29 (稳定版)
- ››Geronimo V2.1.5 中的安全提升
- ››Apache HTTP Server 2.3.6 alpha 发布
- ››Apache+Subversion如何实现版本控制
- ››Apache+Subversion完美结合
更多精彩
赞助商链接