Saturday, April 3, 2010

Exercise 4

1. Describe the important and distinguishing properties of Peer to Peer computing with the client/server architecture?
Answer:-

A peer-to-peer computing play the responsibility of both server and client, here every client may request and share resources to other clients. All computers are connecting each other without any server. The total capacity of the system will increase as per the nodes increase and the  distributed nature of P2P networks also increases robustness, and in pure P2P systems by enabling peers to find the data without relying on a centralized index servern and there is no single point of failure in the system.

When the term peer-to-peer was used to describe the Napster network, it implied that the peer protocol was important, but, in reality, the great achievement of Napster was the empowerment of the peers (i.e., the fringes of the network) in association with a central index, which made it fast and efficient to locate available content. The peer protocol was just a common way to achieve this.

Client-server computing or networking is a distributed application architecture that partitions tasks or workloads between service provider’s server and service requester, called clients. A Server machine is a high-performance host that is running one or more server programs which share its resources with clients. A client does not share any of its resources, but requests a server's content or service function.

 Here all data is stored on the servers, which generally have far greater security controls than most clients, server can better control and appropriate permissions given to each clients to access resources. And all data are storage in server; updates to that data are far easier and faster. It functions with multiple different clients of different capabilities.

Reference:-
http://en.wikipedia.org/wiki/Peer-to-peer
http://en.wikipedia.org/wiki/Client-server


2.Frameworks for development.Compare and contrast between Java and .Net.
Answer:-
Java is an open source programming language developed by Sun Microsystems while the .net is a programming infrastructure created by Microsoft for building, deploying and running application and services that use .net technologies, such as desktop application and web services
Java is portability, which means that computer programs written in the Java language must run similarly on any supported hardware/operating-system platform. And .NET applications will run only on Windows. But both environments are platform independent.
 Both environments include OO features such as polymorphism, encapsulation, and inheritance. Both languages are compiled, Java into byte code and .NET languages into Intermediate Language.

Reference:-
http://en.wikipedia.org/wiki/Java_(programming_language)
http://www.online-brain.com/blogs/java_dotnet

No comments:

Post a Comment