is it possible to create single instance of java class per
session in web application
Answer Posted / sk.bilal ahmed
yes
eg.,
Public final class Singleton{
private static Singleton singleton;
public static Singleton getInstance()
{
if(singleton ==null)
{
singleton=new Singleton();
}
retuen singleton;
}
public void getvalue()
{
}
}
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is java j2ee developer?
What is jaap?
What is javamail?
What is java listener?
What is form-based authentication?
Is java part of oracle?
What is enterprise information system?
Why is java more secure?
What are j2ee technologies?
Is object a composite data type in java?
What is event in java?
What is java netbeans?
How is java development environment setup?
What is jetty in java?
What is asant?