Jump to content
  • Advertisement

Archived

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

Preacher

[java] Pluggable Architecture

This topic is 5245 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

Hi im developing a 3dChess game for a college project and i would like to implement a plugabble architecture. this is my fist serious software development project and would like to hear some more experienced views on ways to go about this. My only idea at this time is to create a core class that broadcasts custom events (e.g. MoveEvent, PropertyChangeEvent etc.) to any object that imlpements a pluggableListener interface and registers with the core to receive events. I have never written any custom events before or any eventBroadcasters before, so if anybody has any tips or pointers to tutorials i would be most grateful. I would also be interested to hear if anyone knows of any other ways to implement a pluggable architecture. Thanks v.much

Share this post


Link to post
Share on other sites
Advertisement
Check out JMS for an easy way to broadcast/subscribe.

I would look into J2EE stuff. Web services are essentially plug-in programs. You can also check out some service based architecture stuff. www.openwings.org is a service based architecture model that might provide some insight.

Share this post


Link to post
Share on other sites
You can also check out Squirrel SQL. It is an open source SQL client. It provides good support for plug-ins and is written in Java. So you can get the source for it to see how they do it. They also have API docs for the plug-ins that should help.



First make it work, then make it fast. --Brian Kernighan

The problems of this world cannot possibly be solved by skeptics or cynics whose horizons are limited by the obvious realities. We need men and women who can dream of things that never were. - John Fitzgerald Kennedy(35th US President)

Do not interrupt your enemy when he is making a mistake. - Napolean Bonaparte

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!