Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DLL

Status
Not open for further replies.

jliz2803

IS-IT--Management
Mar 21, 2005
45
CA
Sorry to post a new thread on this but i figured everyone gave up on the last one considering how stupid it sounded. We are doing work for a client were an application gets passed to java classes which then gets passed to a dll to convert the java to C which then calls the proper dll within our company. Instead of doing it like this our client is asking that it be done through http. Is there any way to do this through java beans or anything?
 
Probably the easiest way to is to get yourself a "servlet container" (try Jetty, or Tomcat), and write a servlet (in effect a Java class that can be mapped to a URL) that performs the functions you require.

The other way is to use the java.net and java.io package and role your own HTTP server - but this is probably the trickier option, and more bug-prone (depending on how much you understand the HTTP protocol).

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
I don't understand what the dll has to do with http. From my point of view, the only thing you need to do is open a connection but maybe I misunderstood the question.

Cheers,
Dian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top