You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ja...@apache.org on 2005/07/18 16:08:00 UTC
svn commit: r219494 -
/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/org/apache/axis/jaxrpc/server/JAXRPCServlet.java
Author: jayachandra
Date: Mon Jul 18 07:07:07 2005
New Revision: 219494
URL: http://svn.apache.org/viewcvs?rev=219494&view=rev
Log:
Thoughts written out as comments on part of functionality to happen in doPost() method. Presently I lack enough background (how I can leverage Axis2 code) to actually code the implementation
Modified:
webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/org/apache/axis/jaxrpc/server/JAXRPCServlet.java
Modified: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/org/apache/axis/jaxrpc/server/JAXRPCServlet.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/org/apache/axis/jaxrpc/server/JAXRPCServlet.java?rev=219494&r1=219493&r2=219494&view=diff
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/org/apache/axis/jaxrpc/server/JAXRPCServlet.java (original)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/org/apache/axis/jaxrpc/server/JAXRPCServlet.java Mon Jul 18 07:07:07 2005
@@ -15,6 +15,10 @@
/**
* @author sunja07
*
+ * since our current target is a quick skeleton implementation and have something
+ * working. We will just target on the doPost() method.
+ * And this class methods will be called from AxisServlet class once the service
+ * to invoke is identified to be a JAX-WS service than the normal Axis service.
*/
public class JAXRPCServlet extends HttpServlet {
@@ -61,6 +65,18 @@
protected void doPost(HttpServletRequest arg0, HttpServletResponse arg1) throws ServletException, IOException {
// TODO Auto-generated method stub
super.doPost(arg0, arg1);
+
+ //To the extent I've gone through the service APIs chapter of the spec.
+ //What I understand I should *also* (because much other implementation too
+ //will exist) do in this method is that...
+ //(i) identify the service implementation class, if one is being used
+ // and if that is implementing ServiceLifecycle interface, then before
+ // the invocation of the actual operation, invoke the <code>init</code>
+ // method first and then do what all you want to do with the SEI method
+ // invocation and finally in the end call <code>destroy</code> method
+ // on the service implementation class. Only after <code>destroy</code>
+ // is called the class must be made available to garbage collection.
+
}
/* (non-Javadoc)