|
 |
WebORB and Rich Client System Demos |
|
|
|
A few things to note about
these examples:
- Each example is implemented for both Flash and
HTML/AJAX-based clients
- Both versions of each example (Flash and AJAX)
share and use exactly the same backend
implementation class. For instance, the "Application
Activation" example uses the same instance of
the .NET class for both Flash and AJAX clients.
- The examples available on our website connect to
the .NET edition of WebORB, but the same client code
works with the Java edition. To switch it to use
WebORB for Java, all you need to do is to
change the WebORB URL in the binding call. When you
download the evaluation of WebORB for Java or .NET,
the example will use the appropriate edition out of
the box.
|
|
|
 |
Message Server-powered
Chat |
|
|

|
Message Server is a major component of the WebORB
Presentation Server. This example demonstrates
server's messaging capabilities in a chat
application. It demonstrates features like passing
complex types, broadcasting messages, sending
private messages and injecting XML data into
messages on the server-side.
Rich Client System/AJAX Demo
Flash Client Demo (coming soon)
|
|
 |
Server Invocation Guide |
|
|

|
The guide provides an overview of various
invocation scenarios (passing primitive and complex
types to server side methods, storing data in
session, exception handling). Each examples includes
both client and server-side code sample as well as
live demonstration with detailed debug output.
Rich Client System/AJAX Demo
Flash Client Demo
|
|
 |
Database Integration/Data Binding API
|
|
|
|
The example demonstrates functionality of
retrieving, editing or deleting data in a database
by the means of a remote method invocation. The data
presented in the example is loaded from a sample
database running on our server. The example is very
dynamic - any user action on the screen results in
an immediate update of the database.
WebORB makes it possible to share exactly
the same instance of the Phone Book class between 2
different client applications. In this example both
AJAX and Flash clients use the same .NET object to
retrieve, update and delete data in a database.
Rich Client System/AJAX Demo
Flash Client Demo
|
|
 |
Google search integration |
|
|

|
The example demonstrates how to integrate with the
Google XML web service. The example uses the Rich
Client System on the client side. All requests go
through a WebORB server which delegates them to the
Google web service. An article with the
detailed overview of the example's implementation is
available
here.
Ajaxian Google (AJAX Demo)
|
|
 |
Application Activation |
|
|

|
The example demonstrates the use of the WebORB's
application activation mode. With that mode WebORB
guarantees that the object requested by the client
would be created only once and all clients will
share the same instance. As a result, any state
contained in the server object is shared among all
clients.
The example displays the number of
times the object had been invoked with a breakdown
by the browser type. Try to open both client
applications (Flash and HTML) and invoke on the
server object from different browsers.
Rich Client System/AJAX Demo
Flash Client Demo
|
|
 |
Session Activation |
|
|

|
Session activation example demonstrates WebORB's
session activation of a server-side object. The
client application binds to an object to
subsequently perform method invocations. The object
is constructed with session activation. As a result,
WebORB executes all remote invocations in the same
browser session on the same instance of the object.
Any state in the object is maintained across the
session.
The example shows a primitive shopping cart. The
shopping cart is maintained in a server object. The
client provides a visual representation of the
object's state.
Rich Client System/AJAX Demo
Flash Client Demo
|