What is the key goal of messaging for enterprise computing

Assignment Help Other Subject
Reference no: EM132387575

Assignment - Some Theoretical Issues in Enterprise Computing Architecture

In this assignment, you are to address some theoretical issues in the area of enterprise computing architecture. You will need to demonstrate your understanding of these theoretical issues or competence to apply these theoretical issues. These theoretical issues have been introduced by this unit through the textbook, weekly lectures or tutorials/labs. You will need to review these learning materials to address the following questions and prepare to do personal research if necessary.

Please note: copying from the unit learning materials or internet resources cannot show your understanding of the following issues, and you will need to address the following issues in your own word with proper citation and reference.

Question 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.

Question 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?

Question 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.

Question 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<String> cartItems = new ArrayList<String>();

......

......

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.

Question 5 -

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

1. Explain the key difference between a web service application and a general client/server application.

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

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

4. 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 recognised for such a transformation?

Question 6 -

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

1. What is the key goal of messaging for enterprise computing?

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

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

You will need to address the above issues (even if it is a programming question) in a Microsoft Word document.

Reference no: EM132387575

Questions Cloud

What are three primary reasons for strategic management : What are three primary reasons for strategic management and why is it important for organization today.
Enterprise risk management after performing analysis : How can computer engineers educate decision makers on the results of enterprise risk management after performing an analysis on a system
Should they move to blue ocean strategy : What does it mean for Walmart if they stop being a low cost leader? Should they move to blue ocean strategy? How can they do that?
Possible change in that organization physical security : Propose a possible change in that organization's physical security that could have prevented the breach/failure for that scenario
What is the key goal of messaging for enterprise computing : What is the key goal of messaging for enterprise computing? Describe what is asynchronous messaging and how to respond to asynchronous messages
What are the techniques currently used to build models : How is the model-based policy design different from intuitive policy making? What are the techniques currently used to build models?
Introduces impact of global digital divide : Introduces impact of global digital divide. According to authors, countries that lag behind rest of world's ICT capabilities encounter difficulties
Is there a preferred leadership style in situations : Is there a preferred leadership style in these situations? Explain.
Assess the impacts of company business process : Assess the impacts of this company's business process on the business performance in this situation.

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd