About this trail:
cast ex
1
2
3
4
5
6
7
8
Now we have the bean being called we need to get it deployed but we need to set the libs correctly. To do this right click on the project and select Properties in the properties dialog select the libraries node and uncheck the checkbox next to the NBJBossApplication-EJBModule. This will tell NetBeans not to include the EJB Module with the war file created for the test application if it is included you will get a class cast exception.




