Exforsys

Online Training

JAVA INTERVIEW QUESTIONS

This is a discussion on JAVA INTERVIEW QUESTIONS within the Interview Questions forums, part of the Interviews and Job Listings category; Friends please try to answer the following questions. 1.what are design patterns? How are they applicable to java programming? ...


Go Back   Exforsys > Career Management > Interviews and Job Listings > Interview Questions

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-11-2004, 05:23 PM
bala555
Guest
 
Posts: n/a
JAVA INTERVIEW QUESTIONS

Friends

please try to answer the following questions.
1.what are design patterns? How are they applicable to java
programming?
2.What is custom tag in JSP? give an example on how to build a custom tag using tag library?
3.Have you done any performance tuning in your last project? state them.
4.Can a method be declared as both final and abstract?
5.How do u invoke entity bean from a servlet?
6.What are different ways of communicating between Servlet and JSP? Which one would you recommend?
7. Where do you deploy the class files in weblogic container?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-11-2004, 06:51 PM
Senior Member
 
Join Date: Nov 2004
Posts: 132
Vasu
Re:JAVA INTERVIEW QUESTIONS

1.what are design patterns? How are they applicable to java
programming?
http://www.fluffycat.com/java/patterns.html

2.What is custom tag in JSP? give an example on how to build a custom
tag using tag library?
http://csajsp-chapters.corewebprogra...-Chapter14.pdf

3.Have you done any performance tuning in your last project? state
them?
http://weblogs.java.net/pub/wlg/1101
http://www.javaperformancetuning.com...wtips042.shtml

4.Can a method be declared as both final and abstract?
A method can be declared final to prevent subclasses from overriding or hiding it. Attempting to override or hide a final method, or to declare a final method abstract, causes a compilation error to occur. All methods declared in a final class are implicitly final, because it is impossible to override them. It is permitted but not required for the declarations of such methods to redundantly include the final keyword.

5.How do u invoke entity bean from a servlet?
http://java.sun.com/developer/techni...ans/EJBEntity/

6.What are different ways of communicating between Servlet and JSP?
Which one would you recommend?
Calling a JSP from a Servlet, or vice-versa, can be done using the RequestDispatcher interface, which is part of the Servlet 2.2 specification. Following is the code for sending output to a JSP page from a servlet:

javax.servlet.RequestDispatcher dispatcher = getServletContext().getRequestDispatcher(/Requested.jsp);
request.setAttribute(\"Name\",Vasu);
request.setAttribute(\"Language\",Java);
dispatcher.forward(request,response);

7. Where do you deploy the class files in weblogic container?
http://edocs.bea.com/wls/docs60/ejb/deploy.html
http://edocs.bea.com/elink/elinkjam/...guid/dploy.htm

Thanks
Exforsys Team
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-11-2004, 07:28 PM
bala555
Guest
 
Posts: n/a
Thank You note!

Thank You very much for the answers Vasu..!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
comp.lang.c Answers to Frequently Asked Questions (FAQ List) Steve Summit Tech FAQ 0 09-01-2004 07:00 AM
comp.lang.c Answers to Frequently Asked Questions (FAQ List) Steve Summit Tech FAQ 0 07-03-2004 08:27 PM
java interview questions dchowdary Interview Questions 2 05-20-2004 06:51 AM


All times are GMT -4. The time now is 06:14 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.