Disclaimer to the mods: I have read the rules pertaining to posting in the FAQ. I noticed that we are supposed to reference other threads if they pertain to what we are asking about, but I saw so many that I stopped as it must be general knowledge. If this message belongs in a better forum please move it.
My original question was "Where can I download a detailed example of how to use ejbs,servlets, and jsps in the latest release of Jboss/Tomcat?" After searching all over the web and these forums for hours I came up empty. It appears that many, many other Jboss loyalists came up empty too.
First off, I don't knock Jboss's server at all. Far from it. In fact, I think that the value obtained from Jboss for the price paid is somewhere up around infinity. However, the doc/example issue is hurting many developers who want to help themselves and Jboss succeed. This is what I propose and will volunteer to do:
I want to create a working example of the following that will work on the latest cut of Jboss combined with Tomcat. This would include the sample code, deployment descriptors, and documentation for the following:
1) BMP EJB
2) CMP EJB
3) Session EJB
The tutorial would assume knowledge of ejbs,servlets,and jsps but deal specifically in getting those technologies to work in JBoss/Tomcat.
Call it a quick start guide or whatever name suits it, but this example should be available to whomever downloads Jboss. I have not found anything close to a simple and fast example that just deals with those technologies (Jboss and Tomcat alone). I have found some others, but they either have the wrong files referenced, or use an old and out of date version of either of those two, or use 4 other disparate technologies in the course of their example, etc. JBoss absolutely needs something that is a "building block style" basic tutorial on how to get ejbs, servlets, and jsps working. All the advanced features of Jboss are great but if you can't get a helloworld ejb working because the docs talk about a nonexistent url or deploying on 3.0 when you are working with 3.2 it really doesn't matter to the developer.
So, unfortunately I like many others in the forum are stuck on how to try and accomplish this goal. If one of the Jboss experts who has the knowledge to do the knowledge transfer to me I will:
-build the example
-document it (and most importantly doc it in easy to understand language)
-maintain it (as in keep the document and example up to date)
for the Jboss community to use. Please reply to the post and we can get started on this straight away.
If we do this we can eliminate countless hours of frustration that so many of the people have in this forum and hopefully help Jboss extend its reach.
Q: Where can I download a detailed example of how to use EJBs, servlets, and JSPs in the latest release of JBoss/Tomcat?
A: How to use and deploy EJBs is extensively covered in Richard Monson-Haefel's Enterprise JavaBeans (3rd edition) and the accompanying workbook written by Sacha Labourey and Bill Burke.
The workbook is available here: http://www.oreilly.com/catalog/entjbeans3/workbooks/index.html
And has been updated to match the latest 3.2 release of JBoss.
You can find the forum to discuss the workbook here: http://www.jboss.org/forum.jsp?forum=152
I am just getting started with JBoss and was disappointed to find that the template project described in the current Quick Start Guide doesn't match the code download, as has been noted by others. Unfortunately, sending email to notify the author about the discrepancy doesn't seem to get any response.... Instead, I found helpful emails in these forums.
I also managed to find a helpful tutorial at http://www.roseindia.net/jboss/index.htm. It has 3 parts: 1) ant tutorial, 2) compiling and deploying a JSP and servlet, and 3) compile and deploy a session EJB. Having a series of mini-examples that expand on that would be just great!
Have a look at this site and this might help you in yr learning curve.
Only thing is it uses, Jetty as web continer and HypersonicSQL as DB.
But that will kick strat you. It covers extensively about Xdoclet tags and some J2EE patterns.
Few chapters has been released and rest will be releaesd very soon.
But it has got all types of bean and web components
step by step.
Check it out.
It's really work.Thanks a lot.
I have the same problems as alpine's,new version jboss server with old version documents.So I wasted a lot of time until I saw your guide.
i wrote a small tutorial for starting up on JBoss with Oracle9i, EntityBeans, Stateless Session Beans, JSPs and the webworks framework.
http://www.jboss.org/modules/bb/index.html?module=bb&op=viewtopic&t= you find it useful