﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-VIRGIN FOREST OF JAVA-文章分类-ＥＪＢ</title><link>http://www.blogjava.net/RR00/category/20668.html</link><description>不要埋头苦干，要学习，学习，再学习。。。。。
&lt;br&gt;
powered  by &lt;font color='orange'&gt;R.Zeus&lt;/font&gt;</description><language>zh-cn</language><lastBuildDate>Sat, 17 Mar 2007 08:18:37 GMT</lastBuildDate><pubDate>Sat, 17 Mar 2007 08:18:37 GMT</pubDate><ttl>60</ttl><item><title>different ejb deploy  way result in different look up name in context</title><link>http://www.blogjava.net/RR00/articles/103971.html</link><dc:creator>R.Zeus</dc:creator><author>R.Zeus</author><pubDate>Thu, 15 Mar 2007 02:54:00 GMT</pubDate><guid>http://www.blogjava.net/RR00/articles/103971.html</guid><wfw:comment>http://www.blogjava.net/RR00/comments/103971.html</wfw:comment><comments>http://www.blogjava.net/RR00/articles/103971.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/RR00/comments/commentRss/103971.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/RR00/services/trackbacks/103971.html</trackback:ping><description><![CDATA[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<br />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 <br />in the second way,it the ear name in front of the simple class name.for example,"jumpstart-min/SecurityFinderSvc/local".<br />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 <br />application will error.<img src ="http://www.blogjava.net/RR00/aggbug/103971.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/RR00/" target="_blank">R.Zeus</a> 2007-03-15 10:54 <a href="http://www.blogjava.net/RR00/articles/103971.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>