LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-21-2006, 07:33 AM   #1
dickgregory
Member
 
Registered: Oct 2002
Location: Houston
Distribution: Arch, PCLinuxOS, Mint
Posts: 257

Rep: Reputation: 34
EJB 2.1 vs 3.0


I'm planning a project that I think will benefit from distributed components. I started learning J2EE in anticipation developoment. The benefits of using enterprise javabeans looks like just what I need.

The question is whether I should look at EJB 2.1 or 3.0. Version 2.1 seems to be very complicated, and I am having diffulty understanding how to glue everything together. Version 3.0 claims to be much simpler but I don't know if it is mature enough to use in a production application.

The second question is which server to use if I go with 3.0. According to my research the prominent players are currently JBoss and Glassfish. Or are there others? I prefer open source solutions. I need something I can learn to use now, begin development in a couple of weeks, and be mature enough for production in six months.

Opposing opinions are welcome as long as they are not on fire.
 
Old 02-22-2006, 04:04 PM   #2
Vagrant
Member
 
Registered: Nov 2001
Posts: 75

Rep: Reputation: 15
JBoss is definitely the route to go. The JBoss page for ejb 3.0 is:

http://www.jboss.org/products/ejb3

There are plenty of others but I think JBoss is considered the cream of the crop, especially of the Open Source solutions. For you it would probably be wise to begin with 3.0 so you arenot migrating later.
 
Old 02-23-2006, 10:50 AM   #3
dickgregory
Member
 
Registered: Oct 2002
Location: Houston
Distribution: Arch, PCLinuxOS, Mint
Posts: 257

Original Poster
Rep: Reputation: 34
Thanks for the reply. I installed JBoss yesterday. I also installed Eclipse and the JBoss IDE for Eclipse, and spent about 3 hours on the tutorial. I think I like Netbeans better if I can figure out how to integrate it with JBoss.
 
Old 02-23-2006, 02:47 PM   #4
Vagrant
Member
 
Registered: Nov 2001
Posts: 75

Rep: Reputation: 15
No problem, of all the Java IDEs, I prefer Netbeans. JBuilder is horrible rubbish that ... well let's not go down that road. =) Check out this article for Netbeans + JBoss :

http://www.netbeans.org/kb/50/jboss-...g-started.html
 
Old 02-23-2006, 03:02 PM   #5
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
You may want to consider installing GlassFish as an application server with Netbeans.
 
Old 03-01-2006, 02:33 PM   #6
dickgregory
Member
 
Registered: Oct 2002
Location: Houston
Distribution: Arch, PCLinuxOS, Mint
Posts: 257

Original Poster
Rep: Reputation: 34
Thanks for the replies. I am now happily using NetBeans with JBoss. I am still using ee 2.1 because I want it on my resume. I still have to do manual entries to the container specific configs until I figure out how to generate stuff automatically. I guess I needed to know how to do all that stuff anyway.

It turned out that the biggest learning issue was all of the conf files and such. As soon as I thought I had cleared one obstacle, another one would pop up which took several hours to figure out. Most of the tutorials seem to be very silent on an configuration different than the one the examples use, so I had to dig out docs from all over the place and get a piece at a time and try things until I understood them or got them to work accidentally.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't locate ejb via jndi - Please help dickgregory Programming 1 02-21-2006 05:31 PM
EJB: Problem with concurrent calls to EJBs (according to JBoss) eantoranz Programming 0 03-14-2005 11:10 AM
EJB: Problem when creating entity beans eantoranz Programming 1 03-08-2005 08:58 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration