Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Scout/Articles/130719 EclipseNewsletter"

(Eclipse Scout adds Mobile Support)
(Replaced content with "The Scout documentation has been moved to https://eclipsescout.github.io/.")
 
(68 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Eclipse Scout adds Mobile Support =
+
The Scout documentation has been moved to https://eclipsescout.github.io/.
 
+
Scout is a framework to build business applications based on the Eclipse platform.
+
So far, Scout client applications included support for Swing or SWT to build desktop applications,
+
and Eclipse RAP for web applications.
+
 
+
New with the Kepler release, Scout has added support for creating mobile applications that run on tablets and smart phones.
+
Thanks to the clean separation of the Scout application model from a specific UI technology Scout applications may now be deployed on mobile phones, as web applications or to the desktop with a single code base.
+
This feature greatly reduces maintenance costs for larger applications that need to be available on multiple frontends.
+
 
+
Below, a mid-sized Scout business application (somewhat over 20'000 Java classes) is shown that is deployed to desktop and mobile frontends.
+
This Scout application takes advantage of Scout's mobile support and is is built on top of a single Java/Eclipse code base as mentioned above.
+
 
+
[[image:Eclipsescout_businessapplication_kepler.png‎]]
+
 
+
Only at runtime the rendering of the UI is adapted to the different target devices.
+
For this, a Scout device transformation takes care of replacing context menus with buttons, mapping tables to lists that react to finger scrolling and many other elements that need a different rendering on desktop and mobile devices. 
+
 
+
For the application shown above, less than 20 Java classes have been specifically built for the mobile client.
+
These classes are mainly responsible for the application's home screen and the telephony integration on mobile devices. 
+
In addition, roughly 200 small adaptations were needed to block access to functionality reserved for desktop usage.
+
This results in over 98% of the product's Java code beeing reused for the different frontends.
+
 
+
And being independent of specific UI technologies is one of Scout's major assests.
+
Among other benefits, it reduces the long term risks of "marrying" large and important business applications to the "wrong" UI technology to almost zero.
+
In fact, the default setup of Scout applications enforces the separation of business code from UI technology codes.
+
 
+
As this article has been written for software developers without prior knowledge of Scout we want to provide a hands-on introduction based on the Scout package provided on eclipse.org/downloads.
+
To install the Scout package you only need working installation of a JDK version 6 or 7.
+
In case you prefer to go through detailed installation instructions, have a look at [http://tools.bsiag.com/scoutbook/3.9/2013-07-11_15-05-49/html/bookap2.html#x96-86000B these pages].
+
 
+
== The Hello World ==
+
 
+
A "Hello World" program is a traditional way to begin any new framwork or programming language.
+
The special aspect of the Scout "Hello World" is the fact that it is a client server application that runs on the desktop, in a web browser, and on mobile devices.
+
 
+
In the text below we will first introduce the "Hello World" from the user perspective before we dive into the actual implementation. Once
+
 
+
=== What the User sees ===
+
 
+
[[image:Helloworld_running.png]]
+
 
+
[[image:Helloworld_running_mobile.png]]
+
 
+
=== The Implementation ===
+
 
+
[[image:Sdk_new_projectmenu.png]]
+
 
+
[[image:Sdk_new_project.png]]
+
 
+
[[image:Sdk_new_formfield.png]]
+
 
+
[[image:Sdk_groupbox_1.png]]
+
 
+
[[image:Sdk_groupbox_2.png]]
+
 
+
[[image:Sdk_new_messagefield.png]]
+
 
+
[[image:Sdk_message_1.png]]
+
 
+
[[image:Sdk_message_2.png]]
+
 
+
[[image:Sdk_message_3.png]]
+
 
+
[[image:Sdk_message_4.png]]
+
 
+
[[image:Sdk_load_service.png]]
+
 
+
[[image:Sdk_start_server.png]]
+
 
+
[[image:Sdk_start_client_swt.png]]
+
 
+
start with bla
+
 
+
== Real World Scenario ==
+
 
+
[[image:Bsi_crm_desktop.png]]
+
 
+
[[image:Scout_integration.png]]
+
 
+
== Next Steps ==
+
 
+
In case you have been intrigued by what you have seen from Scout so far you might consider the following steps
+
 
+
'''Do more tutorials'''. In addition to the ''Hello World'' tutorial presented above, a significant amount of additional [http://wiki.eclipse.org/Scout/Tutorial/3.9 tutorials] and [http://wiki.eclipse.org/Scout/HowTo/3.9 how-tos] is available on the [http://wiki.eclipse.org/Scout Scout wiki].
+
Depending on your time and interest, this will keep you occupied an addtional hour - or several days.
+
In case you run into difficulties or have general questions regarding Scout we are happy to answer your questions in the [http://www.eclipse.org/forums/index.php?t=thread&frm_id=174 Scout forum]. Please bear in mind that July and August is summer vacation time and we are less responsive during these months.
+
 
+
'''Browse the Book'''. A more comprehensive introduction is available in the [http://wiki.eclipse.org/Scout/Book/3.9 Scout book], also new with the Kepler release. So far, the book provides a good introduction and a general overview of the possibilities of Scout applications. For the next releases we plan to add more material to the book that cover various aspects of Scout and the development of Scout applications in greater detail.
+
The Scout book is free and available in [http://tools.bsiag.com/scoutbook/3.9/2013-07-11_15-05-49/html/book.html HTML format] for online browsing. For offline usage the book is availabe in [http://tools.bsiag.com/scoutbook/3.9/2013-07-11_15-05-49/pdf/book.pdf PDF], [http://tools.bsiag.com/scoutbook/3.9/2013-07-11_15-05-49/epub/ EPUB] and [http://tools.bsiag.com/scoutbook/3.9/2013-07-11_15-05-49/html/book.zip ZIP] (zipped HTML) formats.
+
 
+
'''Follow Scout'''. For more recent updates, check out the [http://www.bsiag.com/scout/ Scout blog] or the [https://twitter.com/EclipseScout @EclipseScout] Twitter account.  
+
If you happen to live near Zurich also have a look at the local Eclipse Community page on [https://plus.google.com/communities/103558137660089260183 Google+].
+
This is the place where we usually announce public Eclipse events that frequently include Scout presentations.
+

Latest revision as of 06:16, 19 March 2024

The Scout documentation has been moved to https://eclipsescout.github.io/.

Back to the top