Gallery: UML Parsing Analysis demonstration: Your First Cup: An Introduction to the Java EE Platform
This new Webel demonstration of the UML™ Parsing Analysis recipe shows how selected sentences of this very well known tutorial on the Java EE Platform can be interpreted as - and "bound" to - UML™ analysis elements (indicated here with an asterix '*' prefix as in *Element) , and to reverse engineered "design" (in this case reused "designed") elements.
The source document for the demonstration is the PDF version of the Java EE 6 form of:
The demonstration starts with some selected high level architectural descriptions, which are mapped at first only to purely analysis elements, and some of the basic rules of and variations on the UML™ Parsing Analysis recipe are explored, before penetrating the design layer and running examples. Instructional remarks appear in Comment elements, whereas the source text mostly appears as the name of «wrapper» Components (or in "instances" of them), which can be strongly related to analysis and design elements, in accordance to the rules of 2nd Order UML Parsing Analysis.
Gallery: Tutorial: Port-based reverse-engineering and Java, in MagicDraw UML (from 2008)
Contents of: Gallery: UML Parsing Analysis demonstration: Your First Cup: An Introduction to the Java EE Platform
- 2. Understanding Java Platform, Enterprise Edition
- Overview of Enterprise Applications
- Tiered Applications
- In a multi-tiered application, the functionality of the application is separated into isolated functional areas, called tiers
- Typically, multi-tiered applications have a client tier, a middle tier, and a data tier (often called the enterprise information systems tier).
- The client tier consists of a client program that makes requests to the middle tier (nested Property version)
- The client tier consists of a client program that makes requests to the middle tier (associative version)
- The client tier consists of a client program that makes requests to the middle tier (composite version)
- The middle tier's business functions handle client requests and process application data, storing it in a permanent datastore in the data tier.
- The middle tier's business functions handle client requests and process application data, storing it in a permanent datastore in the data tier: NESTED PROPERTY FORM
- Java EE application development concentrates on the middle tier to make enterprise application management easier, more robust, and more secure.
- *Application_Tiered_typical
- The Client Tier
- The client tier consists of application clients that access a Java EE server and that are usually located on a different machine from the server.
- The clients make requests to the server
- The server processes the requests and returns a response back to the client.
- Many different types of applications can be Java EE clients, and they are not always, or even often Java applications.
- Clients can be a web browser, a standalone application, or other servers, and they run on a different machine from the Java EE server.
- The Web Tier
- The web tier consists of components that handle the interaction between clients and the business tier.
- Its primary tasks are the following:
- Dynamically generate content in various formats for the client
- Collect input from users of the client interface and return appropriate results from the components in the business tier.
- Collect input from users of the client interface and return appropriate results from the components in the business tier (as composite structure)
- Control the flow of screens or pages on the client.
- Maintain the state of data for a user's session
- Perform some basic logic and hold some data temporarily in JavaBeans components.
- Java EE Technologies Used in the Web Tier
- Java programming language classes that dynamically process requests and construct responses, usually for HTML pages
- Java programming language classes that dynamically process requests and construct responses, usually for HTML pages (port version)
- Java programming language classes that dynamically process requests and construct responses, usually for HTML pages (composite structure)
- Text-based documents that are compiled into servlets and define how dynamic content can be added to static pages, such as HTML pages.
- A tag library that encapsulates core functionality common to JSP pages
- Objects that act as temporary data stores for the pages of an application
- A user-interface component framework for web applications that allows you to include UI components (such as fields and buttons) on a page, convert and validate UI component data, save UI component data to server-side data stores, and maintain component st
- Facelets applications are a type of JavaServer Faces applications that use XHTML pages rather than JSP pages.
- A set of standard tags used in JSP and Facelets pages to refer to Java EE components
- The Business Tier
- The business tier consists of components that provide the business logic for an application
- Business logic is code that provides functionality to a particular business domain, like the financial industry, or an e-commerce site
- In a properly designed enterprise application, the core functionality exists in the business tier components.
- In a properly designed enterprise application, the core functionality exists in the business tier components (composite structure diagram)
- Java EE Technologies Used in the Business Tier
- The Enterprise Information Systems Tier
- The enterprise information systems (EIS) tier consists of database servers, enterprise resource planning systems, and other legacy data sources, like mainframes
- These resources typically are located on a separate machine than the Java EE server, and are accessed by components on the business tier
- Java EE Technologies Used in the EIS Tier.
- Java EE Servers
- A Java EE server is a server application that the implements the Java EE platform APIs and provides the standard Java EE services.
- Java EE servers are sometimes called application servers, because they allow you to serve application data to clients, much as how web servers serve web pages to web browsers.
- Java EE servers host several application component types that correspond to the tiers in a multi-tiered application
- The Java EE server provides services to these components in the form of a container
- Java EE Containers
- Java EE containers are the interface between the component and the lower-level functionality provided by the Java EE platform to support that component
- The Web Container
- The web container is the interface between web components and the web server.
- A web component can be a servlet, a JavaServer Faces Facelets page, or a JSP page.
- The container manages the component's lifecycle, dispatches requests to application components, and provides interfaces to context data, such as information about the current request.
- The Application Client Container
- The application client container is the interface between Java EE application clients, which are special Java SE applications that use Java EE server components, and the Java EE server.
- The application client container runs on the client machine, and is the gateway between the client application and the Java EE server components that the client uses.
- The application client container runs on the client machine, and is the gateway between the client application and the Java EE server components that the client uses (connected).
- The EJB Container
- The EJB container is the interface between enterprise beans, which provide the business logic in a Java EE application, and the Java EE server.
- The EJB container runs on the Java EE server and manages the execution of an application's enterprise beans.
- 3. Creating Your First Java EE Application
- Clone of This chapter gives an overview of the example application and step-by-step instructions on coding the example application.
- This chapter gives an overview of the example application and step-by-step instructions on coding the example application.
- Architecture of the Example Application
- The example application consists of three main components: DukesAgeResource, a JAX-RS RESTful web service; DukesBirthdayBean, an enterprise bean; and firstcup, a web application created with JavaServer Faces Facelets technology.
- DukesAgeResource is a JAX-RS resource that calculates the age of Duke, the Java mascot.
- Java EE 6 Tutorial: Types of Enterprise Beans
- DukesBirthdayBean is a stateless session bean that calculates the difference between the user's age and Duke's age.
- 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 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 Act.
- The firstcup web application consists of the following:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Gallery preview index: instructions:
- Image gallery:
- click an image's preview to view it full size in an image viewer.
- then optionally follow the link "Image node details" to the image's node.
- Video gallery:
- click a video thumbnail (upper) to play it in a video player.
- OR click a video scene (lower) to go to a video's node with info then play the video.
- Printer-friendly version
- Login to post comments
Zones
- IT zone
- UML zone
- Java zone
- XML zone
- Drupal CMS zone
- SysML zone
- C++ zone
- Eclipse zone
- In MagicDraw UML, classifier-level sterotypes "show through" on symbols of instance level properties, unless that property has a visible (non-hidden) instance-level stereotype applied.
- Netbeans IDE zone
- Puredata synthesis zone
- Shibboleth zone
- Snippet-driven engineering: a meta-process for documentation-driven software and systems engineering
- Tools and Tips



















