02
Sat, Nov
2 New Articles

Java Journal: JBoss

Java
Typography
  • Smaller Small Medium Big Bigger
  • Default Helvetica Segoe Georgia Times
"You get what you pay for" is not always true when dealing with computers and the Web. For example, many newspapers still charge for a Web-based subscription, yet I can get the same or better stories for free from CNN or Fox News. So I always use the free sites. However, with software, there is often a stigma attached to using something that is free. Developers and users worry that free software isn't very good or that there won't be any support for it. In some cases, these fears are perfectly valid, but there are some exceptions. JBoss is definitely one of these exceptions. First, I'll give you a high-level view of what JBoss is, including a look at the JBoss business model and why it works. Then, I'll take you on a quick tour of the product itself.

What Is JBoss?

JBoss is an open-source J2EE application server. The project was started back in 1999 and is distributed under a standard Lesser General Public License (LGPL). Over 100 developers worldwide have worked on it, and as of the writing of this article, it's up to Version 3.2. Current download rates are running around 200,000 copies a month. But JBoss isn't some stripped-down, lowest-common-denominator application server. JBoss has many of the features you would expect from an enterprise-level implementation of J2EE, such as clustering and Container Managed Persistence (CMP). The standard download includes both a J2EE stack and an HTTP 1.1 Web server.

JBoss Business Model

So how does a company make money on software that it gives away? Well it's easy: They charge for everything other than the software. Enter the JBoss Group, which is the consulting and support side of the JBoss project. The JBoss Group makes the money to support itself and future development by selling training, support, and consulting services.

Training options include Boot Camp, which is a hands-on, two-day demo of JBoss's capabilities; J2EE on JBoss and Advanced JBoss, which are beginning and advanced classes in J2EE development in JBoss; and JBoss Admin, which teaches you the best practices for deployment and administration of your production application servers. JBoss training is provided at various locations around the world.

JBoss support options include Right Start, a service in which a JBoss consultant comes to you during your development and reviews your system architecture and implementation; Port to JBoss, a service in which a consultant helps you get off your current budget-draining application server; and Go Live, a service in which a consultant holds your hand for your production release and helps you with any last-second glitches. In addition, like all good consulting firms, the JBoss Group will work with you on an hourly basis to meet any other needs you might have.

JBoss offer three levels of support: Standard Support is your typical hourly based support, 24x7 Production Support is fast response time and direct contact with a developer, and OEM/Integrator Support allows you to resell JBoss support with your applications. For those of you who just have to spend money, JBoss also offers Enterprise Wide Support Contracts.

One final way that the JBoss Group generates revenue is through selling advance documentation. However, considering that a yearly subscription to all of their documentation only runs around $120, you are still saving thousands of dollars over most other application servers. A common mantra that you will hear JBoss evangelists utter is "Spend your money on knowledge, not licenses." I feel obligated to point out that, though I have not used the JBoss consulting services and don't know their pricing model, I do find the price of their training to be more expensive than that of their competition.

What makes JBoss support stand out from that of other providers is that the developers of JBoss actually fill the support and consulting roles themselves. This is managed through a unique program in which developers spend 50% of their time doing development and 50% of their time doing support and consulting. This way, you are ensured that your contact is knowledgeable on the product and not just a warm body hired last week.

Jboss Tour

Now, you are ready to take JBoss for a test drive. First, go here and get the zip file that has everything you will need. Download the jboss-3.2.0.zip to your local hard drive and unzip it. Note the rather petite 34 MB file size. (These are the "binary" versions of the JBoss tree; because it is an open-source project, you can get the actual source code and compile it for yourself if you prefer.) After getting the zip file, go here and follow the JBoss 3.0 Getting Started documentation link, where you can then download the 3.0 Getting Started documentation set. Actually, for a "quick start" document, it is a rather lengthy 180 pages. But, in their defense, it covers far more than just getting you started. So if you would really like to do a true quick start, do the following (I am assuming that you are on some flavor of Windows):
 

1. Use Windows Explorer to navigate to the root of where you unzipped jboss-3.2.0.
 

2. Navigate down to the bin directory and launch run.bat (you can also do this from a command line if you prefer). A number of informational as well as a few error messages will fly by in the command window. Wait until you see a line similar to this:

INFO  [Server] JBoss (MX MicroKernel) [3.2.0 

(build: CVSTag=JBoss_3_2_0 date=200304110033)] 

Started in 14s:70ms

