Originally posted by Merrill Higginson:
In theory, you're supposed to be able to use the @EJB annotation in a web client. In practice, most web containers don't support it. The best way I know of to get an EJB3 reference that works fairly consistently is:
Thank you for the link. It helped clear things up.
And thanks, the code you gave above worked! (after I changed @Local to @Remote in session bean.
For why WAS wants it like that is another mystery; but good enough for now for my purpose.
The injection @EJB still didnt work; but anyway I have that code above to get the bean.