If you do this, don't you have to include all the xml classes?
--- Avi Kivity <[EMAIL PROTECTED]> wrote:
> > From: Albert Chow [mailto:[EMAIL PROTECTED]]
> >
> > Hi,
> >
> > How can I do it with XML messages??
> >
> When the applet wishes to perform some operation (for example, obtain a list
> of records to display), it generates an xml message:
>
> <message>
> <query>
> <category>health food</category>
> <max-record-count>20</max-record-count>
> </query>
> </message>
>
> The applet sends the xml message as an HTTP request to a servlet, which sits
> on some URL in your web server.
> The servlet decodes the XML message, calls (say) a stateless session bean
> (which returns a Collection), formats the result in xml:
>
> <message>
> <result>
> <record>hamburgers</record>
> <record>french fries</record>
> <record>hot dogs</record>
> </result>
> </message>
>
> and sends it as the HTTP response.
> The applet receives the message, decodes it, and reconstructs the Collection
> which it then displays to the user.
>
>
> - Avi
> --
> s/\be(\w+)/e-\1/g;
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff EJB-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
=====
Cuong Q. Tran <[EMAIL PROTECTED]>
__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".