http://www.devx.com/ | Printed from http://www.devx.com/getHelpOn/10MinuteSolution/16639 |
Get Started with JBoss Application Server
The JBoss Application Server is a full-featured, J2EE app server with robust EJB support. In this 10-Minute Solution, Java Pro Kyle Gabhart offers a step-by-step guide through the installation and configuration of the JBoss app server and shows you how to deploy a simple session bean. by Kyle Gabhart, Java Pro
|
![]() JBoss is a complete J2EE application server providing enterprise-class security, transaction support, resource management, load balancing, and clustering. Heard enough to consider JBoss a viable EJB solution for your environment? Then use this month's 10-Minute Solution as a step-by-step guide through the installation and configuration of the JBoss Application Server. You'll also learn how to deploy a simple session bean. Note: You'll need at least an intermediate understanding of
Java, J2EE, and EJB to follow the instructions. |
Setting Up JBoss The first step in getting up and running with JBoss is to download and install the server:
One file note: If you want to configure the server security, transaction handling, database access, or resource management, use the jboss.jcml file under the conf/default directory. Deploying a Simple Bean
|
Deployment Process All you do to deploy EJBs in JBoss is drop the archive into the deploy directory. The JBoss engine immediately inspects the contents of the archive and attempts to deploy the bean(s). Undeploying is as easy as deleting the archive from the deploy directory. Making the deployment process highly efficient are the following features:
Accessing a Bean
Once you have set up a jndi.properties file, you should place it in a directory and place that directory into the client's classpath (the file itself should not, only the directory where the property file is located). That's it. You are ready to fire up the server, drop the JAR into the deploy directory, start the client, and invoke the EJB service. Another Tool to Increase Productivity Downloading and installing JBoss should provide you with another tool to increase your productivity when developing J2EE and EJB. See you next month!
DevX Java Pro Kyle Gabhart is the director of the
Java Technology Group for Objective Solutions, a Richardson, TX-based
knowledge-transfer group specializing in Java technologies. He also serves
as a senior mentor, trainer, and consultant for Objective Solutions,
specializing in J2EE, XML, and Web Services
technologies. |
DevX is a division of Jupitermedia
Corporation © Copyright 2004 Jupitermedia Corporation. All Rights Reserved. Legal Notices |