[_CN] Eclipse Essentials and Advanced Development Technology Note

Source: Internet
Author: User

One

Eclipse is a Java-based IDE, but it is possible to develop plug-ins based on their architecture and expand into other languages ———————— still, it's rare to hear that using eclipse to write PHP or C

Across OS

Three items: Eclipse Project, Eclipse Tools project, Eclipse Technology Project 、———— are based on CPL Common Public License

Three sub-projects of the Eclipse Project:
1 Platform Sub-project
2 Java Development Tools Project Jdt-java
3 plug-in development environment project pde-plug-in each plugin has a plugin.xml


The Eclipse SDK---Eclipse IDE is further divided into:
1 Software tools
Ant
Compare
Core
Debug
Help
Scripting
Search
SWT Standard Small Window toolbox
Ui
Update dynamic updates, installation
Vcm
WebDav

2 JDT is divided into----jdt written in Java? Built-in JVM?
JDT Core incremental Java build, code-assist, search
JDT UI Various Java views, creation Wizard, Java Editor (Syntax shader ... )
JDT Debug


3 PDE
PDE Core
PDE UI


The Eclipse SDK does not have a JRE, but running eclipse requires jre1.3 or more than 1.4, so install the JRE first P22

When running a large project, there may be an out-of-memory situation where you need to resize the Java heap —————————— Eclipse processing (compile. Java Project uses the JRE,

Command line startup: Using-VM
ECLIPSE.EXE-VM xxxx
ECLIPSE.EXE-VM C:/java/jdk1.6/bin/javaw.exe

==========================================================eclipse Startup Parameters ======================================== ==================

The eclipse installation does not modify the registry, so just delete the Eclipse directory structure when uninstalling OK


System structure

Basic mechanism
Plug-in mechanism —————— in addition to the micro-kernel, all other functions are all plug-in implementation-----plug-in mechanism will discover, integrate, run plug-ins
Plug-ins are the smallest unit of Eclipse functionality

Plug-in components (functional parts) ...

Extension point----The interface that eclipse provides for plug-ins

Runtime discovery mechanism for platform run time

Swt
Jface

Views View
Perspective prospective is made up of multiple views


Editor
Eclipse has different editors for different files and cannot find corresponding when it is possible to use the System Editor OLE ...

The editor is generally in the middle, and the editor is not a view ...

menu, 1, 2

Three types of toolbars
Main toolbar
View toolbar
Shortcut toolbar


Task

Bookmark view???


Quick views Fast View

customizing toolbars


customizing Perspective view


Delete a Perspective view
You can only delete a custom Perspective view

Views cannot be deleted, only perspectives can be shown ...

Can views be customized ———————— write your own plugins


Console view

Debug View-----------------------------------------


. metadata/.log

Advanced Debugging Technology


Method breakpoint??? Applies only to binary files ...

Hot Code Replacement----jvm1.4 function


Junit

Test case
The test suite---consists of several test cases:

Eclipse Configuration Management


Eclipse Directory Structure

Eclipse Workspace Structure

Eclipse Project Structure ...

Tomcat run mode

Standalone servlet container
In-process servlet container
Out-of-process servlet container

Eclipse Plug-in structure


Usually a jar package-----------written in Java!! ----Therefore running the plugin requires the JRE ... Do you have multiple JRE, some of which are not written in Java?

Contains a manifest plug-in manifest file that indicates a relationship with other plugins

Specify extension points to add functionality

Each plugin corresponds to a class loader


How to develop plugins
1234567898


A manual
B using PDE--PDE itself is a plug-in that simplifies plug-in development with an environment plug-in.


SWT-----------AWT
Swing? ---pure java

CVS---patches ....


Good book, but now only to see, if 3, 4 years ago can take it seriously read it good ***************************** *********************


Details the use of Eclipse and the use of Java-related technologies on eclipse, very good

How to learn


For a technical direction: every step of each stage should learn what content, read what books??? ---so that you can less detours ...! According to the curriculum design of the university corresponding major?


[_CN] In-depth experience of java_web Development Insider-Core Foundation

Beauty---
Good book Ah, but now only to see ...


Virtual Web Directory
---virtual Web subdirectories

The longest path matching principle??

Is there an overlay??


1 Create a host-based virtual host:::

Two idiomatic ways to establish the mapping relationship between host name and IP address:
Hosts file ———————— for small LAN
DNS ———————————— for the internet

2 Establish a port-based virtual host:::


3 Setting up a virtual host based on IP address:::----This is not a significant practice because of the current shortage of IP addresses, and Tomcat does not support ...


Telnet is a client program, non-Protocol, Windows protocol in Drivers/etc/protocol??
Win7 telnet not available??

Cluster:
All I knew was chicken. Xxx

Unite multiple computers with the same functions for external service ....


Load Balancing:
Allocate all access requests evenly to each computer on the cluster system, such as http;//somedomain/requests/app1/,/app2/,/app3/to computers A, B, C, respectively.


Tomcat integration with Apache, preferred JK
Apache Server----AJP---JK plugin-----tomcat


Tomcat integration with IIS, preferred JK ...
Isapi_redirect.dll


Dynamic Web programs and engines

Jsp/servlet. IsapI, Asp/.net, PHP. Cgi

"[_CN] IBM. WebSphere.Studio.J2EE Application Development "


The Java solution for merging CORBA functions is the EJB

-------EJB is further advanced than CORBA


The component---Non-standalone and needs to be run in the container.

What kind of EJB???

--although I don't want to learn to understand it, now it seems ...


The official ejb1.2 specification defines:
The official ejb1.3 specification defines:

---originally conceived as an RPC solution, but now it's not necessarily remote.
---more for persistence, rather than execution of business logic
---provide getter, setter

Classification:
Session Bean transactional, distributed management resource component, but no persistence supported, container does not manage session bean State
Stateful, though not long-lasting
No state, the simplest ...
Entity Bean
Message Bean

Classification:
Local Bean
Remote Bean
Message Bean

Session Bean stateful Sessionbean--------the fifth chapter
No session bean stateless Sessionbean

Entity Bean? --------the Sixth chapter

Bmp

Including:
Bean
Local
Home
Primary KEY class
Finder
Deployment Description File

Cmp
Contains all content of BMP

Java EE service: Jndi----This service is like binding an object to a name (component and name binding)
Jndi provides the functionality of container organization and positioning components, which is important:!!!


XML and JSON compare more advantages and disadvantages, but XML has the advantage that JSON can't be replaced, such as <aa name= ' lk ' >affaasf</aa>. This is a simple and intuitive way to represent the properties of AA and not the value of LK!


JCA EE connector Architecture---java EE 1.3

EIS Information System


Safety


Asynchronous messages

Who can tell why there are these strange services .... Where are they used to be? There is not a unified profile Ah!


Can you tell me how to get started, please?

These places are difficult to get started, have been 4 years, there is no clue ah ...


Java Transaction service JTS?
Java Transaction API JTA?


Interview questions--memories

Write out an ID generator

Usage of applets
———— nested in the JS file


Applets may be disabled
<applet code= "Myapplet.class" width= .... >
if ur browser not surpported applet,i ' ll show
</applet>

Or
<applet code= "Myapplet.class" width= ... alt= "if ur browser not surpported applet,i ' ll show" .../>


Using the OBJECT tag

<object codetype= "Application/java" classid= "Myapplet.class" width= .... >
<param name= "ff" value= "AFSFA" >
</object>

...

If a knowledge point is easy to find, don't remember it ...


Java Runtime------------Rt.jar????

Meta-inf----MANIFEST. Mf
TLDs---Xxxx.tld



manifest-version:1.0

Main-class:dsafaff

Ant-version:apache Ant 1.6.1
CREATED-BY:1.3.1_04-B02 (Sun Microsystems Inc.)
Extension-name:struts Framework
Specification-title:struts Framework
Specification-vendor:the Apache Software Foundation
specification-version:1.2.9
Implementation-title:struts Framework
Implementation-vendor:the Apache Software Foundation
Implementation-vendor-id:org.apache
implementation-version:1.2.9
Class-path:commons-beanutils.jar Commons-digester.jar Commons-fileup
Load.jar Commons-logging.jar Commons-validator.jar Jakarta-oro.jar

The difference between Javaw.exe-------Java.exe

JAVAW do not open the shell window


To seal the Java language Pack: join in MANIFEST.MF:
Seal:true

AWT: Abstract Window Manipulation Toolkit ———— Java 2d API

[_CN] Eclipse Essentials and Advanced Development Technology Note

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.