Should I be using J2SE or J2EE?

Hi,

I am newbie of sorts with java - I come from Actionscript programming and I have found the transfer over to Java pretty easy (well kind of). I have been using java in eclipse for some time but I must admit I do not understand completely what version I am in and what version I should be working in and why.  
Should I be working in J2SE or J2EE? I am currently working in J2SE 1.6.0, what about J2SE 5.0?
waffe
waffeAsked:
Who is Participating?
 
lamaslanyConnect With a Mentor Commented:
Java 2 Standard Edition contains the basic core Java classes.  This can be used to write standard applets and applications.

Java 2 Enterprise Edition contains extensions to the basic core Java classes such as server-side classes, XML parsers and APIs.

As for which you should be working with it depends on what you are trying to do.  Standard apps and applets only really need j2SE; server-side code and code using advanced APIs need J2EE.

PS:  I'm not a Java expert but that is what I understand to be true.

As for versions: 1.6 is newer than 1.5 (aka 5.0).  I'm not sure why they couldn't make Java 2 use 2.x - there is bound to be a history to it!  
0
 
waffeAuthor Commented:
Thanks lamaslany,
that clears up a bit of my confusion.

So I could program in J2SE for my application / applet and then use say .net or php for my server side applications instead of J2EE server side applications.

When you say "As for versions: 1.6 is newer than 1.5 (aka 5.0). ", are you saying that J2SE 1.6.0 is J2SE 5.0?
0
 
lamaslanyCommented:
>>>So I could program in J2SE for my application / applet and then use say .net or php for my server side applications instead of J2EE server side applications.<<<
Yes.

>>>When you say "As for versions: 1.6 is newer than 1.5 (aka 5.0). ", are you saying that J2SE 1.6.0 is J2SE 5.0?<<<

J2SE 1.6.0 is newer than J2SE 1.5.0

J2SE 1.5.0 is sometimes referred to as J2SE 5.0
J2SE 1.6.0 is sometimes referred to as J2SE 6.0

To my mind when they jumped to Java 2 it would have been nice to refer to that as JSE 2.0.0.  Of course that is quite a subjective opinion.  ;)
0
All Courses

From novice to tech pro — start learning today.