DEE
DEE

Reputation: 373

JBOSS V/s apache tomcat

I am new to "java world", I need following clarification

My application would be simple 3-tier with Servlets, so given this which is the best option.

Upvotes: 0

Views: 2094

Answers (5)

mobject
mobject

Reputation: 179

when to use JBOSS v/s TOMCAT ? differences?

Basically, they are web server but Jboss is a larger web server. JBoss is also used for enterprise applications using Java EE technologies: JMS,EJB etc. and others like SOA, Webservices. Jboss usually is called Application Server (different from Web server).

which is more reliable ? which is more scalable? Both. It depends on your application

which is more easy to to administrate? Tomcat

does both have scale out options? Yes

can i host an application developed in flex on JBOSS/TOMCAT? Yes, any of them

my application would be simple 3-tier with Servlets , so given this which is the best option You did not mention what your tiers are so for the begining I suggest TOMCAT

Upvotes: 1

Anurag
Anurag

Reputation: 137

What type of Java app server should you choose for your next project? Well, that kinda depends on what kind of app you’re building, what your needs are, what type of organization you work in, and lots of other factors too pls check below link

http://zeroturnaround.com/rebellabs/the-great-java-application-server-debate-with-tomcat-jboss-glassfish-jetty-and-liberty-profile/

Upvotes: 0

OscarRyz
OscarRyz

Reputation: 199215

my application would be simple 3-tier with Servlets , so given this which is the best option.

Use: Tomcat

Tomcat is a servlet container which basically serves JPS pages and servlets.

In the other hand JBoss is an application server ( which inside contains a servlet container among a lot more stuff ) and is more complex.

  • when to use JBOSS vs TOMCAT?
    • Use JBoss when you need an application server, use Tomcat when you need a servlet container.
  • differences?
    • One contains the other ( among other things )
  • which is more reliable?
    • Both
  • which is more scalable?
    • Both
  • which is more easy to to administrate?
    • Tomcat
  • does both have scale out options?
    • Yes
  • can I host an application developed in flex on JBOSS/TOMCAT?
    • Yes

Upvotes: 2

user207421
user207421

Reputation: 310893

Tomcat is a servlet container. JBoss is a J2EE container. It uses Tomcat as its servlet container. So the question doesn't actually make much sense.

Upvotes: 0

Vinko Vrsalovic
Vinko Vrsalovic

Reputation: 340221

They are different beasts. Tomcat is a pure servlet container (meaning can run servlets and JSP mostly). JBOSS implements thte full J2EE spec, adding, for example, EJB (Enterprise Java Beans) and JMS layers, with the additional complexity that entails.

You very likely just need a servlet container like Tomcat. I recommend Jetty as it's a lot simpler to handle for that use case (just servlets).

Upvotes: 1

Related Questions