Sample for a remote interface:
import javax.ejb.EJBException;
import javax.ejb.EJBLocalObject;
/**
* @author earnest.thomas
*
* This is the Local Interface of Product entity bean, Product
* entity bean is used to reprecent the product in the database.
*/
public interface ProductLocal extends EJBLocalObject {
public Integer getId() throws EJBException;
public void setId(Integer id) throws EJBException;
public String getName() throws EJBException;
public void setName(String name) throws EJBException;
public float getRetailPrice() throws EJBException;
public void setRetailPrice(float retailPrice) throws EJBException;
public float getWholeSalePrice() throws EJBException;
public void setWholeSalePrice(float wholeSalePrice) throws EJBException;
public float getDiscountPrice() throws EJBException;
public void setDiscountPrice(float discountPrice) throws EJBException;
public String getDescription() throws EJBException;
public void setDescription(String description) throws EJBException;
public int getQuantity() throws EJBException;
public void setQuantity(int quantity) throws EJBException;
}
相关推荐
RedHat Certificate Engineer
RedHat Certificate Engineer--chapter2
Android 4.0 Compatibility Definition
Android 4.0 Compatibility Definition
chrome-remote-interface:适用于Chrome调试器协议的Elixir客户端
chrome-remote-interface:适用于Chrome调试器协议的Elixir客户端
chrome-remote-interface:适用于Node.js的Chrome调试协议接口
chrome-remote-interface 接口,可通过使用简单JavaScript API提供命令和通知的简单抽象来帮助检测Chrome(或任何其他合适的)。 此模块是许多。 示例API使用情况 以下代码段加载https://github.com并转储每个请求: const CDP = require ( 'chrome-remote-interface' ) ; async function example ( ) { let client ; try { // connect to endpoint client = await CDP ( ) ; // extract domains const { Network , Page } = client ; // setup handlers Network . requestWillBeSent ( ( params ) => { console . log ( params . re
Remote InterFace SNIFFer-开源
RIFSNIFF允许您通过远程主机的接口捕获数据包,运行服务器应用程序,然后从客户端主机上的虚拟TUN / TAP接口读取数据包。 数据包作为纯TCP会话的有效负载发送。


非技术区
