Using rational rose and UML to develop Java EE application (II.)

Source: Internet
Author: User

Implement software

Although the analysis model can help you to solve the problem provides a foundation, but is still very far from implementation. During design time, you must take into account the additional constraints and requirements of the technology used and try to map the solution to the optimal implementation.

In our example, let's say we're building a web-based application. Implementing such an application requires a deliberate approach. The role of the analytical model is as a starting point for the decision to map different Java technologies to the scenario. For example, the > class maps well to the Java Servlets or Enterprise JavaBean (EJB) session Beans. This method can be the Java layer's implementation model and Sun's "Model 2" reference system corresponding.

Rational Rose provides a simplified interface for developing Servlets and EJB session Beans. Figure 5 shows a dialog box that creates a servlet.

Figure 5 servlet Definition Window * * * *

Although EJB contains multiple interfaces and classes, Rational rose provides a convenient interface for creating EJBS. The dialog box to create the EJB is shown in Figure 6. Here, the dialog box shows the settings you need to create a stateless session bean.

Figure 6****

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.