• 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
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

JSP AND JAVA Servlet interview

 
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Could any body kindly give me any advice or sample interview questions for my upcoming interview for JSP na Servlet job.
It is hard to get a interview at this time, I don't want to miss this chance.
Thanks in advance,
Frank
(SCJP)
 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Frank,
This is the list of what i can think of right away.
-Describe servlet life cycle.
-What is session?
+If u answered above correctly: How to track session?
+If u tell only one way of doing that: Whats the other way?
+Adv/dis-adv of one over other etc.
-What would u do if u want to do something only for the first invocation of the servlet/jsp.
-When is destroy called ?
-Whats the diff betn redirect and forward ?
-What does jsp gets compiled into ?
-What are diff scopes in jsp tags and what each means.
If u r not luckey enough u ll get abstract questions like "define servlet". This is indication that interviewer is non-technical/semi-technical manager who can not ask one of the above mentioned questions. Dont know about u but i m not good at answering such questions.
Another example can be: "What is OOP?". There are 100 ways to answer this questions as its a concept.
All the best
------------------
-Shashank
MS(CS),BS(CS),SCJP2
 
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Some more questions that I can think of:
1)What is the difference between the include directive and the include action tag in JSP? When would you prefer one over the other?
2)Difference between javabeans and custom tags
3)What is the SingleThread model in servlets?
4)Advantages of the servlet-centric model over the page-centric model in jsp.
Goodluck!

[This message has been edited by Junaid Bhatra (edited September 23, 2001).]
 
Frank Zheng
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Junaid and shashank,
Thanks for your timely reply! These are really helpful.
Do you also have any idea about JSP architecturing questions?
One of my friend also told me that design patterns questions are very likely to be asked, Can anybody share any experiences about the patterns.
Thanks a lot!
Frank
 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Frank,
Some of the questions could be
1) What is the difference between @include and include tags.
2) How do you make a servlet thread safe?
3) If you change a JSP what should be done to get the change reflected in the page?
4) When do you choose to use a servlet or a JSP?
5) What is the MVC model?
Marilyn
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI All
Am Ranjith , Attending an interview in the comming week on jsp , servlet , rmi,ejb , xml ,sockets ,Multithreading , I/O, so don't want to miss the opertunity . if you can spare some time and tell me the possible questions in the following topics , that will be a great help for me .
Thannking you
With Rgds
Ranjith
[ June 14, 2002: Message edited by: Ranjith K ]
 
Frank Zheng
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Check this site:
http://www.webappcabaret.com/javachina/faq/10.htm
Good luck!!!
 
Been there. Done that. Went back for more. But this time, I took this tiny ad with me:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic