Use together to learn Java and Mode

Source: Internet
Author: User

Together is a recommended tool in the mode. You can search for it on the Internet to find out whether it can be used. How to install it as reprinted:

 

Together for eclipse2008 learning-Installation
    Blog type:
  • Java

This section is reprinted from the Internet, reprinted address is http://www.knowsky.com/363032.html

I did not refer to this document when installing it.

However, when searching for the tutorial, I found this document and thought it was good.

In order to be afraid that this information will not be found, I Will reprint it.

1. Introduction
UML is a very helpful language for the design of the Java System. It integrates the object-oriented modeling language, method, and process, the overall design of the system helps us to recognize the overall development overview and process of the entire software. I believe that anyone who has learned Software Engineering knows the advantages of the system.

Together is a set of UML modeling software launched by Borland that integrates UML functions with IDE development tools. You can view both the UML diagram and the Java source code during use. Modifying the UML diagram enables the source code to be instantly modified synchronously. In turn, modifying the Java source code will also make the code synchronously reflected in the UML diagram.

2. Version
Together has a special development version called standalone, Which is previously called togethercontrolcenter. You can find Chinese tutorials on the Internet. This version comes with Java IDE and UML, now it has evolved to together effecect 1.0, and it should not change much. In addition, together has various ide versions, such as for JBuilder, for. net, and for eclipse. I will use together for eclipse edition. Different versions can be found on Borland's homepage.

3. Download and install
:
Http://www.borland.com/PRodUCts/downloads/download_together.Html
Select together for Eclipse, which is applicable to various eclipse versions. I don't know what the difference is, but follow the instructions in this article to check your own eclipse version, I use eclipse3.0, so the latest together edition for eclipse 7.0 is my best choice. During the download process, you will be prompted to log on. It takes a little time to register and log on, leaving a mailbox address, which is used to send you the Registrar active file, so be sure to be correct, if your file is lost in the future, you can use the email address to download it again. During the download process, you will be prompted to use a download manager tool. We recommend that you use this tool, after the download is complete, it will be deleted from the local machine. The download speed will be very fast using this tool. Otherwise, if you are resistant, you can download it at a few K speeds. ^_^.

After the download, the installation is simple. You will be prompted to point out the eclipse SDK during the installation process. Windows: EXE file. Double-click it.
In Linux: binfile. If the executable attribute is null, chmod 777. Then, execute the file and it will be OK.

In addition, the registration mailbox of the external checklist will receive a form of mail from borland. the attachment is reg610.txt. This file is used to activate your together software. Because the downloaded version is 15 days trial, you need to use this file to activate registration. Method: Save the file to your user directory, so that the file will be automatically loaded under the user directory during together startup to complete activation.
User directory:
Windows 95/98 Single User: C: \ WINDOWS
Windows 95/98 users: C: \ WINDOWS \ profiles \ <username>
Windows NT: C: \ winnt \ profiles \ <username>
Windows 2000/XP: C: \ Documents ents and Settings \ <username>
UNIX and Linux: your login directory. For example, most of them are
/Home/<username>

4. Basic usage
After the installation is complete, you can start the software. You can directly start together for eclipse from the program options, and then see the eclipse software view, just integrating the together view into it. To put it simply, this is mainly the design of UML. Starting from this place, you can use the get started document to perform step-by-step operations, specifically how to define, design, and deploy UML.

What I want to talk about here is to use it in combination with eclipse to understand the design pattern in Java. Here, I first recommend a book about this-Java and pattern, written by the Chinese, min Hong, I personally think it is very good to write. After reading it, I feel that I have a clear understanding of the design of all Java class libraries. I don't think that there are so many types of Libraries without a clue, I am also more familiar with object-oriented programming.

For example, when I first looked at Java I/O, I thought there were so many classes in iostream. How can I use them? Sometimes I use them based on experience. Fortunately, there is no error in experience, however, I still have no idea about my own theory. In this way, if we encounter extraordinary situations, we need to change the solution. In the design mode, Java Io uses the adapter mode and decoration mode, which describes how to set the stream class (inputstream, outputstream) and read/write operation class (reader, writer), as well as the decoration between various read/write operation streams (fileinputstream, bytearrayinputstream. Also, the factory method mode, proxy mode, command mode, observer mode, and memorandum mode are several modes that give me a deep understanding of Java object-oriented, therefore, we hope to have a better understanding of the design pattern first.

 

After I installed it, I was unable to activate it. After reading the instructions, I knew that I needed to click the Help menu in eclipse and the Borland licensing menu to activate it. In this way, the activation file received by email is useful, after activation, you can use it.

The first time I got started with this software, I didn't find a path for a long time. This website: http://www.docin.com/p-78699788.htmlis a course of instruction for together,

According to the "to import source code while creating a new project", you can convert all the code in "Mode" into a UML diagram, which is very convenient, so that the learning mode can get twice the result with half the effort.

Related Article

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.