User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Java section within the Software Development category of DaniWeb, a massive community of 429,781 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,944 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Java advertiser: Lunarpages Java Web Hosting
Views: 1615 | Replies: 6
Reply
Join Date: Jul 2005
Location: Iowa
Posts: 8
Reputation: md16185 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
md16185 md16185 is offline Offline
Newbie Poster

Java seems complicated...

  #1  
Jul 26th, 2005
As far as programming Java and Javascript can be confusing...

How do you do a java-based chat, any ideas?
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2005
Posts: 56
Reputation: Sauce is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
Sauce Sauce is offline Offline
Junior Poster in Training

Re: Java seems complicated...

  #2  
Jul 26th, 2005
Java makes programming a chat applications really easy. Look up sockets in java and thats all you will need for a very basic one. Get that far and when you encounter problems or what to do more complicated stuff with the program (like maybe a secure RSA encryption) chat program let me know and i'll be able to lend a hand.
Reply With Quote  
Join Date: Jun 2004
Location: H4x0rville
Posts: 2,105
Reputation: server_crash is on a distinguished road 
Rep Power: 9
Solved Threads: 18
server_crash's Avatar
server_crash server_crash is offline Offline
Postaholic

Re: Java seems complicated...

  #3  
Jul 26th, 2005
Basically it's like he said: look up sockets. The PrintWriter will probably be used, but you have your options open for choosing a Class that will read and write data. Split functionality up as much as you can when writing out the classes. And that's about all I have right now. Get a little done and we can help you more as he said.
Reply With Quote  
Join Date: Jul 2005
Location: Iowa
Posts: 8
Reputation: md16185 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
md16185 md16185 is offline Offline
Newbie Poster

Re: Java seems complicated...

  #4  
Jul 27th, 2005
I see alot of things referring to a .jar file, is that the applet itself?
Reply With Quote  
Join Date: Feb 2005
Location: eskisehir
Posts: 121
Reputation: tonakai is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 11
tonakai's Avatar
tonakai tonakai is offline Offline
Junior Poster

Re: Java seems complicated...

  #5  
Jul 27th, 2005
no, applet is just another class which can be run under web browsers...
jar is Java ARchive. with jar files it is very easy to transfer your programs (which generally have more then 1 file)
Good news, everyone!
my blog(turkish) tonakai.blogspot.com
my photography elvowyn.deviantart.com
Reply With Quote  
Join Date: Nov 2004
Location: Netherlands
Posts: 5,752
Reputation: jwenting is a jewel in the rough jwenting is a jewel in the rough jwenting is a jewel in the rough jwenting is a jewel in the rough 
Rep Power: 18
Solved Threads: 199
Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: Java seems complicated...

  #6  
Jul 27th, 2005
If you think Java is complicated, try some entry level tutorials first before diving into creating multithreaded networked applications.
Sun has some great tutorials, and O'Reilly has their excellent "Head First Java" book to get you up and running.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote  
Join Date: Jun 2004
Posts: 604
Reputation: freesoft_2000 is an unknown quantity at this point 
Rep Power: 6
Solved Threads: 6
freesoft_2000 freesoft_2000 is offline Offline
Practically a Master Poster

Re: Java seems complicated...

  #7  
Jul 27th, 2005
Hi everyone,

Java can be intimidating at first but i agree with jwenting that you should get some entry level tutorials. The official sun tutorials are extremely good and you also yahoo for them.

If you were building a chat program i would suggest that you used a java application rather than an applet as it has lesser restrictions. Also try learning about basic networking i.e sockets.

Another thing is that Java and JavaScript is different.

JavaScript is an object oriented web scripting language created by netscape whereas Java is a programming language that has both footing in applications and web applications that is created by Sun MicroSystems.

Richard West
Microsoft uses "One World, One Web, One Program" as a slogan.
Doesn’t that sound like "Ein Volk, Ein Reich, Ein Führer" to you, too?
— Eric S. Raymond

Tell me what type of software do you like and what would you pay for it

http://www.daniweb.com/techtalkforums/thread19660.html
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Java Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Java Forum

All times are GMT -4. The time now is 4:06 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC