Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


[java] java + networking api?

This topic is 5476 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

is there a netorking api for java similar to MS''s DirectPlay. ie connection support, guaranteed, non guaranteed, ordered packets. message throttling. tcp doesnt have enough control + i cant be bothered writing/testing connection/message throttling code etc ontop of UDP.

Share this post

Link to post
Share on other sites
there are many network apis, for every taste and purposes.

JSDT or Java Shared Data Toolkit is the one which is closest to directPlay''s structure: you create managed sessions, join as client...

RMI or Remote Method Invocation is a standart part of JSE, it''s a layer covering the basics of communication and where you call directly methods on remote objects. Example: myRemoteObject.doThis(...); where myRemoteObject is a reference to a remote object.

nio or new io is an improvement of the previous io api, which has evrything needed for low level networking. Raw and direct socket communication.

JavaSpaces fits perfectly to manage loosely coupled communication. It really acts like an independant universe on the web where you add/remove/replace objects.

these are the main ones.

I guess the JSDT api will best fit your needs if you''re looking for something like directPlay. It''s a superb api, i would even say it''s functionnability is beyond directPlay''s one, and fits perfectly for channel based managed sessions.
For low level network access, raw communication, nio fits the best.


Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!