• 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

What's the point of J2EE, JBOSS, WebLogic...?

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all...newbie here.
I'm sure this question has been asked before, but the 'search' didn't seem to work...
I'm learning Java (long time PHP hacker), and I hear lots of talk about J2EE and application servers like JBOSS and BEA WebLogic...but I'm not clear on what the point of these things are. Can someone give a basic example of what/why one would use these (as opposed to just running your servlets/JSP's on Tomcat/Jakarta)??
Also, and maybe this is a question for a different forum, but how does Java deal with session management in a distributed environment?
I checked out some code examples, but it seems a bit 'magical'. If you have multiple webservers in a load balanced system, what is the preferred method? In the past, I've used a central database (Oracle, PostgreSQL, etc) to deal with persistant session data from multiple servers...I assume the examples I was looking at were using a temp file based system, NG obviously if you have multiple servers...is there something in J2EE that deals with this?
TIA, and sorry for my ignorance.
-Kurt
 
sharp shooter, and author
Posts: 1913
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Kurt,
We have a naming policy here at JavaRanch where all publicly displayed names take the form, "Firstname Surname". Could you please edit your profile to bring it into line?
Thanks in advance and we hope that you enjoy your stay at the ranch!
With regards to J2EE, have you taken a look at the J2EE home pages at Sun?
Cheers
Simon
 
Ranch Hand
Posts: 235
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Euler:
Hi all...newbie here.
I'm sure this question has been asked before, but the 'search' didn't seem to work...
I'm learning Java (long time PHP hacker), and I hear lots of talk about J2EE and application servers like JBOSS and BEA WebLogic...but I'm not clear on what the point of these things are. Can someone give a basic example of what/why one would use these (as opposed to just running your servlets/JSP's on Tomcat/Jakarta)??
Also, and maybe this is a question for a different forum, but how does Java deal with session management in a distributed environment?
I checked out some code examples, but it seems a bit 'magical'. If you have multiple webservers in a load balanced system, what is the preferred method? In the past, I've used a central database (Oracle, PostgreSQL, etc) to deal with persistant session data from multiple servers...I assume the examples I was looking at were using a temp file based system, NG obviously if you have multiple servers...is there something in J2EE that deals with this?
TIA, and sorry for my ignorance.
-Kurt


Tomcat is for Servlets/JSP's, and cannot handle the traffic of a large commercial website. It is ideal for learning and development. Also, it does not have an EJB container.
Java can handle sessions using session and servlet context event listener interfaces. You can also use a database, or EJB's.
A great place to start is "Core Servlets and Java Server Pages" and "More servlets and Java Server Pages".
EJB's are pretty rough to break into on your own, but you would do well to get Wiley's "Mastering Enterprise Java Beans". There's a large bridge to cross between servlets/jsp's to EJB's, but don't let that discourage you from trying!
 
Ranch Hand
Posts: 1551
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This won't take you too long.
jGuru EJB Short Course
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic