my dog learned polymorphism
The moose likes Servlets and the fly likes Invoking a servlet from a C++ program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Invoking a servlet from a C++ program" Watch "Invoking a servlet from a C++ program" New topic

Invoking a servlet from a C++ program

Bala Ramachandran

Joined: Aug 20, 2001
Posts: 12
I have a Cognos based application that needs to invoke a servlet for authentication. The Cognos Access Manager has a C++ method. I need to invoke the authentication servlet from inside this method. Since it is enterprise security mechanism, I don't have much choice about the security authentication. The servlet is a blackbox to the applications.
Is there a way I can invoke this servlet from inside the C++ method either by simulating a HTTP client or socket ?
Thank You
mathew Jackson

Joined: Jun 15, 2001
Posts: 12
Try cURL or libcURL
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Invoking a servlet from a C++ program
It's not a secret anymore!