Explain Object Serialization and it can be used?
Answers were Sorted based on User's Feedback
Answer / devarathnam c,kotagudibanda(po
Hi,
Object Serialization: It is process of storing an object
state as permanently in the file(secondary storage).Java is
internet language ,so we need to serialize an object
into "bit-blobs" streams inorder to send an object(s) over
the network.To achieve this task we can use "Serializable"
interface(Marker interface),"ObjectOutputStream"
and "ObjectInputStream" classes also plays key role in the
Serialization process.
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / abhijeet chalke
By implementing Seralizable interface we can store state of
an object which is very much important in j2ee application
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / senthil
implementing Seralizable interface we can store state of
an object which is very much important in advanced java
application
| Is This Answer Correct ? | 1 Yes | 0 No |
what are memory considerations of jsp compares to other web components?
1) which method of the RequestDispatcher cannot be called once the output is sent to the client? a. forward b. include c. both a&b 2) which interface should an object implement to get notified of changes to the list of active sessions in a web application? a. HttpSessionListener b. HttpSessionActivationListener c. HttpSessionAttributeLIstener 3) A user can select multiple locations from a list box on an HTML form, which of the following methods can be used to retrieve all the selected location? a. getParameter() b. getParameterValues() c. getParamValues() 4) which of the following methods should be used to send character text to the client? a. ServletResponse.getWriter() b. ServletResponse.getOutputStream() c. ServletResponse.getOut() 5) which implicit object is always available in a JSP page? a. exception b. session c. out 6) which inclusion mechanism doesn't include the source of the page, rather the output of the page. a. include directive b. jsp:include action c. Bothe a& b 7) which attribute of the page controls whether a page participates in session or not? a. session-allowed b. session c. isSession
What is the difference between static and non-static with examples?
What are the implicit objects?
What is servlet preinitialization?
What is prototype?
What are the benefits of detached objects?
Is 'synchronised' a modifier?
How do you download stubs from a Remote place?
What are the ways to define classes that can be run as threads?
when we applied start()method on a thread ,how does it know that to execute run()method on that object?
Why is string immutable in java?