deploy -s ejbd://localhost:4201

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

deploy -s ejbd://localhost:4201

Zahid Rahman

I want to use  deploy -s to test remote deployment but the message says
already deployed.
So if I want to make changes to the implementation class code and do remote
deploy how do I do it ?

$OPENEJB_HOME/bin/openejb deploy -s ejbd://localhost:4201 hello.jar
Application already deployed at

I ran this example
The instructions were OK but the import libraries has changed
I don't think the libraries I used are even right the  latest OPEN EJB
ones. But anyway I got it running.

java -cp
Hello World!!!!

package org.acme;

import javax.ejb.Remote;
public interface Hello{
    public String sayHello();

package org.acme;
import javax.ejb.Stateless;
public class HelloBean implements Hello {
    public String sayHello(){
        return "Hello World!!!!";
} <>
♡۶Java♡۶RMI ♡۶