Thanks to Nicolas GANDRIAU, I made it to build a client jar. I used jar command to create a simple jar, and added Interface classes and _stub classes to it. After deployment I recognized that I also need some Sun EJB classes. Does anybody know what exactly is needed (it's quite time consuming to add one class after the other and what the latest exception for the next missing class) or where I can obtain a complete "EJB Client Runtime" (e.g. a JAR)? I noticed that I can add RMI_jonas.jar to the classpath on the client machine and it works well, but I think it's not the best way to add a complete ejb server jar if I only need some classes. Does anybody have a list of the needed classes?
