November/December 2007 Question Paper

March 14, 2008 at 11:59 pm (Q.Paper) ()

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)
(OR)
(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)
(OR)
(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)
(OR)
(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)
(OR)
(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)
(OR)
(b) (i) Compare the features of DCOM and CORBA. (8)
(ii) Explain .NET framework Remoting Architecture. (8)
=====

Permalink Leave a Comment

MAY/JUNE 2007 Question Paper

March 14, 2008 at 11:43 pm (Q.Paper) ()

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)
(OR)
(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)
(OR)
(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)
(OR)
(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)
//OMG IDL
Module first
{
Interface foo
{
void operation (inout long param) raises (USER_EXCEPTION)
};
};
(OR)
(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)
(OR)
(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)
======

Permalink Leave a Comment

COM and CORBA Side by Side

March 14, 2008 at 11:31 am (COM, CORBA, Unit 5) (, )

.

Trait

Similarities

Differences

Interfaces

Each uses their own IDL to describe interfaces.

CORBA IDL is simpler an elegant than COM IDL

COM has better tool support for creating and managing IDL than CORBA

Datatypes

Both support a rich set of data types

Both also support constants, enumerated types, structures and arrays.

COM has automation types. Automation compatible interfaces are supported in more client environments than non-compatible interfaces. Because the non-compatible interfaces are not guaranteed to work other than C++.

Any CORBA interface can be used from any CORBA client

Proxies, Stubs & Skeletons

COM and CORBA rely on client stubs and server stubs to handle remoting issues.

COM & CORBA generate client stubs and server stubs from IDL.

COM client & server stubs are called as Proxy & Stub and in CORBA called as Stub & Skeleton.

COM proxy-stub DLLs are used by all language environments. In CORBA, a separate stub-skeleton must be generated for each ORB/language combination.

Marshaling & Unmarshaling

COM and CORBA handle marshaling in client stubs and server stubs. Users do not need to worry about marshaling.

COM allows automation-compatible interfaces to use type library marshaling, thus eliminating the need for customized stubs.

Object Handles

COM & CORBA support reference counted handles on object instances.

COM calls object handles as interface pointers and CORBA calls as object references.

CORBA supports multiple inheritance in the interface hierarchy. COM supports single inheritance only; however a COM object supports more than one distinct interface.

Object Creation

Both use factories to create objects instances.

COM has a standard factory interface called IClassFactory CORBA factories are customized persistent CORBA objects.

Object Invocation

Both allow for method invocation similar to native environment method invocation.

COM’s error-handling mechanism is based on HRESULT return values.

CORBA supports user-defined exception types in IDL.

Object Destruction

COM and CORBA rely on reference counting to determine when an object can be destroyed

COM supports distributed reference counting and garbage collection.

CORBA reference counts are maintained separately in the client and server.

Permalink 1 Comment