Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java EE sample App

I have been using Java SE for 2 yrs now and I am pretty ok with the fundamentals of Java. I would like to move to the Java EE API and develop something based on this. I have 2 questions:

  1. Does the EE API contain all the classes of the SE? i.e. can anything developed in the SE also be developed using the EE API?

  2. Can anybody point me in the direction or offer a suggestion for the development of a sample Java EE application such as a web service or something. Ideally, this sample app would be testable on my local machine and would be worthy of placing in my portfolio for future job interviews as a Java developer.

like image 430
Grungefreak Avatar asked Feb 15 '10 23:02

Grungefreak


3 Answers

Does the EE API contain all the classes of the SE?

Yes. The Java EE platform is built on top of the Java SE platform.

Can anybody point me in the direction or offer a suggestion for the development of a sample Java EE application

Have a look at the Java EE Code Samples & Apps.

like image 117
Pascal Thivent Avatar answered Nov 10 '22 06:11

Pascal Thivent


To answer your first question, Java EE is a large set of APIs (Servlets, EJB, JNDI, JDBC etc.).

It supplements the Java SE and is distinct from Java SE and whichever implementations you choose provide additional functionality to that available in Java SE.

like image 23
Brian Agnew Avatar answered Nov 10 '22 06:11

Brian Agnew


There are a couple of Java EE example applications in the Java EE 5 Tutorial. See the Case Studies section. Also note that the Java EE tutorial is updated for Java 6, I just don't see the case studies, which I think will be the most applicable section to your question.

As far as Java EE API containing all of the classes of the Java SE API, I don't know of anything that's missing from Java EE.

like image 1
Bill the Lizard Avatar answered Nov 10 '22 05:11

Bill the Lizard