• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using Servlet for converting VC++ DLL

 
Arvind Kannaberan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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?
Bill
[ October 31, 2003: Message edited by: William Brogden ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic