• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

J22E definition

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic