• 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
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
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
 
So it takes a day for light to pass through this glass? So this was yesterday's tiny ad?
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic