S
sss
I am trying to call EJB from client application, but seems like it can't
find the ejb
I also download a stub file from the admin page and add to the ejb client
path. but still without the luck.
I am using netbeans to develop with JAVAEE5
@EJB
private static ConverterBean converterBean;
public static void main(String[] args) {
// TODO code application logic here
BigDecimal param = new BigDecimal ("100.00");
BigDecimal amount = converterBean.dollarToYen(param);
System.out.println( amount );
}
find the ejb
I also download a stub file from the admin page and add to the ejb client
path. but still without the luck.
I am using netbeans to develop with JAVAEE5
@EJB
private static ConverterBean converterBean;
public static void main(String[] args) {
// TODO code application logic here
BigDecimal param = new BigDecimal ("100.00");
BigDecimal amount = converterBean.dollarToYen(param);
System.out.println( amount );
}