i created a bean class, remote interface,home class,client class and a local class,i made a jar out of it with all these classes.
example,
my package is named as "salejb".
it is as follows d:/salejb.
inside i have a package called "src" which contains all my java files which i mentioned above.
i created a jar out of all the class files and executed in the eclipse it is working fine.
now i kept my client class outside the package and created a jar which contains the client class it is working fine.
but now for example i feel that i dont want to reveal my client code to the third person who uses my code.so now i removed the client class file from the jar file and set that jar as the classpath in my eclipse and when i run the code i get the error "NoClassFoundEx ception".
please do provide me with a solution to this problem of mine...
example,
my package is named as "salejb".
it is as follows d:/salejb.
inside i have a package called "src" which contains all my java files which i mentioned above.
i created a jar out of all the class files and executed in the eclipse it is working fine.
now i kept my client class outside the package and created a jar which contains the client class it is working fine.
but now for example i feel that i dont want to reveal my client code to the third person who uses my code.so now i removed the client class file from the jar file and set that jar as the classpath in my eclipse and when i run the code i get the error "NoClassFoundEx ception".
please do provide me with a solution to this problem of mine...