0% found this document useful (0 votes)
3 views1 page

Advanced Java and J2EE-Assignment 2

The document contains a list of questions related to Advanced Java and J2EE, covering topics such as MVC architecture, String and StringBuffer classes, Remote Method Invocation (RMI), and distributed computing. It includes both two-mark questions and long-answer questions that require explanations and examples. The focus is on understanding key concepts, methods, and their applications in Java programming.

Uploaded by

yogyaraj83
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views1 page

Advanced Java and J2EE-Assignment 2

The document contains a list of questions related to Advanced Java and J2EE, covering topics such as MVC architecture, String and StringBuffer classes, Remote Method Invocation (RMI), and distributed computing. It includes both two-mark questions and long-answer questions that require explanations and examples. The focus is on understanding key concepts, methods, and their applications in Java programming.

Uploaded by

yogyaraj83
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Advanced Java and J2EE

Two Mark Questions

1. What are two advantages of using the MVC architecture in Java applications?
2. What is Model-View-Controller?
3. What are two responsibilities of the View component in MVC?
4. What are the primary roles of the Controller component in the MVC architecture?
5. Write the any two differences between StringBuffer and StringBuilder class.
6. How to initialize String objects using string literals?
7. . What are the different ways to extract individual characters from a string? Give the
syntax
8. What's the difference between equals() and == ?
9. What are the two forms of the substring() method and what do their arguments
represent?
10. What are the roles of the Stub and Skeleton objects in RMI?
11. What is RMI?
12. Why is the RMI Registry important in Remote Method Invocation (RMI) applications?
13. Write any two limitations of distributed computing.

Long Answer Questions

1 With syntax and example explain the following String class methods
a. getChars()
b. replace()
2 With syntax and example explain the following StringBuffer class methods
a. insert()
b. deleteCharAt()
3. Explain character extraction methods of String class with an example
4. Explain any four string comparison methods with an example
5 With an example explain the four methods of StringBuffer class
6. Explain in detail the method that is used by the RMI client to connect to remote RMI
servers?
7. Explain the concept of Remote Procedure Calls (RPC) and its working mechanism with its
five key
elements
8 Explain the Advantages and Disadvantages distributed computing.

___________

You might also like