what is the context
Answers were Sorted based on User's Feedback
Answer / praveen kumar
context object is created by server container and it is one for one web application.By using this context we can exchange the data between the resources of the web application.we can get this object from ServletRequest object,ServletConfig object.
| Is This Answer Correct ? | 2 Yes | 0 No |
This is an interface that represents a naming context, which
consists of a set of name-to-object bindings. It contains
methods for examining and updating these bindings.
Syntax is
public interface Context
| Is This Answer Correct ? | 0 Yes | 0 No |
What is map java?
What is native code?
Can a for statement loop indefinitely?
What is downcasting?
what is the use of private constructor in core java?
3 Answers OnMobile, Satyam, Yash Technologies,
What is polymorphism in java? What are the kinds of polymorphism?
Write an algorithm program in java for the following question.. 1) S is a set of integers.X is an integer obtained by sum of two digits in S. Write logic for whether or not the X is from the S. The time of algorithm should not exceed o(n logn).
how to handle exceptions in ejb?
interface X{ void m1(); void m2(); } class Child2 extends Object implements X { public void m1(){ System.out.println("Child2 M1"); } public void m2(){ System.out.println("Child2 M2"); } } public class ParentChildInfterfaceDemo { public static void main(String[] args){ X x = new Child2(); X x1 = new Child2(); x.m1(); x.m2(); x.equals(x1); } } Will the above code work? If yes? Can you please explain why the code x.equals(x1) will work as the equals method is called on interface reference vaiable?
What is the difference between an array and an array list?
What are JVM.JRE, J2EE, JNI?
what is Remote Reference Layer ?