File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes Using JBoss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Using JBoss" Watch "Using JBoss" New topic

Using JBoss

Philip Gutierrez

Joined: Apr 24, 2007
Posts: 13
Why use an EJB Container like JBoss without a Web Container?

Is there an instance where I need not to use a Web Container?
Peter Johnson

Joined: May 14, 2008
Posts: 5852

Um, JBoss AS contains both an EJB container and a web container. That is one of the requirements of the Java EE 5 spec.

JBoss In Action
Paul Michael
Ranch Hand

Joined: Jul 02, 2001
Posts: 697
Hi Philip,

It is possible not to use the Web container of a given JBoss instance.

An example would be a clustered Business tier where your EJB objects live (no Servlets and JSF).


SCJP 1.2 (89%), SCWCD 1.3 (94%), IBM 486 (90%), SCJA Beta (96%), SCEA (91% / 77%), SCEA 5 P1 (77%), SCBCD 5 (85%)
Javid Jamae
Ranch Hand

Joined: May 14, 2008
Posts: 198
Yes, you could have an server running that is connected to by JMS, GUI clients, or a remote Web tier etc.

Author: JBoss in Action,, @javidjamae on Twitter
I agree. Here's the link:
subject: Using JBoss
It's not a secret anymore!