UML Parsing Analysis

Java EE: "Your First Cup" tutorial gets the UML Parsing Analysis treatment in a super new demonstration !

This is the most comprehensive demonstration of application of Dr Darren's UMLTM Parsing Analysis recipe to software engineering yet, and forms the basis of a new Webel seminar. Selected sentences of Your First Cup: An Introduction to the Java EE Platform are modelled in UMLTM with traceable binding to analysis elements via source text «wrapper» Components, to form an analysis layer, which is then bound to reverse engineered "designed" elements from Sun's Java EE tutorial. UMLTM Parsing Analysis helps "make words run" ! Visit:

Gallery: UML Parsing Analysis demonstration: Your First Cup: An Introduction to the Java EE Platform

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

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 UMLTM Parsing Analysis «wrapper» Components is indicated by an Artifact and matching source text wrapper Stereotype.

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 UMLTM 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).

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

Until now in this UMLTM 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