wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes J22E definition Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "J22E definition" Watch "J22E definition" New topic
Author

J22E definition

Nadeem Ahmad
Greenhorn

Joined: Oct 20, 2003
Posts: 28
I have given many interviews on J2EE. Can anyone clear my doubts.
1) applet+servlets+JSP+RMI+CORBA+JDBC+AWT+SWING = J2EE
IS this right?
if not then plz describe the thing..I will be having lots of Question after getting any answer.
2)IF we put business login separate in JAVA beans and in any other calss file from the presentaion logic and run it on application server with out using EJB then can we call it J2EE application.
3)IS EJB neccessary for J2EE application.
4)If used EJB and put some business logic in EJB and some business logib in front END JSP's. Is this a J2EE application
5)Give the correct definition of J2EE
Harsha Huddar
Greenhorn

Joined: Oct 03, 2003
Posts: 23
J2EE = JSP/Servlets(for front end running inside a web container)+(session & entity beans for business logic running inside ejb container)+ various support technologies(optional) like JAXP, JMS, Java Mail etc
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Originally posted by Nadeem Ahmad:
I have given many interviews on J2EE. Can anyone clear my doubts.
1) applet+servlets+JSP+RMI+CORBA+JDBC+AWT+SWING = J2EE
IS this right?
if not then plz describe the thing..I will be having lots of Question after getting any answer.

No, JSP/Servlet/EJB's = J2EEE and AWT,SWING,CORBA;RMI,JDBC is J2SE

2)IF we put business login separate in JAVA beans and in any other calss file from the presentaion logic and run it on application server with out using EJB then can we call it J2EE application.

If you use one of the above described specifications it is a J2EE application

3)IS EJB neccessary for J2EE application.

No

4)If used EJB and put some business logic in EJB and some business logib in front END JSP's. Is this a J2EE application
This has nothing to do with calling an app J2EE application. A J2EE application is every app which uses parts of the J2EE specification

5)Give the correct definition of J2EE

How about checking the Sun web page, i think there you should find a correct and exact definition what J2EE ist.

[ October 20, 2003: Message edited by: Oliver Refle ]
Nadeem Ahmad
Greenhorn

Joined: Oct 20, 2003
Posts: 28
Thank for Prompt ans specific reply Oliver Refle ,
I got the answer of all of my questions except the 5th one.
Actully I want to know the J2EE specification.
U cleared me the it is not neccessary that a J2EE app shud have EJB.
Then how a person came to know that the application is in J2EE or Not
is this application server or the architecture that matter?
Plzz let me know
I hv seen many site and book but cud not get a specific answer.
Regards
Nadeem
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Originally posted by Nadeem Ahmad:
Thank for Prompt ans specific reply Oliver Refle ,
I got the answer of all of my questions except the 5th one.
Actully I want to know the J2EE specification.
U cleared me the it is not neccessary that a J2EE app shud have EJB.
Then how a person came to know that the application is in J2EE or Not
is this application server or the architecture that matter?
Plzz let me know
I hv seen many site and book but cud not get a specific answer.
Regards
Nadeem


J2EE is a simply programming specification. When developing under use of this specification you are able to deploy your apps into J2EE containers. You recognize J2EE applications simply cause of the archive name.
war = Web Archive (archive with JSP/Servlet) stuff
ear = Enterprise Archive (Archive with war, EJB's etc.)

The definition of what J2EE is
here what you would also have find with a little bit research on the sun pages.
If you need an overview over the complete spec this is also a good place to start. Additionally you can download the source of the J2EE classes and the docs there.
Nadeem Ahmad
Greenhorn

Joined: Oct 20, 2003
Posts: 28
Hi Oliver Refl´┐Ż
Its fine that there shud be J2EE container
Can you plz tell me the structure of any application
which does not use EJB but comes in J2EE.
Write me detail of directory structure and the name of application server where it is deployed.
Can we make a J2EE application with our any application Server.
Regards,
Nadeem
A Wolfe
Greenhorn

Joined: Sep 08, 2003
Posts: 23
Nadeem, think in terms of Web server and Application server. Any application that makes use of web server and/or app server is a "J2EE application" because every web server and application server at the very least have to abide by J2EE specification. So if you are not using any web server or application server then it's not a J2EE application. But if you're using at least one of them then it qualifies to be a J2EE application.
Web server renders the presentation layer (JSP, Servlets) and some business logic. Application handles the persistence layer (database) and some business logic. You can have just a web server with JSPs and Servlets that access the database directly and it would still be a J2EE application. Or you can have just the application server to interact with database and have some console or AWT/Swing application as the front end and it would still be a J2EE application. But if you don't have any of web server or application server handling your application components then it is NOT a J2EE application.
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hi Nadeem,
maybe it is a good idea to check out the Sun J2EE tutorial. There i think a lot of your questions are answered
Nadeem Ahmad
Greenhorn

Joined: Oct 20, 2003
Posts: 28
THANk you WOLF
Now its Clear
Lot of thanks again
Actually I met lot of peoples in interview
They thought if they are asking for a J2EE guy then it means he shud know EJB.
Nadeem Ahmad
Greenhorn

Joined: Oct 20, 2003
Posts: 28
Thanks WOLF
you wrote
Any application that makes use of web server and/or app server is a "J2EE application" because every web server and application server at the very least have to abide by J2EE specification.
Is this correct?
Ramakrishnan thiyagarajan
Ranch Hand

Joined: Oct 07, 2003
Posts: 57
hi,
j2ee is a specification using this we can build a distributed application. using this spec many vendors products are available.
for ex
bea weblogic, ibm websphere are build under j2ee specification.
j2ee applications are,
jsp,EJB,SERVLETS,jdbc,jndi,jms,jta,applets
A Wolfe
Greenhorn

Joined: Sep 08, 2003
Posts: 23
Originally posted by Nadeem Ahmad:
THANk you WOLF
Now its Clear
Lot of thanks again
Actually I met lot of peoples in interview
They thought if they are asking for a J2EE guy then it means he shud know EJB.

That is wrong. You can have a J2EE application built without even using EJBs. You see within a J2EE application, you can choose among various components depending on your need and EJBs are just one type of components choice of which optional on your part.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: J22E definition
 
Similar Threads
EJB 2.0
JBoss rule usage in J2EE application
WLS IP config
sequence diagrams for web and java client ?
What exactly is an EJB?