Compare major enterprise software architectures


Assignment Outcomes:

A) Compare and contrast the major enterprise software architectures

B) Analyze and evaluate the design options available for each tier in a typical 3-tiered application

C) Assess the potential business impact of emerging enterprise computing technologies

D) Critically evaluate key research areas in enterprise computing.

Assignment Specification:

Some Theoretical Issues in Enterprise Computing Architecture

Problem 1: Answer the following questions that are related to JPA.

1. On completion of the lab projects of this unit, you have used a number of JPA configuration files persistence.xml. You have noticed that transaction-type="RESOURCE_LOCAL (e.g. Week 1 project) or transaction-type="JTA" (e.g. Week 5 project) is used in the configuration files. Describe the difference of using these JPA configuration properties.

2. Using Week 5 project as an example, @PersistenceContext(unitName = "W5P1EJBModulePU") is the only one in the source code that is referencing to a JPA persistence unit, and you haven't seen any physical database names in the source code of the project. Describe how this logic name W5P1EJBModulePU is mapped to a physical database.

Problem 2: Answer the following questions that are related to callbacks and listeners.

1. What are JPA callbacks and how are they driven?

2. Why do we need JPA listeners when callbacks and listeners are the same in functionality?

Problem 3: Explain how an EJB container treats an EJB and a POJO differently and why EJB containers can support one of the Java EE goals: ease of use.

Problem 4: The following is a Java class of simplified shopping cart, which has a number of attributes and methods.

public class Cart {

private String customerName; private String customerAddress; private String contactNumber;

......

......

private List cartItems = new ArrayList();

......

......

public String addItem (String str) { if (!cartItems.contains(str)) {

cartItems.add(str);

return new String("The item has been added");

} else return new String("The item already existed"); }

public String removeItem(String str) { if (cartItems.contains(str)) {

cartItems.remove(str);

return new String("The item has been removed");

} else return new String("The item does not exist");

}

......

......

}

Assume that the Cart object needs to be made into an EJB, which can be called remotely by EJB clients through a Java standalone application.

1. Write a remote interface for the EJB by using relevant annotations.

2. Use EJB annotations to modify the Cart object into an EJB.

3. Write a Java standalone application to call the addItem() method of the Cart EJB.

Note: to make your code concise, Java import statements are not required, and you can use any Java SE or EE APIs directly. You don't need to provide Java source code files; you will need to provide the code in your assignment Word document.

Problem 5:  On completion of the lab projects of Week 11, answer the following questions that are related to SOAP web service.

A) Explain the key difference between a web service application and a general client/server application

B) Describe the main components of WSDL document of web service by using the example CardValidator WSDL document.

C) Describe why WSDL document is important for creating a web service client.

D) What is the standard format of messages that are exchanged between a SOAP client and a SOAP server? In this example project, which object is transformed to that format and how is it recognized for such a transformation?

Problem 6: On completion of the lab projects of Week 12, answer the following questions that are related to JMS.

A) What is the key goal of messaging for enterprise computing?

B) To achieve the same goal in point 1 of this question, there are other Java technologies, list and describe 2 of these technologies.

C) Using JMS as the discussion context, describe what is asynchronous messaging and how to respond to asynchronous messages.

Get in touch with us at once! We are waiting to help you in the best possible manner. Try our Enterprise Computing Architecture Assignment Help service at least once and we are sure that you will come again and again for securing better future academic grades.

Tags: Enterprise Computing Architecture Assignment Help, Enterprise Computing Architecture Homework Help, Enterprise Computing Architecture Coursework, Enterprise Computing Architecture Solved Assignments, Callbacks and Listeners Assignment Help, Callbacks and Listeners Homework Help

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Compare major enterprise software architectures
Reference No:- TGS03028207

Expected delivery within 24 Hours