Darwin and others. Applet; import java. FlowLayout; import java. Font; import java. Icon Demo Applet 2. Socket Applet 3. Applet Socket Quote 4. Applet Print 5. Applet System Properties 6. Applet Sound 7. Show Document 8. Applet communication talk to each other 9. Get Applets JDBC applet An application and an applet Applet and Swing Components Icon behavior in Jbuttons Signed Applet Load resource in Applet Scribble Applet Toggle button Bouncing Circle Applet Menu Bar Demo May 17, Asynchronous Communication Advantages: Requests need not be targeted to specific server.
Service need not be available when request is made. No blocking, so resources could be freed. Could use connectionless protocol Disadvantages: Response times are unpredictable.
Error handling usually more complex. Usually requires connection-oriented protocol. Harder to design apps Synchronous Communication Advantages: Easy to program Outcome is known immediately Error recovery easier usually Better real-time response usually Disadvantages: Service must be up and ready. The getParameterInfo method returns an array of string arrays that specify the name,type, and description of each of the parameter. Name 2 classes that can store arbitrary number of objects?
What is the difference between java. How to prevent field from serialization? What is the difference between throw and throws? Can multiple catch statements be used in exceptions? Is it possible to write a try within a try statement? What is the 2 way of creating a thread? Which is the best way and why? What is the method to find if a thread is active or not?
What is the difference between sleep and suspend? Can thread become a member of another thread? What are the three types of priority? Garbage collector thread belongs to which priority? How can you find the length and capacity of a string buffer? What is the purpose of run-time class and system class? What is the method used to clear the buffer?
What is serialization and de-serialisation? How to find the host from which the Applet has originated? What is the life cycle of an Applet? What is mean by getCodeBase and getDocumentBase method?
0コメント