• 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
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Deployment Mechanisms?

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello

what are the mechanisms used in deploying a .war, .ear files.

i faced a this question in ainterview.

pls help . thanxs for advance


bye
 
Saloon Keeper
Posts: 28831
212
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It depends.

In Tomcat, you originally dumped the war into the tomcat/webapps directory OR made an XML file in that directory that pointed to the location on the server's filesystem where a copy of the war resided. I believe that newer versions also allow you to upload the WAR from the Tomcat admin webapp.

In WebSphere, the preferred method is to use the WebSphere admin webapp to upload, but it's also permissible to copy the xAR directly into the WebSphere apps directory. I seem to recall WebLogic being setup the same.

The "ideal" method is to use JSR-88, which is a vendor-independent mechanism for allowing client programs to upload and install appserver components. AFAIK, that's still mostly experimental. I have been involved in the JSR-88 server subsystem for the JOnAS appserver.
 
Thanks tiny ad, for helping me escape the terrible comfort of this chair.
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic