A major difference between RCP and RAP is the way an application is started. With regular SWT applications you would use the
method, in RCP an implementation of
. AS RAP uses a life cycle to control the application startup the application needs an
implementation which does mostly the same as
. The difference is that we need to do not dispose the display but return it to RAP in the
method. There can be several entrypoints for the same application which are distinguished by a paramter in the URI for this application like
<!ELEMENT extension (
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT entrypoint EMPTY>
id CDATA #REQUIRED
class CDATA #REQUIRED
parameter CDATA #REQUIRED>
id - The identifier of this entrypoint. Used in
org.eclipse.rap.ui.branding extension point.
class - An implementation of
IEntryPoint which starts the application.
parameter - The name which should be used from outside in the URI.
Copyright (c) 2007 Innoopract Informationssysteme GmbH and others.
All rights reserved. This program and the accompanying materials are made
available under the terms of the Eclipse Public License v1.0 which accompanies
this distribution, and is available at https://www.eclipse.org/legal/epl-v10.html