enterprise architecture

greeting.xhtml: An XHTML page that uses the JavaServer Faces Facelets tag libraries.

The Your First Cup: An Introduction to the Java EE Platform source text has not yet said whether greeting.xhtml "is" a Facelet, or just 'uses the the JavaServer Faces Facelets tag libraries'.

Also, it has not yet been explained what relationship (if any) the 'JavaServer Faces Facelets tag libraries' have with Expression Language (EL) tags already encountered during this UML™ Parsing Analysis demo.

Until further info becomes available in the source text these matters are simply noted.

The firstcup web application is a JavaServer Faces Facelets application that accesses DukesAgeResource to display Duke's age, reads in a date provided by the user, accesses DukesBirthdayBean to calculate who is older, and then displays the difference ..

The source text from Your First Cup: An Introduction to the Java EE Platform is a bit confusing in a few respects here, as pedantically annotated in the spirit of UML™ Parsing Analysis.

Firstly, we are told that 'The firstcup web application .. accesses DukesAgeResource to display Duke's age'. Does this mean that the DukesAgeResource can display Duke's age ? Or rather, that Duke's age is retrieved for display by the firstcup application ?

Also, 'The firstcup web application .. accesses DukesBirthdayBean to calculate who is older'. Does this mean there is an operation that returns a person (the Duke or the User), whoever is older ? Or is there a boolean ?

This source text snippets lends itself well to an analysis Activity Diagram, shown next ..

DukesBirthdayBean is a stateless session bean that calculates the difference between the user's age and Duke's age.

An analysis operation is used to represent the calculation and to hold Usage relationships to the age Properties.

Note also the re-use of source text «wrapper» Components from another text to clarify the analysis elements.

Java EE 6 Tutorial: Types of Enterprise Beans

To understand the rest of the Your First Cup: An Introduction to the Java EE Platform example application, it helps to incorporate some background information on Session Beans, obtained from The Java EE 6 Tutorial, Volume I: Part IV Enterprise Beans.

The inclusion of a new of source text for UML™ Parsing Analysis «wrapper» Components is indicated by an Artifact and matching source text wrapper Stereotype.

DukesAgeResource is a JAX-RS resource that calculates the age of Duke, the Java mascot.

It is not clear yet from the Your First Cup: An Introduction to the Java EE Platform source text whether every 'JAX-RS RESTful web service' is also a 'JAX-RS resource'.

For brevity, the «wrapper» Component for ''Duke was born on May 23, 1995, when the first demo of Java technology was publicly released.' is combined with this focus diagram (I don't usually recommend this practice).

Clone of This chapter gives an overview of the example application and step-by-step instructions on coding the example application.

Until now in this UML™ Parsing Analysis demo only class diagrams and composite structure diagrams have been used; these will now be complemented with activity diagrams and related Activity elements, to encapsulate the steps for creating the example application from Your First Cup: An Introduction to the Java EE Platform (which will eventually run here directly from this demo trail).

Syndicate content
Unified Modeling Language
OMG Systems Modeling Language
Java Get Powered
PHP
Powered by MySQL
Powered by Drupal
Lunarpages.com Web Hosting