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.
Author and all-around good cowpoke
posted 12 years ago
"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 ]