there is two way to deploy the ejb jar.one way is deploying diretly the ejb jar to the jboss's deploy dir.the other way is
deploy within the ear dir.for the first way ,the look up name is just the simple class name plus the "/remote" or "local".but
in the second way,it the ear name in front of the simple class name.for example,"jumpstart-min/SecurityFinderSvc/local".
The second way profit on associating the ear and the ejb,but it is hard code in the code .if the ear name changed,the
application will error.
posted on 2007-03-15 10:54
R.Zeus 阅读(200)
评论(0) 编辑 收藏 所属分类:
EJB