Hi, I have a legacy EJB application that I want to port on JBoss. The application starts EJB container as one of it services on the same JVM as application itself. Also, the requirement is to run an EJB client on the same JVM as the container. Is it possible with JBoss? I tried to do it mimicking Main class in my application but I cannot figure out the right classpath. I need to add at least some client jar files to it to be able to run EJB client, but it affects the JBoss server: each time it cannot find another class, probably, because the class was already loaded by a different class loader. Does anybody have experience to run JBoss from application?