WEB开发网
开发学院软件开发Java Apache Geronimo 机器修理店应用示例,第 4 部分:... 阅读

Apache Geronimo 机器修理店应用示例,第 4 部分: EJB:会话 bean 和消息驱动 bean

 2010-04-16 00:00:00 来源:WEB开发网   
核心提示: //OrderParts.java-RemoteInterfacepackagecom.shop.machine.ejb;publicinterfaceOrderPartsextendsEJBObject{publicDateestimateCompletionDate(intpartID)th

// 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 

上一页  2 3 4 5 6 7 8 9 10  下一页

Tags:Apache Geronimo 机器

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接