• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

EJB and WODA

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If the ear and ejb jar files contain Server specific xml files(weblogic-ejb-jar.xml and weblogic-application.xml) then how could we call ejb's as write once and deploy anywhere? Won't we have to modify the module? Are the server specific xml files compulsory?
 
Ranch Hand
Posts: 457
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
the "write once, deploy anywhere" claim is a statement about Java in general.

the web server you're using should run anywhere that an equivalent JVM is available

there are certainly a lot of application server specific deployment details, sometimes because EJB doesn't specify how something should be done, other times because the server is trying to differentiate it's value to the customer,

some application servers may allow you to put all server specific configuration information external to a JAR/WAR/EAR/et al. AR but in reality it's not tough to reconfigure an AR to contain different server specific information, and could be automated with your build tools

of course, trying to maintain a consistency in that case could be a headache
 
author
Posts: 4335
39
jQuery Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"Ice Head"

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
Scott
 
reply
    Bookmark Topic Watch Topic
  • New Topic