View Full Version : Networks in Java?
youssef
Al Salamo 3alikom,
I thinking to make a program with Java like Kazaa but I need some java codes to make it also I need some codes about the Networks in Java...Can anyone help me?
Youssef Mohamed Ali Ibrahim Gamil (http://youssefgamil.jeeran.com/)
LI-6Y LUCY
I need some java codes to make it also
Do u mean that u dont know how to program in JAVA...
And about the tutorials here it is..
java directory (http://www.astalavista.com/index.php?section=dir&id=12)
I hope that i ve helped u.
ThnX AloT.
youssef
That`s not what I mean...
Thanks for all your help.
habdin
Salamo 3alaikom,
I think that the best one to tell you about sources for any language is alaa.
Salam.
alaa
I strictly am an anti JAVA guy so I wouldn't know anything about Java. (of course I'm an anti PHP guy but I had to use so the same could happen to Java itoo in the future).
however all roads lead to google
cheers,
Alaa
MaherG
Originally posted by alaa
however all roads lead to google
Nice.
angoranimi
Noteworthy: apart from trignometric benchmarks, Java was as good as C (if not better in some cases) in a recent performance benchmark by osnews.com. Questionable, if you ask me.
In any case, take a look at the following link for some sample java.net.* code:
http://nitric.com/jnp/
If you're gonna need to write asynchronous code, take a look at java.nio.*.
Not as abstract as C select/poll, but it will do the job when it comes to net socket programming.
alaa
come on, this benchmark was done by a total moron.
of course Java was as fast with arithmetic operations afterall these are atomic processor operations, any language should be able to directly translate them to the proper machine code and let the processor do its stuff.
and hey its all done on index variables so it can even be done on the resgiters directly with minimal memory access.
IMO this only benchmarks the processor and the win32 C library.
the guy is so clueless he did not even make sure that all languages used the same precision in the trignometric functions test.
you want to benchmark Java you have to realy stress the garbage collector and other memory management components, and you have to heavily test its object model.
not to mention cover some typical library calls.
cheers,
Alaa
progmat
salamo 3alekom
dear youssef
what kind of code u interested in
i'm also interested in java
i think u should give us a start point ??????
hashim
Alsalam alikom,
Alaa is anti-java and i tested it b4
but i want to say that java on Mars now :D
:)
look about the network in java it is very easy and effecient..
take look at
http://java.sun.com/docs/books/tutorial/networking/index.html
about kazaa
http://www9.limewire.com/developer/gnutella_protocol_0.4.pdf
http://developer.java.sun.com/developer/Books/networking/jxta/jxtap2pch03.pdf
http://developer.java.sun.com/developer/Books/networking/jxta/jxtap2pch08.pdf
http://java.sun.com/developer/Books/networking/jxta/
http://www.jxta.org
and try to search for p2p network protocol programming
also i recommend you to join the sun forums, it is very goood
god help you
vBulletin v3.0.1, Copyright ©2000-2004, Jelsoft Enterprises Ltd.