WML/XML etc.

For questions and postings not covered by the other forums
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

WML/XML etc.

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:08 pm

by NZWTA >> Thu, 30 May 2002 20:07:18 GMT

Wondering whether anyone has gone down similar path to following, or has informed comment; any gratefully accepted.

Suppose we have web server on LINUX box and suppose for the time being IIS is not used anywhere on site... the server will be handling incoming WML requests (effectively queries on JADE database) and responding with WML document. Now, is my thinking going in the right direction that possibly a TCP socket at each end could be the best means of piping these requests for processing by JADE?

I'm NOT concerned about the actual processing of XML etc. (though if anyone's doing WAP stuff and got useful insight, great)... I'm more concerned whether there are other mechanisms within JADE that would meet our requirements; remember I'm working under the assumption that MS IIS is out of the picture and that therefore (???) so are JADE web apps.

A sort-of related problem someone might be able to help me with... does anyone run Java servlets or Java Server Pages on MS IIS; i.e. so they accessed as URLS on the web? My scouting round for info. seems to yield very little info, and it seems to be conflicting. One source basically said MSofts answer is ASP (well fine and ASP is great insofar as one platform goes but I don't want ASP) so if you want JSP get a third-party solution etc. etc. Any info out there; is there a simple way to configure IIS to handle this?

Thanks for any help!

NZWTA

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: WML/XML etc.

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:08 pm

by CarlRanson >> Thu, 30 May 2002 22:32:44 GMT

The only practical advice I can offer is to avoid the approach of using jadehttp.dll as a basis for a non text server.
It officially doesn't support binary data even though the http spec does. We found this out when we tried to post a pdf file back to a browser.

CR

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: WML/XML etc.

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:08 pm

by wxv >> Mon, 3 Jun 2002 1:33:18 GMT

Apache does support ISAPI dll's (http://httpd.apache.org/docs/mod/mod_isapi.html), so possibly, you could run Jade over win32 Apache, but not on a Linux box.

The actual protocol that the jadehttp.dll uses to talk to jade isnt very complicated though, so if it was critical that you have your web server on a linux box, it wouldnt be very difficult to write an adapter for it (in the same was that apache talks to tomcat for example).

Like Carl says in his other post however, there are limitations with the JadeHttp.dll (and web stuff in general in Jade). The "content-type" is serves up for example can only be "text/html", although this doesnt seem to matter for WML browsers. A lot of people here seem to have build their own web frameworks to get around these limitations.

Ive run JSP and java applets using Tomcat on my machine. For testing, most of the time i connect straight to tomcat (much easier, no complex configuration), but there is an ISAPI redirector that you can use to have tomcat running under IIS (see the tomcat-iis-howto.html document under in the docs directory in your tomcat installation). This is highly recommended in a production enviroment for obvious reasons :-)


Wilfred.


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 20 guests