Jawaharlal Nehru Technological University Hyderabad

Jawaharlal Nehru Technological University Hyderabad B.Tech IV WEB SERVICES AND SERVICE ORIENTED ARCHITECTURE Previous Question Paper (September - 2022 - R16)

B.Tech | IV | II | R16 | September - 2022

Answer PaperPaper Code: 138FHMaximum Marks: 75Time: 3 hours

Answer any Five Questions

All Questions Carry Equal Marks

Main

115 marks
a

How distributed computing has changed the traditional network programming? Explain with a suitable program.

8 marks

Answer

Distributed computing has shifted the paradigm of network programming from low-level socket-based communication to high-level abstraction layers. Traditional network programming required developers to manually manage byte streams, serialization, connection handling, and protocol implementation. Distributed computing introduces middleware that hides these complexities, allowing developers to invoke remote methods as if they were local.

Key changes include:

  • Abstraction: Developers focus on business logic rather than network I/O.
  • Transparency: Location, access, and failure transparency are provided by the framework.
  • Interoperability: Standardized protocols enable communication between heterogeneous systems.

Example using Java RMI (Remote Method Invocation):

// Remote Interface public interface Hello extends Remote { String sayHello() throws RemoteException; } // Implementation public class HelloImpl extends UnicastRemoteObject implements Hello { public String sayHello() { return "Hello, World!"; } } // Client Invocation Hello obj = (Hello) Naming.lookup("rmi://localhost/Hello"); System.out.println(obj.sayHello());
b

Compare the limitations of RMI with CORBA.

7 marks

Answer

FeatureRMI (Remote Method Invocation)CORBA (Common Object Request Broker Architecture)
Language SupportJava onlyLanguage independent (C++, Java, Python, etc.)
PlatformTied to JVMPlatform independent
ProtocolJRMP (Java Remote Method Protocol)IIOP (Internet Inter-ORB Protocol)
ComplexitySimple to implement for Java environmentsHigh complexity due to IDL (Interface Definition Language)
InteroperabilityLimited to Java-to-JavaExcellent for heterogeneous distributed systems

The primary limitation of RMI is its language dependency; it requires both client and server to be written in Java. In contrast, CORBA uses an IDL to map objects to different programming languages, making it more suitable for large-scale enterprise systems where multiple languages are used. However, CORBA is significantly more difficult to configure and maintain compared to the streamlined, type-safe nature of RMI.

215 marks
a

What is a web service? How does it differ from a web application? Explain with example scenarios.

7 marks

Answer

Sign in to view the complete answer paper.

b

Briefly discuss any three technologies being used in delays for web services.

8 marks

Answer

Sign in to view the complete answer paper.

315 marks
a

What is XML? How does it complement SOAP, WSDL?

7 marks

Answer

Sign in to view the complete answer paper.

b

With an example demonstrate the basic steps of implementing a web service.

8 marks

Answer

Sign in to view the complete answer paper.

4

Write code to develop a webservice for weather reporting using J2EE– explain the functions exposed by this service provider.

15 marks

Answer

Sign in to view the complete answer paper.

515 marks
a

How to create a WSDL definition for a web service? Explain with an illustration.

7 marks

Answer

Sign in to view the complete answer paper.

b

What is XML element? What is XML namespace? What is the importance of namespaces?

8 marks

Answer

Sign in to view the complete answer paper.

615 marks
a

How are errors handled in Simple Object Access Protocol? Demonstrate with an example.

8 marks

Answer

Sign in to view the complete answer paper.

b

Illustrate service roles in a service-oriented architecture.

7 marks

Answer

Sign in to view the complete answer paper.

715 marks
a

What is UDDI? Explain its role in expanding potential business partnerships.

7 marks

Answer

Sign in to view the complete answer paper.

b

Explain the need and significance of UDDI business registry with necessary code.

8 marks

Answer

Sign in to view the complete answer paper.

815 marks
a

What is cryptography? Explain the need of cryptography and encryption for web services.

5 marks

Answer

Sign in to view the complete answer paper.

b

Define semantic interoperability problem.

5 marks

Answer

Sign in to view the complete answer paper.

c

Describe standard distributed management framework.

5 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the question paper of WEB SERVICES AND SERVICE ORIENTED ARCHITECTURE from Jawaharlal Nehru Technological University Hyderabad for B.Tech CSE IV II, September - 2022, R16.

For the solved question paper with answers, switch to the Answer Paper tab.

Other papers in WEB SERVICES AND SERVICE ORIENTED ARCHITECTURE

Loading Question Papers

Fetching data from database...