Setting WebLogic Server-Specific Parameters

Setting WebLogic Server Specific Parameters

If there are any WebLogic Server specific parameters, they are registered in the weblogic.xml file, not the web.xml file. Listeners do not have any WebLogic Server specific settings, so you need not modify weblogic.xml.

Execute the Program

The listener is implicitly invoked when the browser requests any of the servlets loaded in the WebLogic Server. Since listeners are a callback application for your servlets, providing behind-the-scenes functionality, you cannot show the output on the browser. Hence, you will look at the WebLogic Server's console to verify whether or not your listeners were invoked.

The output on the server console should be similar to the screen shot in Figure 4.8.

Figure 4.8. The server console with the system output showing the invocation of the listeners.

graphics/04fig08.jpg



Sams Teach Yourself BEA WebLogic Server 7. 0 in 21 Days
Sams Teach Yourself BEA WebLogic Server 7.0 in 21 Days
ISBN: 0672324334
EAN: 2147483647
Year: 2002
Pages: 339

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net