aspose file tools*
The moose likes Game Development and the fly likes Spring events for games Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Game Development
Bookmark "Spring events for games" Watch "Spring events for games" New topic
Author

Spring events for games

Aron knight
Greenhorn

Joined: Aug 18, 2012
Posts: 9
Im looking at implementing a game for tablets/mobiles in Java and Spring, and am considering various solutions for the gaming server side of things.

The game basically loops through a set of states, which trigger message events to be sent to clients. Message sending is done via another API. So the event listener delegates to the message sender on a particular event.

Another listener handles the incoming parts, but im only concerned with sending raising events on state changes.

I have looked at JMS and Spring events, i like spring events as they are neat and tidy, however not sure how they would cope on a server - docs seem to suggest its good for basic stuff.. is my requiremnt basic tho?.. not much exp with spring events.

JMS seems large and bulky and since im only listening to internal events most of the time..

Have to also consider if things changed.. hummm
 
Don't get me started about those stupid light bulbs.
 
subject: Spring events for games
 
Similar Threads
JMS Example
Understanding ServerSessionPool
RECOVERY.RETRY.INTERVAL at listener port level
Threads and listeners
check Topic/Queue messages delivered on the server side ?