Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

J2EE vs J2EE Application Server  RSS feed

 
Drake Remoray
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is a J2EE Application Server is an implementation of the J2EE specifications, or is it something more/different?

I've been programming in Java and writing applications that run on app servers (Borland and BEA) but I'm not sure how to answer this.

The app server certainly provides implementations of the spec but is that all it takes to be an app server?

Drake
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
J2EE includes quite a number of specs. The most well known are the servlet container and the EJB container but the spec also talks about the client container and the applet container. Someone could choose to implement part of the spec, say only a servlet engine. Most J2EE vendors implement the whole spec with a largish family of services and components.

THE SPEC
 
Henry Wong
author
Sheriff
Posts: 23283
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why does the name "Drake Remoray" sound so familar?
 
Drake Remoray
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Henry - if you're a fan of the show "Friends" or "Joey" then you may be thinking of the character Joey played on Days of Our Lives... Dr. Drake Remoray.


Stan,
I know vendors can implement part of the spec without having to implement all of it. I'm just trying to get it clear in my head whether an implementation of the J2EE requirements would necessarily result in an app server, or if a J2EE compliant app server is a super-set of the J2EE specs.
 
Joe Ess
Bartender
Posts: 9428
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Drake, our naming policy forbids obviously fictitious names. How's about you use your real name like everyone else? Helps us keep it friendly 'round here.
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"app server" is a slippery term. It means different things to different people even in my shop, so I'm not sure what might be an app server to you. Sun has tests to tell if a servlet container or EJB container is up to J2EE spec, tho. Either of those might qualify as "app server" to some folks.
 
Roger Chung-Wee
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My understanding is that if you produce a J2EE server, it must comply with the whole J2EE spec. The server must include an EJB container and a servlet container.

Of course, it is possible to produce a server which complies with a sub-set of the J2EE spec. An example is Tomcat which is just a servlet container, another is JBoss which is just an EJB container.
 
Drake Remoray
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Joe Ess:
Hey Drake, our naming policy forbids obviously fictitious names. How's about you use your real name like everyone else? Helps us keep it friendly 'round here.



Sorry Joe, I didn't say my name is ficticious. I just said Henry might have heard it on a TV show. If you like, I'll change it to something else anyway.
 
Joe Ess
Bartender
Posts: 9428
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If Drake is your real name, by all means use it. We prefer that people use their real names because in many other forums people take advantage of the anonymity the internet affords to be rude and insulting. Using real (or at least real-sounding) names tends to keep people a little more civil.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!