3. Launch your favorite Web browser, and then go to http://localhost:8080/jmx-console/, which should bring up the JBoss management console.

That's all there is to installing JBoss. If you are familiar with application servers, surf around the interface and get a feel for where things are and the kind of interface that JBoss provides.

The next step, and it's a pretty big one, is to download a JBoss template and some example projects from here and follow the instructions in the Quick Start document chapter 3 that you downloaded previously. Note that, as part of this process, you will need a current version of Ant and XDoclet. Instructions on where to get these are included in the readme file that accompanies the template and example projects bundle. I find this to be a fairly typical pattern with application servers in that the installation of the server itself is fairly trivial, but actually deploying a project involves a fairly significant effort. So set aside a little time and work through the sample project to become familiar with how JBoss works.

One nice thing about taking JBoss for a test drive is that, because it is open source, you can download it without even giving away your email address or phone number. In other words, you don't have to deal with a temporary license or that dreaded follow-up call from the sales person to see how your evaluation is going.

Digging Deeper

If you want to know more about JBoss or have problems with installation or the sample projects, the JBoss Web site hosts a set of very active forums from its home page. In addition, you will probably want to subscribe to the JBoss documentation set and optionally pick up a couple of the JBoss books on particular topics, all of which are available through the JBoss Web site.

One Last Consideration

In spite of the cost savings, it can still be an uphill battle to sell management on the idea of running mission-critical applications on open-source software. You may be able to ease them into the open-source world by migrating a small non-mission-critical servlet over to JBoss. By doing this, you will not only get up to speed on JBoss, but also you can use it as your proof of concept that JBoss really can save you money. And remember, your ultimate ace in the hole is that you have the source code. If the JBoss Group closes its doors tomorrow, your code line will survive. Think what kind of shape you would be in if this scenario played out with your current application server provider.

The Challenges for the JBoss Group

The JBoss Group has earned a reputation for good customer support, something that few software companies can rightly claim (although all of them do). The challenge for the JBoss Group, as I see it, is to maintain their business model and customer satisfaction as they scale up.

Conclusion

JBoss is a free, open-source, J2EE application server that presents a viable alternative to the commercial Java application server market. The project itself has been around for over three years and continues to mature and add functionality, like clustering and CMP. The JBoss Group supports their development of the project by charging for support and consulting. Their unique business model of having developers provide support assures quality, knowledgeable support staff. JBoss itself is easy to download and install, but like most application servers, it will still take you a while to get your first test application up and running. The JBoss Group has an excellent reputation for providing support, but it will be interesting to see if their current business model will scale up.

So the next time you are cutting a big check to your application server provider, think about JBoss and where else you could be spending your budget. Chances are, your competition is doing the same thing.

Michael J. Floyd is an Extreme Programmer and the Software Engineering Technical Lead for DivXNetworks. He is also a consultant for San Diego State University and can be reached at This email address is being protected from spambots. You need JavaScript enabled to view it.

Michael Floyd

Michael J. Floyd is the Vice President of Engineering for DivX, Inc.

BLOG COMMENTS POWERED BY DISQUS

LATEST COMMENTS

Support MC Press Online

$

Book Reviews

