Yes,
You write a MS J++ socket server which listens to particular port and run
it on MS Windows (NT/98) platform. It is very easy to write a COM-wrapper
class and socket server using J++
From the Servlet side, open an socket connection to the above port, send
the data you need to send to the Socket server, it then turns arround
passing the data to COM object, get the result and send back to the servlet.
You need to have a thread started on the Socket Server for each of the
request from the Servlet.
It sounds a little complicate, but it can be implemented very quick with
java. We have done the same thing and it works very well.
Depending on your network security (Fire wall....), if the above does not
work for you, then you can also implement it by sending an HTTP request to a
.dll and let the .dll talk to COM and send the result back to your servlet
(take a look at java's URLConnection class or Jason Hunter's HttpMessage
class to implement the Http posting method)
Have fun,
Quang
----- Original Message -----
From: Joseph Seah <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 09, 2000 9:35 PM
Subject: Use/Call VB COMS in middle-tier
> hi...
>
> had front-end using jsp/servlets and need to call VB components in
> middle-tier. can this be done? i.e. can servlets send "data" via HTTP or
> TCP/IP to a VB component?
>
> please advise.
>
> .js
>
>
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html