• 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
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Bear Bibeault
  • paul wheaton
Saloon Keepers:
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Mikalai Zaikin
  • Piet Souris
Bartenders:

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
 
Today's lesson is that you can't wear a jetpack AND a cape. I should have read this tiny ad:
Low Tech Laboratory
https://www.kickstarter.com/projects/paulwheaton/low-tech-0
reply
    Bookmark Topic Watch Topic
  • New Topic