Discussions

Web tier: servlets, JSP, Web frameworks: how to use com components from jsp and servlets.

  1. hi,
    any body can you please tell me how to use COM objects defined in VC++ from JSP pages and Servlets.I would appreciate if you could provide me some sample code.
    Thanks
    Jay Reddy
  2. You could try JNI

    Pranab
  3. Can you suggest some sample code for the work around for com components written in VC++
    Thanks
    Jay
  4. I am assuming these are non visual COM objects. You could wrap the COM objects up as simple homemade "web services" using IIS and ASP. Then using simple HTTP POST operations to ASP pages, the ASP page could unpack the parameters and then invoke the COM objects. SOAP could be another alternative, not sure how compatible the MS SOAP stuff is vs. the apache soap stuff.