On Wed, 13 Jun 2001, Mark Galbreath wrote:
| Hmmm....Seems we have yet another example of the shortcomings of C++ in the
| Internet Age.
|
| Why waste your time? You can process anything with Java that you can with
| C++, and a lot easier. Me thinks you are not very familiar with the Java
| Foundation Classes. I don't know what you want to do with the user
| information, but essentially you are going to be parsing text. Java is
| lightyears ahead of C/C++ for parsing text and processing strings. But if
| you insist, just have the servlet write the post data to a file and use C++
| to read the file (damn, it's been a long time since I used fprint()!).
It's not that bad an idea. C++ is _way_ faster, still.
You approach is probably about the worst way of doing it. Any idea I can
possibly think of would be faster, except having for example a windows box
reboot and have the handle program "startup" on restart on every request.
;-D
JNI is ideal for this.
--
Mvh,
Endre
___________________________________________________________________________
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