i am facing problem with deploy my 1st EJB i have no excperince with it at all.
i have deploy them in EJB on sun appliaction server 8.2 but how can i try to use it with it client. when try to run client says it can not connect to ORB please give me hand to get up
/** * This is the home interface for HelloBean. This interface * is implemented by the EJB Server - the * implemented object is called the Home Object, and serves * as a factory for EJB Objects. * * The create() method in this Home Interface corresponds to * the ejbCreate() method in HelloBean. */ public interface HelloHome extends EJBHome {
/* * This method creates the EJB Object. * * then returns a reference to the newly created EJB Object. */ Hello create() throws RemoteException, CreateException; }
/** * This is the HelloBean remote interface. * * This interface is what clients use to * interact with EJB objects. The container * vendor implements this interface. The * implemented object is the EJB object, which * delegates method calls to the actual EJB. */ public interface Hello extends EJBObject {
/** * The hello() method returns a greeting to the client. */ public String hello() throws RemoteException; } 3- this is the bean it self.