Static data members field (variable) and method belong to class. Static fields can be used before creating an instance of the class and static method can be accessed using class name.
Static data member has a class scope. A single copy of static data member get shared within the objects of that class. A non-static member cannot access a static member of that class.
checked exceptions must be handeled.That is, a try-catch must either be nested around the call to the method that throws the exception.The compiler will throw an ...
The question should be like - What is the difference between
requestdispatcher.forward and response.sendredirect?
The response will not be sent back to the client and so the client will not
know...
Number of clients can share the same instance of above mentioned bean because in stateful session bean multiple clients are assigned with one instance only, so they would all share taht instance.thank you!
Hello Friends, Only one client can share a same instance of a stateful session bean.As the name suggested that stateful session beans maintained the session information of the client so only one client can share the same instance of a stateful session bean.