|
WebLogic Server 7.0 Code Examples, BEA Systems, Inc. | |||||
See:
Description
| Interface Summary | |
| UserSMessagesStartup | The remote interface is implemented by UserSMessagesStartupImpl. |
| Class Summary | |
| UserSMessagesStartClient | UserSMessagesStartClient is used to exercise UserSMessagesStartupImpl which runs on the server. |
| UserSMessagesStartupImpl | UserSMessagesStartupImpl is a simple startup class which shows how to use WebLogic i18n to log your own application's info and error messages to the server log. |
This package demonstrates how a startup class uses WebLogic i18n to log your own application's info and error messages to the server log.
UserSMessagesStartClient is used to exercise UserSMessagesStartupImpl which runs on the server.
UserSMessagesStartupImpl is a simple startup class which shows how to use WebLogic i18n to log your own application's info and error messages to the server log. There is a similar example showing how to do the same thing from a servlet instead of a startup class.
After running the example once, change your host computer's locale from "English" to "German" or "French" and reboot the WebLogic server. Run the example again and note that the example's log messages are displayed in either "German" or "French" depending upon your settings.
The following section describes how to build and run the examples:
We provide a build script for you to build the example, called build.xml.
The script builds the example and places the files in the correct locations in your WebLogic Server distribution.
This message displays a number as currency: $17.00. This message displays the string "WXYZ". There were 5 previous calls to the logger method for this message. This message displays the string "QRSTUV". There was one previous call to the logger method for this message. This message displays the string "ABCD". There were no previous calls to the logger method for this message. This is not really an error, the example has finished normally.
|
Documentation is available at http://e-docs.bea.com/wls/docs70 |
|||||