Eclipse v3.2 Callisto hotspot

Source: Internet
Author: User

What is Callisto?

Callisto is a collaborative release of 10 eclipse projects. It greatly simplifies the process of preparing and running eclipse, so that you can do what you want. Callisto is not another custom version of eclipse v3.2, nor is it an alternative product for those projects seen when you access the eclipse Callisto discovery site. With Callisto discovery site, you can easily obtain all the projects you need for web or Java 2 platform and Enterprise Edition (J2EE) development without searching and installing Each plug-in separately, because the plug-ins are sorted by the activity types they implement.

Because Callisto discovery site allows you to easily create eclipse based on your needs, it is a popular new feature in eclipse v3.2.

 

About Callisto discovery site

Callisto discovery site provides a shortcut for you to access the plug-ins of multiple projects in one place. Callisto discovery site contains business intelligence and reporting tools (Birt) project, C/C ++ ide data tools platform, eclipse modeling framework, Graphical Editor framework, graphical modeling framework, eclipse platform, eclipse Test & Performance Tools platform, web tools platform, and visual editor. These projects are organized under a similar name, but this name is more descriptive, indicating the type of task that the project enables you to complete. This article briefly introduces the projects used in the following fields:

  • C and C ++ Development
  • Charts and reports
  • Database development
  • Enable features
  • Graphic editor and framework
  • Java Development
  • Model and model development
  • Testing and Performance
  • Web and J2EE development

If you have not downloaded eclipse, view the category before downloading it and pay attention to the tasks that you perform on a daily basis. This will help you install the appropriate plug-ins.

New Features

In addition to providing a shortcut to easily find and install the Eclipse plug-in, eclipse v3.2 also provides many new features, which cannot be described in this article due to too many features. You can find the complete list of links in the references.

Eclipse v3.2 has many notable new features (a list of these features can be seen on the eclipse web site), but this article only briefly discusses the platform and Java features. The platform feature is the improvement of the eclipse v3.2 development platform, which can benefit from whatever plug-ins you choose to install.

Platform features

Many platform features are the embodiment of moving forward in the general eclipse interface. Highlights are: brand new project explorer, comprehensive history view, better working set filtering and dynamic filtering, better help in the dialog box, and linking some resources. Many other features are introduced (see references ).

Brand newProject ExplorerOrganize project resources in a meaningful way for various types of projects. In Java projects, the view looks like package explorer. In other projects, such as web projects, project explorer organizes resources in different ways through navigator view.

Have you ever said to yourself: "Well, this can work normally five minutes ago ." Then, I found the differences between the local code and the source repository to find out the changes I have made? If yes, ViewCombined historyBecause it combines your local change history with the historical records from the source repository, like Concurrent Versions System (CVS ). This is a wonderful feature, because by viewing change history, you can better track your changes and locate problems faster.

Filtering by working set is not a new feature, but it can be performed in almost all windows, which is an improvement for Eclipse of the old version. If you have not set a working set, you may want to try it. Working sets allow you to omit files that you don't care about, making it easier to find the files you need. If a large project has many packages, but I only need to process and care about a small part of them, then I can create a working set to only display the packages that are needed. Setting the working set by file type is also feasible. Therefore, if you only need to process static html pages in a web project, you can set a working set to only display these pages.

The entire eclipse dialog box provides better help functions. In additionCheat sheetView, which can be used to keep the Help window open during project creation by wizard or step.

With Link resources, you can now add links to files in the project, without having to copy relevant files to your workspace. This convenient feature avoids copying the same file to many workspaces.

Along with many platform improvements in v3.2, numerous features and enhancements are provided for Java development.

Java features

Many improvements make it easier for you to increase productivity during Java development. In addition to the full support of Java v6.0, the most important thing to mention is the reconstruction improvement-such as the ability to perform super-class refactoring, a brand new cleaning wizard, and rebuild history. AvailableSurroundMenu and capture empty reference features to get better code faster.

Super class refactoring allows you to easily select one or more sibling classes, and then instantiate the super Class Wizard, this wizard will thoroughly review all the selected classes, find out the common attributes and methods that can be integrated into a superclass. Eclipse will use its new method to automatically write the superclass, and then change the sibling class to use the new superclass.

The new cleaning Wizard willifOrwhileParentheses are added to both sides of the Condition Statement (this is optional ),this, SetifMultiple conditions in the statement are included in parentheses, unnecessary import statements and private programs are deleted, so that your Java code conforms to the standard.

With the reconstruction history, you can capture all the reconstruction changes you have made. In this way, if an error occurs (this won't happen because you have compiled a very good unit test, isn't it ?), You can view the reconstruction history to see what happened.

SurroundMenu allows you to easily usetry ... catch,forAndwhilePackage code lines in a loop. You can define a template for a block so that the code can contain any custom features that your enterprise needs, such as customized exception handling.

Finally, let's say goodbye to the boring tasks that handle null reference exceptions. Or, at least fewer such exceptions will be seen. In the project preferencesJava compiler> errors/warningsYou can tell eclipse that if you accessnullThe method on the object. If you are the person who ignores all warning messages, you can even tell eclipse to switch to an error.

