Thursday, August 16, 2012

JBOSS with NetBeans

We discussed about how to install JBOSS in your computer in previous post. But we didn't talk about how to start JBOSS server. We are going to talk about how to use JBOSS with netbeans IDE. Most of the JBOSS tutorials are based on eclipse IDE. But this article series is based on Netbeans IDE.

First open netbeans IDE. Then go to service tab and right click on servers node. Then click on add server as shown in the image.
Then you have to select JBoss Application Server from pop up box. Then press next. Now you have to browse your JBOSS stored folder. You have to select jboss-as directory. After that press finish. Now we successfully added JBOSS server to netbeans. Now we can start our JBOSS server from Netbeans. For that, write click on newly added jboss server and press start. Now we can see jboss-console. It will show starting JBOSS server.

We will see how to create small EJB and how to deploy that EJB to the JBOSS AS from netbeans.

Wednesday, August 15, 2012

Install JBOSS in your computer

This article describes how to install JBOSS AS in your computer. This is the first article of series of article. I am going to cover login modules, Clustering and load balancing in JBOSS. First let's see how to install JBOSS in your computer.
In this tutorial series, I am using JBOSS AS 5.1. You can download JBOSS AS 5 from JBOSS website. This is the link for JBOSS website.

According to your OS you can download zip or tar file. Installing JBOSS is very easy. We don't have to do anything. First we need to create a folder called "jboss" in C drive. If you want, you can create this folder in any of your partition. Then you have to extract that downloaded zip file into that folder. Now we installed JBOSS in your computer.

My next post will be on how to start jboss server from netbeans and command prompt.