Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (744)
Games in Android Showcase (225)
games submitted by our members
Games in WIP (825)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  JMS for game networking  (Read 1689 times)
0 Members and 1 Guest are viewing this topic.
Offline shawnkendall

Senior Devvie

« Posted 2004-11-30 13:35:10 »

Sorry if this is been covered, I did a quick search and it didn't turn up what i was looking for.

Is/has anyone use JMS (or any other standard API, other than Net/NIO of course)  for game networking? And if so, what was you app and how did it go?

I've been home brewing connection management and protos for years for performance reason but am ready to leave that all behind if standard APIs are up to the job now.

Shawn Kendall
Cosmic Interactive, LLC
Offline blahblahblahh

JGO Coder

Medals: 1

« Reply #1 - Posted 2004-11-30 14:05:47 »

Yes, it has been covered on this forum, at least once. Certainly, it was mentioned in the "is it OK to use J2EE?" thread, but also in other ones. I believe (not entirely sure) that each thread that mentioned JMS also mentioned at least JBoss or J2EE at some point. Search with enough days (700?) *and all categories* (ISTR several started off not in networking) should get all of them.

Approximate conclusions IIRC were:

theoretically, it's great. For some particular uses, it's fine, but most of those are small games where the overhead of importing JMS's architecture is too much hassle to justify it.

In practice, you have to pay $$$ to get a halfway-decent JMS implementation. Apparently, most of them are crap (not surprising, given what it does and how much money messaging middleware vendors have charged and still do charge for good implementations of this stuff - Sun wasn'
t going to make an expensive product free overnight, now were they? :)).

...or something like that.

I've not really tried them myself - why bother trusting a random messaging layer when you can just go and get ones designed specifically for games? Like J2EE itself, the guarantees are few and far between, and it's not really designed with games-like traffic patterns in mind.

FWIW, I'm planning on releasing an open-source networking layer sometime 2005Q3 as part of writing my networking book. It might just be a port of eNet or similar, or it might be something entirely new; I'm not sure yet.

malloc will be first against the wall when the revolution comes...
Offline shawnkendall

Senior Devvie

« Reply #2 - Posted 2004-11-30 16:27:18 »

Thanks much!

Shawn Kendall
Cosmic Interactive, LLC
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Jeff

JGO Coder

Got any cats?

« Reply #3 - Posted 2004-12-21 22:49:59 »

People have tried to use it.  Its always a performance problem for anything more then turn based games.

JMS is designed for enterpreise systems which have very different communciations needs then games.

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!
Pages: [1]
  ignore  |  Print  

Ecumene (149 views)
2017-09-30 02:57:34

theagentd (214 views)
2017-09-26 18:23:31

cybrmynd (300 views)
2017-08-02 12:28:51

cybrmynd (288 views)
2017-08-02 12:19:43

cybrmynd (296 views)
2017-08-02 12:18:09

Sralse (291 views)
2017-07-25 17:13:48

Archive (968 views)
2017-04-27 17:45:51

buddyBro (1094 views)
2017-04-05 03:38:00

CopyableCougar4 (1669 views)
2017-03-24 15:39:42

theagentd (1428 views)
2017-03-24 15:32:08
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!