• 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
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

interview questions - J2EE

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Anyone have any thoughts on good interview questions regarding J2EE tech with emphasis in EJB, servlets, JSP or any other relevant areas.
Thanks,
Brandon
 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Here are some questions: http://www.javaranch.com/ubb/Forum37/HTML/000710.html
One of them is:
"-What would u do if u want to do something only for the first invocation of the servlet/jsp"
I know what to do for servlet, but I want to know what to do for jsp.
Thank
 
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That's interesting ... what would you do? Something with the servlet's init method? Don't forget that some containers may maintain a pool of servlet instances ... and each instance would get initialised.
Similarly JSPs have a jspInit method which you can define in a jsp:declaration

 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
One more question asked in interviews wrt servlets :
How can u increase performance of a servlet in an application without changing the source code ?
Ans : Increase the pool size. Weblogic , or any other application server lets you do that.
 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I do not find the link working.
Can you somebody tell me where this link is locatedd and some more Questions on JSP and Websphere are appreciated

Thanks and Regards,
Laxmikant
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic