Solved

The difference between SWT & RCP

Posted on 2006-10-26
4
2,501 Views
Last Modified: 2013-12-15
I'm just wondering, what's the difference between SWT and RCP?

From my understanding, SWT is a UI framework for rendering the UI with native components.

Whereas with RCP, I'm not sure where it adds value at all.

Could someone plz enlighten me, and also provide a bit of sample code illustrating the difference?

Chris
0
Comment
Question by:khooc
  • 2
4 Comments
 
LVL 24

Expert Comment

by:sciuriware
ID: 17829385
RCP :: Remote Procedure Calls :: an API set to connect applications
on different machines (or even platforms) on procedure call level.
RCP is implemented in many languages like C, C++ and JAVA, thus not JAVA dependent.

SWT is the SWING alternative for JAVA by the ECLIPSE group.

In fact, SWT has nothing to do with RCP.

;JOOP!
0
 

Author Comment

by:khooc
ID: 17832238
Actually, RCP is not Remote Procedure Calls

http://wiki.eclipse.org/index.php/Rich_Client_Platform
0
 
LVL 5

Accepted Solution

by:
kannan_ekanath earned 125 total points
ID: 17832399
RCP is a platform to build rich clients. Eclipse in itself is built on top of RCP. When you build a rich client application you can use a wide range of frameworks like SWT, JFace etc.

SWT is one of the alternatives to develop RCP applications. Carefully read the FAQ here,
http://wiki.eclipse.org/index.php/RCP_FAQ#What_is_the_Eclipse_Rich_Client_Platform.3F

The Eclipse Rich Client Platform consists of the following components: Eclipse Platform, SWT, JFace etc...

which means that SWT/JFace etc make up a platform called Eclipse RCP.

Now if you want difference between SWT and JFace,

SWT developement is like using a standard transmission in vehicles. Gives greater control and access to system internals but complicated. JFace is like automatic transmission, does most of the job for you..
0
 

Author Comment

by:khooc
ID: 17838722
Thank you - good answer kannan_ekanath
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
This video teaches viewers about errors in exception handling.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now