[MOBY-guts] biomoby commit
Paul Gordon
gordonp at dev.open-bio.org
Thu Aug 20 16:47:02 UTC 2009
gordonp
Thu Aug 20 12:47:01 EDT 2009
Update of /home/repository/moby/moby-live/Java/docs
In directory dev.open-bio.org:/tmp/cvs-serv9513/docs
Modified Files:
soapServlet.html
Log Message:
Reminder of nullary c-tor necessity for autoloading DataRecorders
moby-live/Java/docs soapServlet.html,1.2,1.3
===================================================================
RCS file: /home/repository/moby/moby-live/Java/docs/soapServlet.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- /home/repository/moby/moby-live/Java/docs/soapServlet.html 2009/08/19 20:54:32 1.2
+++ /home/repository/moby/moby-live/Java/docs/soapServlet.html 2009/08/20 16:47:01 1.3
@@ -118,14 +118,17 @@
the example screenshots shown above. All the browser interaction between 1:20 and the end
of the video
is controlled by the PBERecorder intercepting and messaging SoapServlet messages. This demonstrates
- the nice separation of concerns between the WSDL parsing/calling, and the user interface.
+ the nice separation of concerns between the WSDL parsing/calling, and the user interface.
+ The yellow screens are solely under the control of the DataRecorder, using the passthrough mechanism.
<div align="center"><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/jpP7FRTGpeI&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/jpP7FRTGpeI&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></div></p>
<p>To use SoapServlet for your own more complex WS-calling system, simply implement a DataRecorder
and register it with the servlet. This can be done at the Java code level with the
SoapServlet.setRecorder() method, or in the WAR's WEB-INF/web.xml file by uncommenting the
<tt>context-param</tt> called <tt>dataRecorder</tt>, setting the <tt>param-value</tt> to
- the fully qualified class name you wrote that implements DataRecorder. Make sure you
+ the fully qualified class name you wrote that implements DataRecorder. Make sure your
+ DataRecorder has a no-args constructor if your going to use this autoloading functionality.
+ Also make sure you
include your new class in the WAR's <tt>WEB-INF/classes</tt> directory too!
</p>
More information about the MOBY-guts
mailing list