Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
I'm trying to run a sample example from the webpage. After an initial struggle in setting up my environment, I finally got my JBoss 7.1.0 Final running. I created my class files as listed in the tutorial and my project is setup as below screen shot (See attachment). I got my jar deployed and started the server and I also see that
I added jboss-client-7.1.0.Final.jar to my client's classpath.
I also added jboss-ejb-client.properties and this file is co-located with Client.java under EJB3TimerService/ejbModule/edu/learning/ejb3/client, as shown in screen.
The contents of this property file are
When I ran the client, I see the below exception stack
Is my client code wrong? or the properties or the location of the properties file.
and able to run the method calculator.add(5,4) resulting 9
However I tried to call the ejb from a standalone client and my client code is an exact copy of the URL mentioned above. In short, my client code trying to do JNDI lookup using the string
and I believe I got the proxy, however upon invoking the method I get
I added jboss-client-7.1.0.Final.jar to the client's classpath and also copied jboss-ejb-client.properties to the source directory, such that this file is exactly in the same path as the class file.