The Ordinance 3 Specification and Marking Criteria
Some Hypothetical Issues in Act Computing Edifice
In this ordinance, you are to discourse some hypothetical issues in the area of act computing edifice. You procure scarcity to explain your knowledge of these hypothetical issues or wealth to exercise these hypothetical issues. These hypothetical issues enjoy been introduced by this ace through the textbook, weekly lectures or tutorials/labs. You procure scarcity to reconsideration these lore materials to discourse the aftercited interrogations and arrange to do peculiar exploration if requisite.
Plenjoyment referablee: unoriginal from the ace lore materials or internet resources canreferable parade your knowledge of the aftercited issues, barring may meet plagiarism or cefeiture of marks. Thus, you procure scarcity to discourse the aftercited issues in your admit tidings with own in-text citations and references if requisite.
Interrogation 1 (4 Marks)
Solution the aftercited interrogations that are cognate to JPA.
1. On quantity of the lab schemes of this ace, you enjoy chasteniond a sum of JPA figure files identity.xml. You enjoy referableiced that proceeding-type=-RESOURCE_LOCAL (e.g. Week 1 scheme) or proceeding-type=-JTA- (e.g. Week 5 scheme) is chasteniond in the figure files. Recount the unlikeness of using these JPA figure ownties.
2. Using Week 5 scheme as an model, @PersistenceContext(unitSpectry =
-W5P1EJBModulePU-) is the singly single in the spring enactment that is referencing to a JPA identity ace, and you enjoyn’t seen any corporeal database spectrys in the spring enactment of the scheme. Recount how this logic spectry W5P1EJBModulePU is mapped to a corporeal database.
Interrogation 2 (4 Marks)
Solution the aftercited interrogations that are cognate to circumventbacks and catalogueeners.
1. What are JPA circumventbacks and how are they driven?
2. Why do we scarcity JPA catalogueeners when circumventbacks and catalogueeners are the selfselfidentical in functionality?
Interrogation 3 (2 Marks)
Explain how an EJB container treats an EJB and a POJO variously and why EJB containers can prop single of the Java EE intents: enjoyment of chastenion.
Interrogation 4 (6 Marks)
The aftercited is a Java arrangementatize of simplified shopping cart, which has a sum of attributes and courses.
public arrangementatize Cart { retired String customerName; retired String customerAddress; retired String contactNumber;
…… ……
retired Catalogue String cartItems = fantastic ArrayCatalogue String ();
…… ……
public String gatherIndividual (String str) {
if (!cartItems.contains(str)) { cartItems.add(str);
come-back fantastic String(-The individual has been gathered-); } else come-back fantastic String(-The individual already existed-); }
public String dislodgeItem(String str) { if (cartItems.contains(str)) { cartItems.remove(str);
come-back fantastic String(-The individual has been dislodged-); } else come-back fantastic String(-The individual does referable exist-);
}
……
……
}
Assume that the Cart motive scarcitys to be made into an EJB, which can be determined unrelatedly by EJB clients through a Java standalsingle collision.
1. Write a uncognate interface ce the EJB by using appropriate annotations.
2. Chastenion EJB annotations to disagree the Cart motive into an EJB.
3. Write a Java standalsingle collision to circumvent the gatherItem() course of the Cart EJB.
Note: to execute your enactment condensed, Java significance statements are referable required, and you can chastenion any Java SE or EE APIs undeviatingly. You don’t scarcity to cater Java spring enactment files; you procure scarcity to cater the enactment in your ordinance Tidings instrument.
Interrogation 5 (8 marks)
On quantity of the lab schemes of Week 11, solution the aftercited interrogations that are cognate to SOAP structure advantage.
1. Explain the explanation unlikeness between a structure advantage collision and a unconcealed client/server collision
2. Recount the main components of WSDL instrument of structure advantage by using the model CardValidator WSDL instrument.
3. Recount why WSDL instrument is significanceant ce creating a structure advantage client.
4. What is the scale cemat of messages that are exchanged between a SOAP client and a SOAP server? In this model scheme, which motive is transformed to that cemat and how is it recognised ce such a intercharge?
Interrogation 6 (6 marks)
On quantity of the lab schemes of Week 12, solution the aftercited interrogations that are cognate to JMS.
1. What is the explanation intent of messaging ce act computing?
2. To close the selfselfidentical intent in apex 1 of this interrogation, there are other Java technologies, catalogue and recount 2 of these technologies.
3. Using JMS as the argument treatment, recount what is incontemporaneous messaging and how to rejoin to incontemporaneous messages.
Submission
You procure scarcity to discourse the aloft issues (equable if it is a programming interrogation) in a Microsoft Tidings instrument. You must propose your ordinance via the online acquiescence arrangement from the ace Moodle office. Any hardcopy or email acquiescence procure referable be genuine. After the not attributable attributableable ordinances are come-backed, any advanced acquiescences procure referable be genuine.
The Marking Criteria
Marking Criteria Available Marks
Interrogation 1: ORM 4
1. Whether the proceeding types are explicitly differentiated 2
2. Whether the identity ace to corporeal database mapping is explicitly recountd 2
Interrogation 2: Circumventbacks and Catalogueeners 4
1. What are JPA circumventbacks and how are they driven 2
2. Why JPA catalogueeners are chastenionful when we enjoy circumventbacks 2
Interrogation 3: EJB Container 2
1. How an EJB container treats an EJB and a POJO variously 1
2. Why EJB containers can prop the Java EE intent: enjoyment of chastenion 1
Interrogation 4: EJB Uncognate Circumvent 6
1. Whether the uncognate interface is chasten 2
2. Whether the EJB is chasten 2
3. Whether the client collision is chasten 2
Interrogation 5: SOAP Structure Advantage 8
1. Whether the explanation unlikeness between structure advantage collision and client/server collision is explicitly recountd 2
2. Whether the explanation components of WSDL instrument are explicitly recountd 2
3. Whether the role of WSDL ce creating a structure advantage client is explicitly recountd 2
4. Whether the scale cemat of SOAP messages is 2
identified and explained explicitly
Interrogation 6: JMS 6
1. Why JMS is chastenionful ce act computing 2
2. Whether the other 2 technologies are identified and explicitly recountd 2
3. What is incontemporaneous messaging and how to rejoin to incontemporaneous messages 2
Subtotal ce Ordinance 3 30
Advanced Penalty -1.5 (5% ) ce each enlist day (either full
or divorce)
Plagiarism Cognate Penalty
Total ce Ordinance 3

~~~For this or similar assignment papers~~~