• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Using Servlet for converting VC++ DLL

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic