I am in a problem ?
when i deploy the session bean the jboss doesnt recognize it properly
I have made the jar as follows
jar -cvf myjar.jar F:/j2eebook/Chapter19/Stateless/finCalc/stateless/*.class F:/j2eebook/Chapter19/Stateless/META-INF/*.xml F:/j2eebook/Chapter19/Stateless/finCalc/stateless/*.java
When i run the client by setting all classpath
it will through this exception
javax.naming.NameNotFoundException: StatelessFinancialNeedCalculator not bound at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245)
What should i do please help me.
When i deploy the jar downloaded from the wrox site it works well and session bean's method is invoked but when i make a jar the problem occurs
If you compare the jar you created with the jar you downloaded, you will notice different paths. The jar must hold the correct paths, e.g. the .xml files belong in path META-INF/, which is undoubtedly not the case in the jar you created.