This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes How to deploy a code? an interview question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "How to deploy a code? an interview question" Watch "How to deploy a code? an interview question" New topic
Author

How to deploy a code? an interview question

Dinesh Andavar
Greenhorn

Joined: Jun 29, 2013
Posts: 12
Hi Guys,

I recently attended an interview with IBM(Web Application Developer JAVA/JSP/SERVLET/J2EE) . they asked me a question.
How do you deploy your development code( assume that you have all the files )
What would you guys have answered?

I gave them a vague answer and they were not impressed.. Has it got a specific answer?!!!

Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42030
    
  64
The question can't be answered without context: what kind of code - web app, EJB, desktop app, applet, JavaWebStart, something else?


Ping & DNS - my free Android networking tools app
Dinesh Andavar
Greenhorn

Joined: Jun 29, 2013
Posts: 12
It was for a web application.. like you have got your .jsp. .class and everything and all other files in the correct directories under your application root directory (say under a container Tomcat).
He was stressing the point of how do you deploy them to production...
what are the sequential steps?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61300
    
  66

Did your answer include the term "war file"?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Dinesh Andavar
Greenhorn

Joined: Jun 29, 2013
Posts: 12
No I did not say about war or ear files.
should I have said that?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61300
    
  66

Yes.
Dinesh Andavar
Greenhorn

Joined: Jun 29, 2013
Posts: 12
Can you give me a detail explanation of what you would have said.
Assuming all the .java,.jsp and everything is lying in the application directory with correct format and location.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61300
    
  66

It's not for me to tell you what to say in an interview. Now that you know which direction to go, do some research so you'll understand how to deploy a web app.
 
GeeCON Prague 2014
 
subject: How to deploy a code? an interview question