This week's book giveaway is in the Design and Architecture forum.
We're giving away four copies of Communication Patterns: A Guide for Developers and Architects and have Jacqui Read on-line!
See this thread for details.
  • 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

how to deploy application

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
how to deploy an application on server?
and any changes are made in the application(code) then how server will come to know about the changes?

[edited subject to use a meaningful subject - was "interview question"]
[ May 18, 2008: Message edited by: Jeanne Boyarsky ]
 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
how to deploy an application on server?
and any changes are made in the application(code) then how server will come to know about the changes?

Sruthi,
Basically we have two kind of servers in Java.
Web Server
Application server

To deploy the application in WS. We need to create a war file. and need to keep in the specified location in the server.

To deploy the applicatio in AS. we need to create a ear file and need to keep in the specified folder in the server.
This location of the folder is specified in the Server help.

let me know, If you have more questions.

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

any changes are made in the application(code) then how server will come to know about the changes?


The server is just another Java program whose classpath is set to find your changed classes if they are uploaded to the correct directory.
 
Bartender
Posts: 6663
5
MyEclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please do not cross post and double post

https://coderanch.com/t/293585/JSP/java/passing-variables-jsps

https://coderanch.com/t/293584/JSP/java/jsp-parent-class

There are many answers to that question. Firstly in a PROD environment, I would notify the users before I deploy the app. If you need a high availability online system which should handle changes quickly, you could use a content management system (say vignette) to make content updates.

It may also depend on the server how this is done. Some are capable of detecting changes and automatically deploying the ear. You can also write an ant script to check out code, compile it, make an ear and then deploy it homogeneously to the PROD environment.

This question probably belongs in Job discussion.
[ May 18, 2008: Message edited by: John Meyers ]
 
author & internet detective
Posts: 41967
911
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
John,
It actually wasn't a cross post - it was three different questions with the same subject. I've edited all the subjects to be meaningful.

And I thought the same thing you did at first glance!
 
Deepak Bala
Bartender
Posts: 6663
5
MyEclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Jeanne Boyarsky:
John,
It actually wasn't a cross post - it was three different questions with the same subject. I've edited all the subjects to be meaningful.

And I thought the same thing you did at first glance!



hehe. Sorry about that. I guess I ll open the topics next time just to be sure
 
please buy this thing and then I get a fat cut of the action:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic