jQuery in Action, 3rd edition
The moose likes Servlets and the fly likes Using Servlet for converting VC++ DLL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Using Servlet for converting VC++ DLL" Watch "Using Servlet for converting VC++ DLL" New topic

Using Servlet for converting VC++ DLL

Arvind Kannaberan

Joined: Oct 31, 2003
Posts: 2
Hi, I have a DLL written in VC++ which is part of a client / server application. Now i wish to convert it into java to be compatible with Linux. Would it be better to use Servlets or Bean? The main function of the DLL is to accept requests thru JSP or a normal java application send it to the server , get the response and send it back to requesting appln. Hope i am clear.
Thanks in advance.

William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
"Servlet or Bean" is not the right question. If you are going to talk to a client web browser, you need a servlet to get the request and control the response. JavaBeans are typically used to encapsulate some functionality to avoid clogging the servlet code up with extraneous code.
I'm not real clear on what the existing DLL does. Does it act like a client and call a server? What is the protocol? HTTP?
[ October 31, 2003: Message edited by: William Brogden ]
I agree. Here's the link: http://aspose.com/file-tools
subject: Using Servlet for converting VC++ DLL
It's not a secret anymore!