The Artima Developer Community
Sponsored Link

Java Answers Forum
regarding Client/server communication

4 replies on 1 page. Most recent reply: Jan 17, 2006 3:33 PM by Thomas SMETS

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 4 replies on 1 page
viral parekh

Posts: 3
Nickname: viral
Registered: Dec, 2005

regarding Client/server communication Posted: Dec 30, 2005 6:55 AM
Reply to this message Reply
Advertisement
i created server using java its a simple java class.
now i want to make client in applet which is globaly accessible,now
my question is that for create GUI
i use AWT class or SWING class,which is preferable?
how to connect client and server?
and which is the best way?


Thomas SMETS

Posts: 307
Nickname: tsmets
Registered: Apr, 2002

Re: regarding Client/server communication Posted: Dec 30, 2005 4:57 PM
Reply to this message Reply
Swing is now included in the JDK's ...
So Why would you limit your self to the AWT... ???
There are very few reasons to limit yourself to AWT, typically when you are not sure of your clients environment but it is getting very rare to not have at least a JDK 1.3.
The VAG-group's web site (www.vw.be, www.audi.be) in Belgium was used to have implemented its own toolkit onto the AWT to have neat rendering (like in Swing but based on AWT, only).


For the C/S communication you should answer first the following :
What needs to be transfered between the C & the S ?

Options are : HTTP or RMI (quickly stated). There are of courses hundreds of other possibilities : JDBC, Plain Sockets (TCP/UDP), FTP, ...

\T,

viral parekh

Posts: 3
Nickname: viral
Registered: Dec, 2005

Re: regarding Client/server communication Posted: Dec 31, 2005 1:41 AM
Reply to this message Reply
Thanks for ur reply.
i created my server using serversocket,now i want to make client,so as per ur view for client
which method i use,either i make Client using swing JFRAME
or explicitly run it at client side or i make client using japplet which load from Server.

i want to make chat application through which i can chat using WEB,WAP enabled,MIDP enabled phone.

so if i use socketprograming for server then how can i connect with WAP and MIDP.

i want to transfer message between Clients and also Files
every message/file first go to server and the send to appropriate user.

sameera samy

Posts: 1
Nickname: sameera
Registered: Jan, 2006

Re: regarding Client/server communication Posted: Jan 11, 2006 10:57 PM
Reply to this message Reply
hi
did u manage to transfer a file using tcp client server connection.i also really need that.if u have the answer please mail it to me at samys@mx.uom.ac.mu

Thomas SMETS

Posts: 307
Nickname: tsmets
Registered: Apr, 2002

Re: regarding Client/server communication Posted: Jan 17, 2006 3:33 PM
Reply to this message Reply
Viral,

I am not sure I get a clear idea of your post...
Is there a question in it ?
If yes, Could you place question marks so they come out clearly !

\T,

Flat View: This topic has 4 replies on 1 page
Topic: Making exe file in Java Previous Topic   Next Topic Topic: 2 way mapping

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use