I have been having trouble calling a Local Session bean in Glassfish.
I set up an example to show the exception I am having:
----------
MainBeanLocal
----------
MainBean:
----------
RemoteBeanRemote:
----------
RemoteBean:
----------
Test Code:
Output Trace:
What am I doing wrong when calling **MainBeanLocal**? I would like to avoid dependency injection, as if the MainBeanLocal was being called from a POJO.
Note: I have no trouble calling the
RemoteBean.. I want to be able to call the local bean from the remote bean.