The
The menu frame consists of:
Which nodes we can access is determined by what is returned when invoking
When accessing the Configuration page OrberWeb presents a table containing the
It is also possible to change those configuration parameters which can be changed when Orber is already started. The Key-Value pairs is given as a list of tuples, e.g., [{orber_debug_level, 5}, {iiop_timeout, 60}, {giop_version, {1,2}}]. If one tries to update a parameter which may not be changed an error message will be displayed.
All types registered in the IFR (Interface Repository) which have an associated IFR-id
can be viewed via the IFR Data Frame. This gives the user an easy way to confirm that
all necessary IDL-specifications have been properly registered. All available types are
listed when choosing
After selecting a type all definitions of that particular type will be displayed. If no such bindings exists the table will be empty.
Since Orber adds definitions to the IFR when it is installed (e.g. CosNaming), not only types defined by the user will show up in the table. In the figure below you find the the NameService exceptions listed.
The NameService main purpose is to make possible to bind object references, which can client applications can resolve and invoke operations on. Initially, the NameService is empty. The most common scenario, is that user applications create Contexts and add objects in the NameService. OrberWeb allows the user to do the very same thing.
When referencing an object or context you must use stringified NameComponents.
For more information see the
Since the NameService is empty in the beginning, the only thing we can do is creating
a new context. Simply write org in the input field and press
To create the next level context (i.e. erlang), simply follow the link and repeat the procedure. If done correctly, a table containing the same data as the following figure should be the result if you follow the erlang link. Note, that the path is displayed in the yellow field.
If a context does not contain any sub-contexts or object bindings, it is possible to
delete the context. If these requirements are met, a
Now it is possible to bind an object using the complete name string. To find out how this is
done using OrberWeb see
If you follow the TheObjectName link, data about the bound object will be presented. Note, depending on which type of object it is, the information given differs. It would, for example, not be possible to display a Pid for all types of objects since it might reside on a Java-ORB. In the figure below a CosNotification FilterFactory have been bound under the name org/erlang/TheObjectName.
OrberWeb also makes it possible to remove a binding and dispose the associated object. Pressing Unbind the binding will be removed but the object will still exist. But, if the Unbind and Dispose button is pressed, the binding will be removed and the object terminated.
This part makes it possible to create a new object and, if wanted, store it the NameService.
You may choose to start OrberWeb on node, on which Orber is running or not. But the Erlang distribution must be started (e.g. by using -sname aNodeName). Now, all you have to do is to invoke:
erl> webtool:start().
WebTool is available at http://localhost:8888/
Or http://127.0.0.1:8888/
Type one of the URL:s in your web-browser. If you want to access the WebTool application
from different machine, just replace