Application Server is a framework that provides execution environment for application written in specific Programming Language.
Application Server vs. Web Server
Application Servers
JBoss is an Open Source Java EE based Application server developed by Redhat which operates on Cross Platform. It supports Servlet Specification 3.3 and JSP specification of 2.2.
Before you install JBoss you’ll want to make sure that you’ve installed Java.
Use Synaptic Package Manager to install Java.
Licensing
JBoss is distributed under LGPL; LGPL is a free software license published by the Free Software Foundation (FSF). It was designed as a compromise between the strong-copyleft GNU General Public License or GPL and permissive licenses such as the BSD licenses and the MIT License.
Red Hat charges to provide a support service for:
- · JMS integration
- · Java Naming and Directory Interface (JNDI)
- · Java Transaction API (JTA)
- · Java Authorization Contract for Containers (JACC) integration
- · JavaMail
- · JavaServer Faces 1.2 (Mojarra)
- · Jport subscription for JBoss Enterprise Middleware.
Features
- · Java Server Pages
- · Java Servlet
- · JBoss Web ServicesS
- · JDBC
- · Load balancing
- · Aspect-oriented programming (AOP) support
- · Clustering
- · Deployment API
- · Distributed caching (using JBoss Cache, a standalone product)
- · Distributed deployment (farming)
- · Enterprise JavaBeans versions 3 and 2.1
- · Failover (including sessions)
- · Hibernate integration
- · Java Authentication and Authorization Service (JAAS)
- · Java EE Connector Architecture (JCA) integration
- · Java Management Extensions
- · Management API
- · OSGi framework
- · RMI-IIOP
- · SOAP with Attachments API for Java
- · Teiid data virtualization system- Teiid is a data virtualization system that allows applications to use data from multiple, heterogeneous data stores.
Requirements
Java SE 6 or later
Download
http://www.jboss.org/jbossas/downloads/
Extract the file into usr/share/
Now, Lets Test it…If we haven’t installed Java then we will get an ERROR
Now lets open Jboss in Web Browser
Lets Verify the Admin Console
Start JBoss 7 as a service on Ubuntu
Previous versions of JBoss included a scripts (like jboss_init_redhat.sh) that could be copied to /etc/init.d in order to add it as a service – so it would start on boot up. I can’t seem to find any similar scripts in JBoss 7.
If you have copied from other editor or any web page then you will find some unwanted character in the file which will give you error when you will try to run the script.
Error: Bad Interpreter…
Verify Interpreter by “which sh” command in console
Result will be /bin/sh
Then verify the script openining it in VI editor.
Remove all unwanted Characters
Save it
Restart the Machine and try following
Done!!!
References
http://en.wikipedia.org/wiki/JBoss_application_server
http://en.wikipedia.org/wiki/Comparison_of_application_servers
http://en.wikipedia.org/wiki/Application_Server
http://stackoverflow.com/questions/6880902/start-jboss-7-as-a-service-on-linux
Related articles
- Install MySQL Server on Ubuntu 11.10 or Ubuntu 10.04 LTS (clean-clouds.com)
- Install Apache2 on Ubuntu 11.10 or Ubuntu 10.04 LTS (clean-clouds.com)































Very nice guide.
I had not find any script to lunch Jboss as service, and I can’t copy you example. Could you provide us to a new example to copy into init.d directory?
Thank you
Bye
Sample is available at http://stackoverflow.com/questions/6880902/start-jboss-7-as-a-service-on-linux as well. I have created that in virtual machine and I have lost that VM so cannot retrieve the script.
Pingback: Getting started with JBoss Enterprise Application Platform (EAP) « Java Team at Kentor
Pingback: Latest-Tutorial » Introduction to Spring’s Aspect Oriented Programming(AOP) » Latest-Tutorial