Yafra edited this page Jan 14, 2016 · 2 revisions

This client uses the Eclipse Rich Client Platform with SWT/JFaces and RCP components. It interacts with the EJB3 server components. The RCP client only uses client stubs (interfaces and stubs) from EJB3 server components and from [wiki:ServerCore org.yafra.server.core] which is build within the [wiki:ServerCore org.yafra.server.core]. This may confuse, however as we not only need the EJB stubs, instead we need all interfaces and models which are hosted on the server core which explains the reasoning to have the build within server core. The positive aspect is to get a clean client stub consisting of EJB and interfaces as well models. The key target would be even to exchange the EJB layer with OSGi or Web Services back and forth!

Quite some components of Eclipse RCP provide a MVC approach as seen on different web technologies, which make the usage of handlers (control) and the model separated even within such a fat client.

The client provides many examples of standard SWT and JFace components. It uses as well RCP forms with multiple tabs. See screenshots for the look and feel.

The most useful addon which I used during the creation of the graphical UI is the WindowsBuilder Pro (now owned by Google).

To build it follow the fat client guide how to setup the development environment and build/run/deploy the Eclipse RCP client.

In order to build the RCP fat client for multiple platforms or by using ant build (PDE build) you will need the delta-pack of Eclipse. You need to download it separately from eclipse.org (search for delta-pack on eclipse.org). Install it within your eclipse rcp installation.

See the code.


Based on the EJB server some clients are available:


RCP Demo Screenshot

Setup / Build

Setup Eclipse RCP IDE

To set up your environment do the following:

  • the build process is based on plugins, features and products supporting maven through tycho
  • Read the standards, especially the eclipse part
  • You need to have a Java Serversetup with EJB3 or RESTful
  • Install Eclipse for RCP/Plugin developers for Eclipse RCP fat clients
  • Install github and e4 addons through the Eclipse Marketplace
  • Checkout the source org.yafra.rcp*


In order to get the org.yafra.server.ejbclient.jar you need to have the wiki:build/devserver server development environment up and running before you start with the client.


In order to build and run it you need to follow:

  • Run mvn install on org.yafra.rcpbuild
  • If it starts after the splash screen, go to File -> connect and login to your localhost with a user defined within the test data of the test program from org.yafra.tests.server.directclient


Use the standard build and deploy scripts of yafra.

If you run into starting issues after the export use within a console "eclipse.exe -noExit" so that the console windows (which opens quickly after you execute eclipse.exe) keeps open and you can examine the issues.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.