Resource Center

  • SB Profound WC 5536 Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application. You can find Part 1 here. In Part 2 of our free Node.js Webinar Series, Brian May teaches you the different tooling options available for writing code, debugging, and using Git for version control. Brian will briefly discuss the different tools available, and demonstrate his preferred setup for Node development on IBM i or any platform. Attend this webinar to learn:

  • SB Profound WP 5539More than ever, there is a demand for IT to deliver innovation. Your IBM i has been an essential part of your business operations for years. However, your organization may struggle to maintain the current system and implement new projects. The thousands of customers we've worked with and surveyed state that expectations regarding the digital footprint and vision of the company are not aligned with the current IT environment.

  • SB HelpSystems ROBOT Generic IBM announced the E1080 servers using the latest Power10 processor in September 2021. The most powerful processor from IBM to date, Power10 is designed to handle the demands of doing business in today’s high-tech atmosphere, including running cloud applications, supporting big data, and managing AI workloads. But what does Power10 mean for your data center? In this recorded webinar, IBMers Dan Sundt and Dylan Boday join IBM Power Champion Tom Huntington for a discussion on why Power10 technology is the right strategic investment if you run IBM i, AIX, or Linux. In this action-packed hour, Tom will share trends from the IBM i and AIX user communities while Dan and Dylan dive into the tech specs for key hardware, including:

  • Magic MarkTRY the one package that solves all your document design and printing challenges on all your platforms. Produce bar code labels, electronic forms, ad hoc reports, and RFID tags – without programming! MarkMagic is the only document design and print solution that combines report writing, WYSIWYG label and forms design, and conditional printing in one integrated product. Make sure your data survives when catastrophe hits. Request your trial now!  Request Now.

  • SB HelpSystems ROBOT GenericForms of ransomware has been around for over 30 years, and with more and more organizations suffering attacks each year, it continues to endure. What has made ransomware such a durable threat and what is the best way to combat it? In order to prevent ransomware, organizations must first understand how it works.

  • SB HelpSystems ROBOT GenericIT security is a top priority for businesses around the world, but most IBM i pros don’t know where to begin—and most cybersecurity experts don’t know IBM i. In this session, Robin Tatam explores the business impact of lax IBM i security, the top vulnerabilities putting IBM i at risk, and the steps you can take to protect your organization. If you’re looking to avoid unexpected downtime or corrupted data, you don’t want to miss this session.

  • SB HelpSystems ROBOT GenericCan you trust all of your users all of the time? A typical end user receives 16 malicious emails each month, but only 17 percent of these phishing campaigns are reported to IT. Once an attack is underway, most organizations won’t discover the breach until six months later. A staggering amount of damage can occur in that time. Despite these risks, 93 percent of organizations are leaving their IBM i systems vulnerable to cybercrime. In this on-demand webinar, IBM i security experts Robin Tatam and Sandi Moore will reveal:

  • FORTRA Disaster protection is vital to every business. Yet, it often consists of patched together procedures that are prone to error. From automatic backups to data encryption to media management, Robot automates the routine (yet often complex) tasks of iSeries backup and recovery, saving you time and money and making the process safer and more reliable. Automate your backups with the Robot Backup and Recovery Solution. Key features include:

  • FORTRAManaging messages on your IBM i can be more than a full-time job if you have to do it manually. Messages need a response and resources must be monitored—often over multiple systems and across platforms. How can you be sure you won’t miss important system events? Automate your message center with the Robot Message Management Solution. Key features include:

  • FORTRAThe thought of printing, distributing, and storing iSeries reports manually may reduce you to tears. Paper and labor costs associated with report generation can spiral out of control. Mountains of paper threaten to swamp your files. Robot automates report bursting, distribution, bundling, and archiving, and offers secure, selective online report viewing. Manage your reports with the Robot Report Management Solution. Key features include:

  • FORTRAFor over 30 years, Robot has been a leader in systems management for IBM i. With batch job creation and scheduling at its core, the Robot Job Scheduling Solution reduces the opportunity for human error and helps you maintain service levels, automating even the biggest, most complex runbooks. Manage your job schedule with the Robot Job Scheduling Solution. Key features include:

  • LANSA Business users want new applications now. Market and regulatory pressures require faster application updates and delivery into production. Your IBM i developers may be approaching retirement, and you see no sure way to fill their positions with experienced developers. In addition, you may be caught between maintaining your existing applications and the uncertainty of moving to something new.

  • LANSAWhen it comes to creating your business applications, there are hundreds of coding platforms and programming languages to choose from. These options range from very complex traditional programming languages to Low-Code platforms where sometimes no traditional coding experience is needed. Download our whitepaper, The Power of Writing Code in a Low-Code Solution, and:

  • LANSASupply Chain is becoming increasingly complex and unpredictable. From raw materials for manufacturing to food supply chains, the journey from source to production to delivery to consumers is marred with inefficiencies, manual processes, shortages, recalls, counterfeits, and scandals. In this webinar, we discuss how:

  • The MC Resource Centers bring you the widest selection of white papers, trial software, and on-demand webcasts for you to choose from. >> Review the list of White Papers, Trial Software or On-Demand Webcast at the MC Press Resource Center. >> Add the items to yru Cart and complet he checkout process and submit

  • Profound Logic Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application.

  • SB Profound WC 5536Join us for this hour-long webcast that will explore:

  • Fortra IT managers hoping to find new IBM i talent are discovering that the pool of experienced RPG programmers and operators or administrators with intimate knowledge of the operating system and the applications that run on it is small. This begs the question: How will you manage the platform that supports such a big part of your business? This guide offers strategies and software suggestions to help you plan IT staffing and resources and smooth the transition after your AS/400 talent retires. Read on to learn: