Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ejb jar portability

 
Sreedevi Vinod
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I read in HFEJB that ejbs are portable across application servers. But when I create an ejb jar to deploy on weblogic, I need to include a weblogic specific DD also in the jar. Only the ejb-jar.xml is portable. The jar needs to packaged for each application server with specific DDs. Then how can we say that EJBs allow "Write once deploy anywhere"?

Thanks
Devi
 
Leandro Dantas
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you need to change from, for example, weblogic.xml to jboss.xml you are not rewriting/recompiling your bean/ejb-jar.xml. You are adjusting the settings of the bean to match your specific platform.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic