please tell me the fundamental difference between J2SE and J2EE.Most of the things that can be done using J2EE can be done using J2SE.Including serverlets and JSP's according to my knowledge Thanks Varuna I posted this question after a through search in the forum
"J2SE" is the core of Java: all the java.* packages, and some javax packages like Swing. "J2EE" is all the enterprise APIs which aren't part of J2SE: Servlets, JSPs, EJBs, JavaMail, Management, etc, etc.
J2SE is the Java 2 Standard Edition that contains your basic core Java classes. This is the one that most people use to write your standard applets and applications.
J2EE is the Java 2 Enterprise Edition and it contains classes that go above and beyond J2SE. In fact, you will need J2SE in order to use many of the classes in J2EE. Some of the things that J2EE provides are server-side classes such as Servlets and EJB's. It also contains Security API, Java Mail API, XML Parsers etc., Java Messaging Service API, and a few others. A few of these API's have been included in the new J2SE 1.4 version and are now considered standard. The XML API is an example of this.
Thanks from me too. But I want to know more. I am also very confused with J2EE and consider it very difficulat in comparison with J2SE. I know absolutely nothing about J2EE. For J2SE my favourite book is Core Java written by Cay Horstmann and Garry Cornell. But I want to know a very good book thoroughly discussed about J2EE. Please help me by referring a very good book. Thanks in advance.
J2EE is a huge subject, comprising lots of APIs. You might start by getting an overview in the Sun J2EE Tutorial, and then move on to specialized books covering particular APIs. You can find reviews of such books here at JavaRanch, in the "J2EE", "Enterprise JavaBeans", "Web Services and SOAP" and "Servlets, JSP and Tag Libraries" sections. [ June 23, 2007: Message edited by: Ulf Dittmer ]
Hi Serverlets and JSP's can be developed using J2SE and implementing tomcat as the web server so up to now what I see is there is no difference between the two considering the various types of applications that can be created from both of them.I would like to know what is "Java Web Start" that comes with jdk1.4 which is the version used to create serverlets.Is there a version without a "Java web start" feature.The murach Book uses this version to create JSP's and serverlets Thanks Varuna
Joined: Mar 22, 2005
Servlets and JPSs are not part of the J2SE. To compile and run them you need additional libraries which are part of J2EE (although it's not necessary to install the J2EE Reference Implementation to use them, since the libraries also come with all other servlet container).
Web Start is part of the J2SE -since 1.4 I believe-, so a JDK that does not contain it would have to be rather old. More information about it is here.
Joined: Jan 15, 2007
Hello My Question is serverlets and JSP's can be developed using java web start technology what is the use of J2EE. Varuna
Joined: Mar 22, 2005
serverlets and JSP's can be developed using java web start technology what is the use of J2EE
I think you are confused about what Java Web Start is, because it has nothing to do with servlets/JSP (and neither one of them can be used to develop the other).
The point of J2EE is to enhance J2SE by all those capabilities Ernest listed above. None of those are possible with just J2SE.