Crispy with an existing Struts based J2EE application

View: New views
2 Messages — Rating Filter:   Alert me  

Crispy with an existing Struts based J2EE application

by coolworld :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All,

Is it possible to integrate Crispy with an existing Struts based J2EE application ??.

Currently I have different XML and Webservice calls integrated into my business layer talking to different vendors. Now I would like to replace all those implementations by Crispy and make as a common gateway to all my external vendor communications.  After reading articals about Crispy  I am very happy to use this but at the same time little confused as my current application is not SOA.

Can someone help me in clarifying this ?

Thanks in advance,


Parent Message unknown Re: Crispy with an existing Struts based J2EE application

by Mario Linke-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 Hi,

>
> Is it possible to integrate Crispy with an existing Struts based J2EE
> application ??.
>
> Currently I have different XML and Webservice calls integrated into my
> business layer talking to different vendors. Now I would like to replace all
> those implementations by Crispy and make as a common gateway to all my
> external vendor communications.  After reading articals about Crispy  I am
> very happy to use this but at the same time little confused as my current
> application is not SOA.

It is possible to integrate Crispy in an existing J2EE application.
By Struts communicate the (Web) Client with a special servlet (ActionServlet).
Crispy works too. For every vendor is on a server side corresponding servlet
(it means, for XML-RPC the XmlRpcHttpServlet, for Hessian the HessianServlet and so on).
Crispy is not supported an "all-round" Servlet for all vendors.
An easy way is, to extend the vendor servlets and add your service-interface-name
and your service implementation how:

public class MyXmlRpcHttpServlet extends XmlRpcHttpServlet {

  public MyXmlRpcHttpServlet () {
    addService(Echo.class.getName(), new EchoImpl ());
  }  
}

I hope, this is the answer to your questions.

_______________________________________________________________________
Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos.
Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Crispy-user mailing list
Crispy-user@...
https://lists.sourceforge.net/lists/listinfo/crispy-user
LightInTheBox - Buy quality products at wholesale price!