Deploying EJB application on JBoss is very simple. You need o put .jar file of your ejb application into deploy directory of JBoss server. JBoss detect automatically it and terns it in running mode. JBoss will display binding name of EJB application on console whatever it assigned and you need to connect deployed ejb application through client program. Here is an example. EJB Program package stateful.ejb; import javax.ejb. * ; @ Remote public interface Adder { void setX ( int x ) ; void setY ( int y ) ; void add () ; int getResult () ; } package stateful.ejb; import javax.ejb. * ; @ Stateful ( mappedName = "stateful_adder" ) public class AdderClass implements Adder { int x; ...
Future driven solutions.