hi alan
what you said is possible.

there are several alternatives.since you want both the server and
client(applet) to talk to each other you have to
1)either use sockets and object serialization if you are sending objects
back and forth
2)or use RMI(remote method invocation)

the advantages and disadvantages are too lengthy to describe here.
refer Jason hunter's servlet book for more details
regards
anup

At 04:37 PM 7/24/00 +0200, you wrote:
>I'm new in the field of servlet/JSP and a friend told me that servlet
>could be usefull for
>the website I want to create.
>
>Well, I'll try to explain it as simple as I can :
>
>GOAL:
>--------
>I want that a client applet (on the browser side) send data to a server.
>
>Then the server can send back data to the client according to the client
>input data.
>Of course, the server must be able to receive data from multiple client.
>
>Moreover, server must also be able to send data (multicast) to a group
>of connected
>client.
>
>I don't want to use port other than those used by browser (so Port 80).
>
>APPROACHES:
>--------------------
>
>1) The first approach that came to my mind was to establish a socket on
>port 80 between client applet and server application.
>    Will this approach be OK for what I want?
>
>2) The second approach a friend suggest me was to have an applet on
>client side that use servlet to create connection to the server.
>    Is it possible?
>    Is it fast?
>
>What are the advantage & disadvantage of both approach?
>
>NOTE: If someone has some links on a doc or src doing this kind of job,
>I'll be very happy.
>
>Best regards,
>
>Alan.
>--
>============================================
>Alan Savary
>R&D Engineer
>SimTeam
>Virtual Presence
>Muse Technologies, Inc
>Tel: +33 (0)1 45 45 15 55
>Fax +33 (0)1 45 45 16 17
>Web: http://www.simteam.com & http://www.vrweb.com &
>http://www.musetech.com
>email: [EMAIL PROTECTED]
>
>___________________________________________________________________________
>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

Reply via email to