• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Spring events for games

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!