Java-Gaming.org    
Featured games (78)
games approved by the League of Dukes
Games in Showcase (429)
Games in Android Showcase (89)
games submitted by our members
Games in WIP (468)
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  
  Thoughts on RedDwarf ?  (Read 2030 times)
0 Members and 1 Guest are viewing this topic.
Offline jonjava
« Posted 2011-10-20 12:41:30 »

I've recently read about RedDwarf http://www.reddwarfserver.org/, which was known as Project DarkStar before Oracle came along and discontinued it so it got forked into RedDwarf Server. It's basically an "Engine", built in java, to handle not only Game Servers but simple Login/Register too, including fluid database management.

I stumbled upon it when I was building my own custom java server  (a trivial account server than can register and login users and save the data to file) - when I started coding I just jumped right in and the end result was a bit messy. Handling all this data and saving it to files for specific users etc. It's a field of its own imo.

I ended up looking at the serializable interface for storing data and somehow stumbled upon RedDward - which seems to handle all this sort of stuff quite neatly. After reading the tutorial I thought, why re-invent the wheel if this is available?

And by "All this sort of stuff" I mean saving data to file securely, loading that data neatly - basically it just loads the "server" from the sate it was before it went down. ( RedDwarf uses the java Serializable interface to achieve this )

Currently my custom made server has methods to create and load files, create new files for users when they register. Login users with passwords, and some other seemingly trivial stuff that is in fact quite messy.

Are you guys familiar with RedDwarf and what are your thoughts on using it?

If you don't know about RedDwarf and would like to know more, I suggest reading the Tutorial:
http://sourceforge.net/apps/trac/reddwarf/attachment/wiki/Documentation/RedDwarf%20ServerAppTutorial.odt

Offline kappa
« League of Dukes »

JGO Kernel


Medals: 70
Projects: 15


★★★★★


« Reply #1 - Posted 2011-10-20 13:05:27 »

Yeh, RedDwarf does look like a nice project, some of the authors of that project use to (still do?) frequent this forum. A quick look at the project activity (svn) shows that no changes/commits have been made for almost a year, which is a bit worrying. However the forum does still look like its active.
Offline endolf

JGO Coder


Medals: 7


Current project release date: sometime in 3003


« Reply #2 - Posted 2011-10-20 13:41:35 »

I used it back when it was darkstar, the intention was that it did for games what J2EE had done for business apps in java.

Whilst it does have some really cool stuff in there, particularly the load balancing stuff. The trade of was performance, any object you update on the server is persisted for reliability reasons, but this means you can't go through the server just to update the location of an object if you are doing realtime stuff. It's perfect for point and click or turn based though.

I was working on a composite system using darkstar for all persisted objects and my own code for object location updates.

Endolf

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Cero
« Reply #3 - Posted 2011-10-20 14:53:58 »

I like red dwarfs; they are not as hot as our sun for example - taking it easy
also they are all over the galaxy - meaning there are more of them then any other stars I believe

I would like to hang out with one of those
Our sun always gives me sunburns

you just have to move in closer of course, so that it doesn't get too cold

Offline jonjava
« Reply #4 - Posted 2011-10-20 15:05:49 »

I'm glad RedDwarf isn't an obscure term. Considering my small project size however, I think I'd better stick to my custom implementation since 1) I will learn more java in depth (which is always fun) and 2) using RedDwarf would require too much "hassle" to set up for my small project. I definitely see myself using it in some other future projects though.

I like red dwarfs; they are not as hot as our sun for example - taking it easy
also they are all over the galaxy - meaning there are more of them then any other stars I believe

I would like to hang out with one of those
Our sun always gives me sunburns

you just have to move in closer of course, so that it doesn't get too cold

You're thinking of the wrong Red Dwarf ;)
http://www.youtube.com/watch?v=gXYfnWRp1Q0

Offline Chromanoid

Junior Member


Medals: 3



« Reply #5 - Posted 2011-10-20 15:46:24 »

I think the game MilMo uses Red Dwarf. Afaik the horizontal scalability goals were not reached in a satisfying way. After the closing of project darkstar afair TerraCotta was in discussion to deliver this...
I currently try to build some kind of scalable game server for my diploma thesis. I will report on JGO how everything turns out.

BTW You might want to look at http://shiro.apache.org/ or http://static.springsource.org/spring-security/site/ since you will want to use authorization somewhere, right? Why don't you use a database and JPA or a Cache like Infinispan (with DB for persistent store) for data storage/access and Jersey/Grizzly for request processing?
Offline theagentd
« Reply #6 - Posted 2011-10-21 12:45:37 »

You're thinking of the wrong Red Dwarf Wink
http://www.youtube.com/watch?v=gXYfnWRp1Q0
WTF was that?! Did he just SURF on a crocodile, and then proceeded to own a bunch of ****s? Mind = blown.
EDIT: What? Is Hitler-followers censored?

Myomyomyo.
Offline ra4king

JGO Kernel


Medals: 322
Projects: 2
Exp: 4 years


I'm the King!


« Reply #7 - Posted 2011-10-21 14:36:09 »

You're thinking of the wrong Red Dwarf Wink
http://www.youtube.com/watch?v=gXYfnWRp1Q0
WTF was that?! Did he just SURF on a crocodile, and then proceeded to own a bunch of ****s? Mind = blown.
My mind is non-existant after that video!!

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

theagentd (6 views)
2014-04-24 23:00:44

xsi3rr4x (83 views)
2014-04-15 18:08:23

BurntPizza (75 views)
2014-04-15 03:46:01

UprightPath (86 views)
2014-04-14 17:39:50

UprightPath (69 views)
2014-04-14 17:35:47

Porlus (86 views)
2014-04-14 15:48:38

tom_mai78101 (109 views)
2014-04-10 04:04:31

BurntPizza (169 views)
2014-04-08 23:06:04

tom_mai78101 (265 views)
2014-04-05 13:34:39

trollwarrior1 (217 views)
2014-04-04 12:06:45
List of Learning Resources
by SHC
2014-04-18 03:17:39

List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30
java-gaming.org 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‑gaming.org
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!