Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

what exactly is J2EE???

Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i read a lot of articles about .NET and J2EE? what is J2EE exactly? .NET is a collection of ASP.nEt and SQL server and VBscript.
Is J2EE just like that? a collection of realated sun technology or is it something different like a whole new language??
Posts: 1840
Eclipse IDE Ruby Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's neither a language nor a collection of technology (at least not like .NET is a collection of technology). Instead, it's more a design pattern than anything else.
(This response got long, so I broke it down into a couple of sections)
The hallmark of J2EE is Enterprise JavaBeans. EJBs provide the ability to run processes on remote servers and serve as the middle tier in the J2EE framework. There are two types of EJBs: Entity and Session. Entity EJBs are used primarily to communicate with the database, while Session EJBs are used to hold business logic. EJBs run on an "Application Server."
The front end for the J2EE is JSP/Servlet technology. Much like ASP, these provide dynamic HTML to the user. These run on a "Web Server."
The back end is any database that you choose (even Access, if you want ) This is the "Database Server."
Data Flow
User uses Web browser to access JSP/Servlets
JSP/Servlets send data to Business Logic located in Session EJBs
Session EJBs use the data exposed by Entity EJBs.
Entity EJBs interface with the Database.
The Database is a "dumb" database in that its only role is to store data. All business logic happens at the Session EJB level (this means no reliance on stored procedures! Access dosen't have them anyway )
The data flows in reverse back to the JSP, which generates the dynamic HTML and presents the results back to the user.
A common JSP/Servlet engine is Apache Tomcat. It's free, so I'm not sure what other ones are out there. (IBM's HTTP Server is just Tomcat re-labeled, although I think they've made a few improvements on the product.)
The middle layer has more vendors. IBM WebSphere and BEA Weblogic are two of the front runners in the Application Server realm, although JBoss is a popular free one. (There's also HP Bluestone, but I think that is no longer a supported product. And, in my opinion, this is not a bad thing. )
Of course, at the database layer, there a a plethora of choices. Oracle, MySQL, and MS SQL Server are popular choices (MySQL being free, Oracle and SQL Server competing with each other for market dominance). Other choices include Sybase, IBM's DB2, Access (!! if you're low volume and crazy, but I've seen it), and others.

Hope this clears things up. I tend to be long-winded, so if you have any questions, just ask. (And I'll probably get long-winded again, but, hey.)
Ranch Hand
Posts: 2545
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
j2ee, java 2 enterprise edition.
if you have experience with software, you will know enterprise include more than professional, or standard. so you can image j2ee is some kind of superset of j2se, which stands for java 2 standard edition.
(instanceof Sidekick)
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Another angle you can use to look at J2EE is that it is a specification, not a product. Sun wrote the spec and anybody is welcome to build J2EE compliant products. J2EE specifies many complicated services that a "container" must provide, so it's not an easy thing. But I read about two guys who wrote one on the train - an hour a day while they were commuting.
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Solveig Haugland did an artocle for us in the May newsletter on this very topic.
What in Tarnation Is J2EE?
It's never done THAT before. Explain it to me tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic