I know that JNDI is my solution, and i know that i can use annotation for Remote access or descrioptor.
but assume that you created your componets on your server and everything is working good. now you want to access this components from another machine.
Main question:
how can you import or access the components from the client machine? for example your componet (test.jar (TestBean.class)) and it's on your server and now you want to call this bean file,but you're working on a different machine. your JVM (Client machine) will not recognize the test.jar or TestBean.class:D. you see this is my main problem. how can i compile my client java file in client machine?
how can i set my classpath in client machine?
what should i do?