• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

JBoss Or Tomcat?

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm planning to shift my applications from OC4J to Jboss.
The application consists of JSP & Beans. No EJB's.

I won't be using most of the features that JBoss provides. Is it advisable for me to use JBoss or it is better to deploy it on Tomcat?


Also please let me know about the parameters(Performance, Connections, object caching...etc) that i should take into consideration when i choose between the 2(Jboss & Tomcat) servers.
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


Also please let me know about the parameters(Performance, Connections, object caching...etc) that i should take into consideration when i choose between the 2(Jboss & Tomcat) servers.


All of these are irrelevant. If you are deploying a web application use a servlet container. If you are deploying a J2EE application use an application server.

In case you were not aware, JBoss uses Tomcat as its servlet container. You wouldn't gain anything using JBoss over Tomcat in this instance, you'd just get a whole bunch of unnecessary features to confuse you!
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can always create a JBoss version that only has Tomcat, you have to create the configuration by copying the "default" server and removing the unneeded services. What you would gain is the JMX wrapper around Tomcat for monitoring of you server.

Mark
 
Vighnesh Prabhu
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks.
 
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

My query is on similar lines. My company develops highly-transactional applications for Telecom domain. We are currently developing apps using JSP/Servlets in our own home-grown architecture and use Tomcat as Web container. Now, we want to use Hibernate/iBATIS and Struts. And, may be if needs be use EJB and most definitely use Web services - both 6-7 months down the line. Basically, we want to make our application really future-proof without going for any commercial software.

From what little R&D we have done, JBoss App Server seems to require far too much of work. Do you think it is wise to start off with Tomcat and may be later port the application to JBoss + Tomcat config??

Also, I was also reading about two more application servers - JOnAS and GlassFish. Do you think either of these would serve our purpose?

Sara
 
Mark Spritzler
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"any commercial software"

JBoss isn't commercial, it is open source, so it is free.


"JBoss App Server seems to require far too much of work"

Of all the App Servers, I can definitely say that JBoss is the least amount of work.

1. Let's see for installation, just unzip the file.
2. For deployment, just drop your archive into the deploy directory.
3. Creating a DataSource, go to the docs/examples/jca directory take a xxx-ds.xml file, change the URL and password to go to your database and drop that file into the deploy directory.

Mark
 
Sara Jahan
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Mark, the installation and deployment was as simple as you had written. To me who is used to the simplicity of Tomcat, the first view of the Jboss site was daunting. I got completely zapped by so many sections and sub-sections.

And, I should stop taking whatever is written in Wiki so lierally. Check out Java Application Servers section of Application Servers. It calls JBoss "commercial". I guess it is commercial from the point of view that technically support is "commercially available".

Sara J

Originally posted by Mark Spritzler:
"any commercial software"

JBoss isn't commercial, it is open source, so it is free.


"JBoss App Server seems to require far too much of work"

Of all the App Servers, I can definitely say that JBoss is the least amount of work.

1. Let's see for installation, just unzip the file.
2. For deployment, just drop your archive into the deploy directory.
3. Creating a DataSource, go to the docs/examples/jca directory take a xxx-ds.xml file, change the URL and password to go to your database and drop that file into the deploy directory.

Mark

 
Paul Sturrock
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Mark Spritzler:
"any commercial software"

JBoss isn't commercial, it is open source, so it is free.



Uhm, with all due respect Mark I'd say JBoss is commercial. True, it is free to download and use, but RedHat are in the business of making money. As a production choice, I can't see people using it without spending at least some money on support, and probably training too.
 
It was the best of times. It was the worst of times. It was a tiny ad.
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic