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? ...
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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? |
|
|||
|
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 |
![]() |
| Thread Tools | |
|
|
|
||||
| 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 |