PART-A (10X2=20 marks)
1. Enumerate the difference between a Thin Client and a Fat Client? List its advantages.
2. What is Middleware? List its major classifications.
3. Give the software architecture of EJB.
4. What are the various transaction attributes available in EJB?
5. When should you adopt BMP and when you should use CMP?
6. What is the need of Remote and Home interface? What can’t it be in one?
7. What is the role of an interface in CORBA?
8. What are the similarities and differences between RMI and CORBA?
9. What is marshaling by value?
10. What is assembly in .NET framework?
PART-B (5X16=80 marks)
11. (a) (i) Explain the architecture of MOM. How is it different from other types of middleware? (10)
(ii) Develop a simple e-commerce web database model which uses a middleware. (6)
(b) (i) Give the syntax and semantics of RPC mechanism in detail. State the producer consumer problem. Write the procedure for producer consumer problem and explain how it is supported by RPC in distributed environment. (16)
12. (a) Write the benefits provided by EJB for application developers. With a neat sketch explains the EJB architecture in details including all its modules. (16)
(b) (i) Explain the basic roles in an EJB environment in detail. (10)
(ii) Write the steps to deploy a new EJB module. (6)
13.(a) (i) Explain the concept of session bean and its types in detail. (8)
(ii) Describe the components of entity bean. What makes Entity Beans different from Session Beans? Explain (8)
(b) Consider the Inventory application which supports three basic use cases:
(i) Add Items to the Stock
(ii) Receive Items
(iii) Issue Items
The application workflow starts with adding item information to the stock. Then it allows enter goods receiving and issuing information. All those updated information are stored in the inbuilt database. Implement the above application using EJB by considering the necessary issues invoked. (16)
14. (a) (i) Explain the architecture of CORBA in detail. (8)
(ii) Write the IDL program for the “hello world” program (8)
(b) (i) Describe the components involved in CORBA object model in detail. (8)
(ii) Write a CORBA IDL specification, Stack class, Server main program and Client main program for the given description.
“The client sends the server an integer value to be stored in a stack”.
15. (a) Explain the interfaces in COM. Write the steps to create a COM object. (16)
(b) (i) Compare the features of DCOM and CORBA. (8)
(ii) Explain .NET framework Remoting Architecture. (8)
PART-A (10X2=20 marks)
1. Enumerate the difference between general and service specific middleware
2. Draw the diagram that depicts the building block of client server
3. State the roles of EJB in eco system.
4. When do you use EJB?
5. Enumerate the difference between CMP and BMP
6. List any four exceptions raised in EJB
7. What is the role of IDL and IDL compiler in distributed system?
8. CORBA ORB is a self describing system – Justify
9. Compare the functionalities of CORBA and DCOM.
10. List the roles of .NET base class libraries.
PART-B (5X16=80 marks)
11. (a) (i) Explain the working mechanism of MOM. State the difference between RPC and MOM. (10)
(ii) Illustrate the three tier web server model and explain the sequence of operatons performed in the server side of the model. (6)
(b) How is RPC implemented in client server environment? Explain in detail the various issues involved while implementing with diagram. (16)
12. (a) (i) With a neat sketch explain the EJB architecture specifying both client side and server side environment. (8)
(ii) Describe the sequence of steps for deploying J2EE based EJB applications. (8)
(b) (i) Describe the functions of different types of client views available in EJB. (6)
(ii) Explain the main steps employed for server-side and client side EJB development in detail. (10)
13. (a) (i) Compare and contrast stateful session beans with stateless session beans. (6)
(ii) Explain the life cycle of entity bean in detail (10)
(b) Consider an E-commerce application of “shopping cart” for purchasing things over the web. Implement the above application using EJB by considering the necessary issues involved. (16)
14. (a) (i) Explain the need and technologies used to implement an distributed system in detail. (8)
(ii) Differentiate between dynamic invocation interface and static invocation interface. (3)
(iii) How programmers access ORB functionality from their programming language? How to map the following OMG IDL into C, C++ languages? (5)
void operation (inout long param) raises (USER_EXCEPTION)
(b) (i) Discuss the issues involved in CORBA object model in detail. (8)
(ii) Write a CORBA client application to say “hello” and explain how an ORB object is created and accessed to invoke the specified operation in your coding. (8)
15. (a) How do you implement interfaces in COM? Explain the concept involved in it with diagram and example. (16)
(b) (i) How does proxy and stub are generated in remote communication? Describe in detail how communication takes place with diagram (8)
(ii) Draw the architecture of .NET and how does CLR execute the .NET source code? Explain the steps involved in it. (8)