Goal of messaging for enterprise computing

Assignment Help JAVA Programming
Reference no: EM132422731

Learning Outcomes

Compare and contrast the major enterprise software architectures

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

Assess the potential business impact of emerging enterprise computing technologies

Critically evaluate key research areas in enterprise computing.

Assignment Specification

Some Theoretical Issues in Enterprise Computing Architecture

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.

Reference no: EM132422731

Questions Cloud

Use of social media in china influence the fiesta movement : What were some of the challenges Ford faced in launching the Fiesta model in the US?Why do people buy small cars in the US ?
Find a symmetric nash equilibrium : Consider only stage 2. Suppose N firms entered this market. Find a symmetric Nash equilibrium among the N firms that entered.
What is the price consumers pay : After the tax is imposed, what is the price consumers pay, the price producers receive, producer surplus, consumer surplus, the total welfare, and the deadweigh
Calculate consumer surplus-producer surplus : Suppose this monopolist has constant marginal cost of $20 and zero fixed cost. Calculate consumer surplus, producer surplus, and total welfare in this market.
Goal of messaging for enterprise computing : Compare and contrast the major enterprise software architectures and Analyse and evaluate the design options available for each tier in a typical 3-tiered
Resulting from the existence of this monopoly : Derive this monopolist's profit-maximizing quantity, profit maximizing price, profit earned, consumer surplus, producer surplus and deadweight loss
What is the price in the competitive equilibrium : Question 1: What is the quantity produced in the competitive equilibrium? Question 2: What is the price in the competitive equilibrium?
Should women be paid the same as men : Are women paid less than men? Is the gender pay gap a statistical artifact, or is it real?
HI5019 Strategic Information Systems for Enterprise : HI5019 Strategic Information Systems for Business and Enterprise Assignment Help and Solution, Holmes Institute, Australia

Reviews

len2422731

12/24/2019 4:28:39 AM

I need help in this assignment it is related to java and all theoratical. I need complete referencing style Harvard(Author-date), which is already mention in attach image and make sure you will follow marking criteria and all style which is suitable and all reference, what i need is from google scholar. I need also proper format and indentation, refrence in paragraph and in reference list, too.

Write a Review

JAVA Programming Questions & Answers

  Write a method named is all vowels that returns

Write a method named isAllVowels that returns whether a String consists entirely of vowels

  Alicia creates a button using the code jbutton exit button

Alicia creates a button using the code JButton exitButton = new JButton("exit"); and places it into a JFrame named mainFrame

  How many data items are within one standard deviation

How many data items are within One Standard Deviation - Generate a list of 100 values between 0 and 100 using the generator (int)(Math.random()*101).

  When are stubs & skeletons created for my ejb components

When are stubs & skeletons created for my EJB components? is it at development time, deployment time or run time?

  Implement a simple paddle ball game

Implement a simple paddle ball game. Paddle Ball Game Overview The paddle ball game is a simplification of the Pong game. In the Pong game, a ball is moving around the display, bouncing off walls.

  Write a java class called box to draw a box

Write a Java class called Box to draw a box based on the user specific dimensions. Use asterisk (*) to draw the box. You need to prompt user for the width and height.

  Create a public static function

Application will generate an array with 50 random integers - create a public static function - You may modify and return the given array, or make a new array

  Implement the dynamic linkage pattern specified

Implement the Dynamic Linkage pattern specified - implement all of the classes as defined below substituting the yellow classes with your own class definitions - The header basically is a comment section at the beginning of each of your Java file ab..

  Create a java program that displays an opening screen

Create a Java program, called Center, that displays an opening screen with text information about your program centered in the middle of the screen.

  Program obtaining the new scriptdownload and save the

program obtaining the new scriptdownload and save the attached comment cgi mailer script form-mail2.pl to your servers

  How to count number of objects (instances) created

How to count number of objects (instances) Created, use java code and please be descriptive

  Explain what is local variable in java programming

Explain What is local variable in java programming?

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