Sign in to follow this  
jake2431

[java] Was Star Wars Galaxies really written in java?

Recommended Posts

The title pretty much says it. I was reading part of Killer Game Programming with Java and it was mentioning games written in java and this was one of them. I looked up the system requirements and Java isn't one of them, but it may come with it or something. Any info? -Jake

Share this post


Link to post
Share on other sites
definitely not. *maybe* some server side stuff is in java, but i've never heard anything about it.

edit: nope, i'm wrong. near as i can tell they use java for scripting stuff. don't know the extent of it though.

Share this post


Link to post
Share on other sites
Quote:
Original post by justo
edit: nope, i'm wrong. near as i can tell they use java for scripting stuff. don't know the extent of it though.

Basically the full game server-side is implemented using Java.

Share this post


Link to post
Share on other sites
That's weird. You'd think, if anything, they'd write the server in c and the client in java for portability, not vice versa.

Of course, I'm saying that on the assumption that Java is slower because it's compiled at runtime- and that may not be true, from what I've heard.

Share this post


Link to post
Share on other sites
Actually, since a server tends to stay running for a long time, you would think that a Java server would run very well... the longer it's running the more of a chance the VM has to optimize better.

Share this post


Link to post
Share on other sites
I agree with the last words. And also since vm do goode job on removing garbage, it has less chance to be down because of memory leak or such. I also guess that they probably have a lot of money to invest in good server machines with a lot of ram an probably multi cpu, so I don't think that speed is much of issue there as it is perceived on our ordinary home machines with some poor p4 class cpu and ~512 meg ram as most users probaly have these days.

Share this post


Link to post
Share on other sites
I believed they used the JAVA Native Interface (JNI) to allow them to hook the java code into an exposed interface for the game engine.

There is an article on Gamasutra discusing how they implemted this.

Share this post


Link to post
Share on other sites
Java is often used for server code, because you can keep the system configuration constant, so you don't have to worry about stupid cross-platform tweeks.

Share this post


Link to post
Share on other sites
Every tried your hand at modding the Unreal engine? UScript, while it is not directly java, is very java-esque... Not sure if that counts :P

Share this post


Link to post
Share on other sites
Quote:
Original post by jake2431
The title pretty much says it. I was reading part of Killer Game Programming with Java and it was mentioning games written in java and this was one of them. I looked up the system requirements and Java isn't one of them, but it may come with it or something. Any info?

-Jake



I read somewhere(Ill see if I can find it), that certain oarts of the AI(possibly most or all of it)were written in Java for SWG. Not then entire server, or at least from what I remember.

Share this post


Link to post
Share on other sites
Quote:
Original post by capn_midnight
Java is often used for server code, because you can keep the system configuration constant, so you don't have to worry about stupid cross-platform tweeks.

This is purely theoretical. I ran into countless cross-platform tweaks throughout my career. To give you one example, a Java system that ran perfectly on Windows refused to run on a Linux box. After many hours of debugging on site it turned out that a Linux Java implementation of a random number generator depended on user input and the Linux box had no keyboard attached since it was administered remotely.

This may seem like a contrived example but it's this kind of stuff that sucks up tremendous amounts of time. Java software is naturally far less costly to port than C++ alternative but it's far, far from seemless.

Share this post


Link to post
Share on other sites
The trick is to find all these little tricks, and wrap them up in your code so they never bother you again.

I've never even seen Ultratron running on a Mac - how about that eh?

Cas :)

Share this post


Link to post
Share on other sites
Quote:
Original post by CoffeeMug
Quote:
Original post by capn_midnight
Java is often used for server code, because you can keep the system configuration constant, so you don't have to worry about stupid cross-platform tweeks.

This is purely theoretical. I ran into countless cross-platform tweaks throughout my career. To give you one example, a Java system that ran perfectly on Windows refused to run on a Linux box. After many hours of debugging on site it turned out that a Linux Java implementation of a random number generator depended on user input and the Linux box had no keyboard attached since it was administered remotely.

This may seem like a contrived example but it's this kind of stuff that sucks up tremendous amounts of time. Java software is naturally far less costly to port than C++ alternative but it's far, far from seemless.

no, I'm agreeing with you, you can use java for server code and not client code because the configuration for your servers is much more limited (generally you have complete control over the server configuration and no control over the client configuration). So, all those stupid tweaks become a non-issue, you can just stick to one server configuration in-house.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this