Install Callisto

To install eclipse v3.2 and install the plug-in through Callisto discovery site, follow these steps:

  1. Download the latest v3.2.x eclipse software development kit (SDK ). At the time of writing this article, the latest and most outstanding version is eclipse v3.2.1.
  2. After downloading the file, decompress it to any directory. On a Windows computer, it may be the appropriate directory for C:/program files or any other application. On Mac computers, the Applications folder is the proper place to extract the folder.
  3. After extracting the eclipse file to a directory, you can start eclipse by double-clicking the eclipse.exe file or eclipse icon.
  4. When you start eclipse or open a new workspace for the first time, a welcome view is displayed. You can use it to browse user guides, obtain additional help, or view samples. ClickWorkbenchYou can directly start using eclipse. You can selectHelp> welcomeView the welcome view at any time.

Add features

To add new features to eclipse, especially when using Callisto discovery site, the method is as follows:

  1. SelectHelp> Software Updates> Find and install.
  2. InInstall/updateSelectSearch for new features to install, ClickNext.
  3. Select from the list of sites to be included in the searchCallisto discovery site. ClickFinishStart searching for features.
  4. SlaveUpdatesClickNext. If you see a warning about missing dependencies, clickSelect requiredEnable eclipse to automatically select dependencies for you. ClickNextThen, you will see a prompt to read the license agreement and select whether to accept it, and then start the actual installation.

Similar to the previous version of Eclipse, you can add a new site to install other features.

Graphic editor and framework

Visual editor in graphical editors and frameworks provides the ability to design the Java rich client User Interface in a graphical manner, so that rich client applications can be designed more easily using the Java programming language. To use visual editor (VE), you must first install it through Callisto discovery site.

As they once said on television, "the actual results may vary," but not long ago I chose an advanced category, just like graphical editors and frameworks, click Select required to enable eclipse to select dependencies. In this way, I have never encountered any problems. This may cause the installation of a plug-in that I will never use. However, these plug-ins are not large. Aside from my music library, I still have enough disk space on my computer. However, if your disk space is very tight, you may want to spend some extra time canceling plug-ins that you know you are not actually using-as long as you do not delete dependencies.

After graphical editors and frameworks is installed, you can use some new options when creating a new Java class.

Web and J2EE development

Installing the web and J2EE development plug-in through Callisto discovery site will add many new features. This plug-in is provided by the web tools platform (WTP) project, including Web standard tools (WST) and J2EE standard tools (JST ).

The wins in WST not only allow the development of Static HTML pages and Cascading Style Sheet (CSS) pages, but also provide the creation and editing of XML documents, XML Schema infoset model (XSD) and Extensible Stylesheet Language Transformation (XSLT) capabilities. With this plug-in, you can also develop your own Web Services Description Languages ages (WSDL) from scratch or generate it from the Al description, discovery and Integration (UDDI) Registration library.

The plug-in provided by the JST project provides the ability to build JSP, tag library, and Servlet, and allows the deployment of these files in the Web Archive (WAR) file. Finally, you can build Java-based Web services using the plug-in JST.

Database development

The database INS under database development provide the ability to process databases. Figure 4 shows data source explorer, which is displayed in the database development perspective. With it, you can connect to any database that supports Java database connectivity (JDBC) connection, and browse the database mode to View tables, functions, stored procedures, or any other aspect of the database.

After the connection configuration file is added, you can add an SQL file and associate it with the connection configuration file. You can use context-sensitive menus to execute SQL statements to execute the entire file or only highlighted part of the text. By default, the running results of SQL commands are displayed in the lower right corner of the integrated development environment (IDE.

If a single file contains many SQL statements, the outline view is also useful. You can select one of the items in the Outline View, and then selectExecute selectedTo execute it.

Drawing and report

The business intelligence reporting tools (Birt) Plug-In allows you to start business reports through data. The plug-in comes with a default embedded Derby database. If you are not familiar with the tool, you can use it to quickly design a sample report to experience how the tool works.

I can quickly build a report to output the complete content of the Order table contained in the sample database. Figure 5 shows an example of a simple report. This is a complete dataset that is output to a paging report.

Testing and Performance

The testing and performance plug-in does not add a wizard to create a new project or file as other plug-ins do. It provides the ability to analyze applications and report analysis results.

You can use the new button next to the run button to start the analysis process. You can also selectRun> ProfileMenu to start analysis.

Eclipse v3.2 has added many features based on v3.1. Callisto discovery site is a popular addition of Eclipse, it allows you to easily locate and download plug-ins that support various types of database development. The collaborative release of these ten projects in Callisto will be encouraging in the future, as it will maintain the stability of the eclipse platform and allow users to easily update the IDE.

This article summarizes most of the projects included in the eclipse Callisto release and introduces some platform improvements. If you have not started eclipse development, it is a great time to take advantage of these improvements. If you are running eclipse or an earlier version of an IDE, you should begin to evaluate the feasibility and benefits of upgrading or porting to eclipse v3.2 Callisto.

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.