Whats the difference

Whats the difference between J2EE and J2SE and J2ME? Does any of them matter for making games?
[101 byte] By [oo0speed0ooa] at [2007-9-28 5:29:52]
# 1

J2ME is for software for mobile phones and things like that. As Abuse will probably tell you soonish, that means you have very small screens and no memory worth speaking of. Big impact on game writing.

J2EE is the "Enterprise Edition" and presumably includes some add-ons to the Standard Edition. If it works on J2SE, I'd expect it to work on J2EE.

YATArchivista at 2007-7-9 16:40:48 > top of Java-index,Other Topics,Java Game Development...
# 2

sigh - i've been made redundant again - thanx YATarch :)

the best place for you to find the differences (and similarities) between the 3 apis, would be to follow the links on the left.

Cunningly name J2EE, J2SE and J2ME :)

if I had to summarise each - i'd prolly say something like.

J2ME, targetted at limited capability devices, such as palms and mobile phones. The JVM (KVM actually - Kilobyte Virtual Machine) has a small memory footprint. The most widely supported profile is CLDC/MIDP, however, this api is very restrictive, and consequently **** for games. MIDP2.0 is on the horizon, and will supposedly improve the situation somewhat. (though im skeptical)

J2EE, targetted at server side, is a very extensive/bloated api. I believe there may even be a KitchenSink class in there somewhere :p

J2SE, pretty much everything else.

Abusea at 2007-7-9 16:40:48 > top of Java-index,Other Topics,Java Game Development...
# 3
Sorry to hear that.
YATArchivista at 2007-7-9 16:40:48 > top of Java-index,Other Topics,Java Game Development...
# 4
hehe, doh!I didn't mean 'i've been made redundant'I meant, you answered the question before I got chance - hence you made me redundant :)
Abusea at 2007-7-9 16:40:48 > top of Java-index,Other Topics,Java Game Development...
# 5
thanx, but which one would you use for making games? Or it depends on what you're making. Abuse you used which to make the car game? Which should I make a regular computer game?
oo0speed0ooa at 2007-7-9 16:40:48 > top of Java-index,Other Topics,Java Game Development...
# 6

If you plan to develop a game for PDAs or mobile phone, use J2ME (Java 2 Micro Edition), and ask Abuse for details :)

If you want to develop a classic PC game, it's J2SE (Java 2 Standard Edition). There's everything you want in it, except 3D (you can get the J3D extension for that). J2SE programs and games can run on Windows, Mac, Unix, and many, many other platforms.

J2EE (Java 2 Enterprise Edition) is used for big scaled enterprise applications. This forum, for example, works using JSP which is part of J2EE. J2EE is targeted to security, scalability, databases, networking, etc... It could be useful for developing MMORG (massive multiplayer online games) servers.

Lossendil

PS : after an extensive search, I can tell for sure that there is no KitchenSink.class in J2EE :)

lossendila at 2007-7-9 16:40:48 > top of Java-index,Other Topics,Java Game Development...
# 7
Thank you for the explanation. Do they all have different codes? or can they work together? Or do they just have more code in the classes?
oo0speed0ooa at 2007-7-9 16:40:48 > top of Java-index,Other Topics,Java Game Development...
# 8

There are some similarities in the core packages (such as java.lang and java.util), but for the most part, the APIs are very different.

1 very important difference between J2ME and the other 2, is the lack of support for floating point maths.

If you want to know more, just download the APIs for each.

Abusea at 2007-7-9 16:40:48 > top of Java-index,Other Topics,Java Game Development...