Hi Jenifer,
although I have not worked on palm but definately on C I can
suggest you some ideas. See Servlets are an extension to the Web Server &
sonce they work on HTTP Protocol they definately will use GET & POST. So you
cannot escape that.
To simplify your work you could use readmade libraries of C for Socket
programming,parsing etc. If it is not in palm then probably get it from the
net. This is simplify your work a lot.
Ofcourse C can call Servlets coz our Browsers r also written in C & they
Can!!.
FOr servlets it is just a client, it does not know whether html client or
no. But generally you will have to take care of some basic HTTP funda like
parsing the response, probably cookies etc.
Hope this Helps.
Bye,
Jiger
Join ServerSide-India (Java Users Group) at
http://ServerSideIndia.patelsoftware.com
>From: Jennifer Feeney <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
> Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Servlet Query.
>Date: Mon, 5 Feb 2001 14:45:03 +0000
>
>Hi all,
>
>Thank you in advance to anyone that can advise me on this query
>
>
>Description:
>----------------------------------------------------------------------
>--------------------
>I am currently involved in a project for my last year in
>University,University of Limerick, Ireland, B.Technology Degree.
>
>The project is the development of a C application on a Palm PDA
>device to
>enable users to do their shopping at any time with their Plam.
>
>The application is being built in C, because it is the favoured
>development tool
>for applications on the Palm OS....
>
>My part of the project is the back end.....the Server side, which
>contains a Java Web Server(JSDK2.1), Servlets, and JDBC to connect to
>my database, containing customer info and pricing info. for various
>products that the customer may wish to purchase.
>
>Potential Problem:
>----------------------------------------------------------------------
>--------------------
>Because servlets are mainy used with HTML clients, web browsers, I
>may have a problem invoking the servlets from within the C
>application and indeed returning the result to the C application,
>Client(on the Pda)....
>
>Would you agree with this?
>
>If yes, is there any way I could over come it?
>
>Are there any other ways of invoking a servlet other than the usual,
>Post and Get methods in HTML? In other words from a non-html client
>like my one?
>
>What about returning type...ContentType....is it possible for the
>servlet to return data to a C client?
>
>
>
>I would appreciate it greatly if anyone could throw some light on
>this problem for me..
>
>Best Regards,
>Jennifer
>
>
>
>_____________________________________
>
>Get your free E-mail at http://www.ireland.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
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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