• Post Reply Bookmark Topic Watch Topic
  • New Topic

j2ee remote interface error  RSS feed

 
henhen cai
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could anyone tell me why the following codes are not valid remote interface?Thanks a lot.
How to use the deploytool creat a new enterprise bean,I'm confused by the general dialogue box.
____
package Beans;
import javax.ejb.EJBObject;
import java.rmi.RemoteException;
public interface Calc extends EJBObject {
public double calcBonus(int multiplier, double bonus) throws RemoteException;
}
_____
 
Marcos Maia
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was not able to find any error. Problably you didn�t implement this method in your EJB or you have some DD error. If you post all your code (i.e Home, Remote and Bean plus DDs) it�ll be easyer to help
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!