org.jboss.test.webservice.samples
Class OrganizationClientServlet

java.lang.Object
  extended byHttpServlet
      extended byorg.jboss.test.webservice.samples.OrganizationClientServlet

public class OrganizationClientServlet
extends HttpServlet

An example of a webservice client servlet

Since:
26-Apr-2004
See Also:
Serialized Form

Constructor Summary
OrganizationClientServlet()
           
 
Method Summary
protected  void doGet(HttpServletRequest req, HttpServletResponse res)
           
 java.lang.String getContactInfoEJB(java.lang.String organization)
          Get the contact info from the EJB service
 java.lang.String getContactInfoJSE(java.lang.String organization)
          Get the contact info from the JSE service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrganizationClientServlet

public OrganizationClientServlet()
Method Detail

doGet

protected void doGet(HttpServletRequest req,
                     HttpServletResponse res)
              throws ServletException,
                     java.io.IOException
Throws:
ServletException
java.io.IOException

getContactInfoEJB

public java.lang.String getContactInfoEJB(java.lang.String organization)
                                   throws ServletException
Get the contact info from the EJB service

Throws:
ServletException

getContactInfoJSE

public java.lang.String getContactInfoJSE(java.lang.String organization)
                                   throws ServletException
Get the contact info from the JSE service

Throws:
ServletException