EJB Complete Sample 2 – Client

Client Main.java




# Controlling the result.



If you choose RMI, you don’t need a Java EE EJB app server. You have to keep client and server JVMs in synch; you can’t upgrade the client without upgrading the server. You have to write all the services that the EJB app server provides for you (e.g., connection pooling, naming and directory services, pooling, request queuing, transactions, etc.).


Agains the errors : You need to use JDK 8 –


Context Parameter with remote port


Please check the port  with linux Terminal