First, let's review briefly how named objects are used by HydraExpress. For the complete description, see Section 8.3.11.4, "Named Objects Configuration File: objects.xml."
Transports and message handlers are defined in the configuration file objects.xml. Here is part of the objects.xml file for the DayOfWeek example:
<?xml version="1.0" encoding="ISO-8859-1"?> <objects> ... <naming-obj> <naming-name>http://localhost:8090/dayofweek/DayOfWeek </naming-name> <naming-class>DayOfWeekPortService.createDayOfWeekPortTypeImp </naming-class> </naming-obj> ... </objects>
A naming-obj entry has two required elements: a naming-name element that attaches a label to the object so the servlet can call for it by name, and a naming-class element that identifies the shared library and create() method for the object, which allows the object to be instantiated. The naming-obj entry can also have initiation parameter elements as we will see later.
© Copyright Rogue Wave Software, Inc. All Rights Reserved. All Rights Reserved. Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. HydraExpress is a trademark of Rogue Wave Software, Inc. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.