• Post Reply Bookmark Topic Watch Topic
  • New Topic

is EJB 3.0 used widely in the industry?

 
zach zhang
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As we know, due to the difficulty of EJB 2.0 and the widely-used Spring related technology, it seems that EJB 3.0 is not widely used as Spring related technology.
When I search some java se job posts, I find that the requirement rarely mention EJB tehnology.

I guess there must be a lot of EJB programmers in this board. Can someone introduce what kind of company use EJB technology nowadays and why? I heard some company build their product
with old EJB stuff many years ago. As the product evolves, they are afraid to transfer their product to spring. Thus, they continue to use EJB.

 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65524
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have worked with web applications from the beginning, and I have never worked for an organization or a client who made the decision to used EJBs. Of course, they are used, but in my experience, not much.
 
Michelle Streeter
Ranch Hand
Posts: 120
Eclipse IDE Flex Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I do not know the answer to this question. But, I have written apps with both EJBs and Spring and so far, with my test computer only having 2Gigs of RAM, EJBs were faster. This makes sense since EJBs are more light weight. I have not tested this with a computer with more resources.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35716
412
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
zach zhang wrote:When I search some java se job posts, I find that the requirement rarely mention EJB technology.

Monster has 244 hits on jobs mentioning EJB and 858 jobs mentioning spring. Hardly rarely.

zach zhang wrote: Can someone introduce what kind of company use EJB technology nowadays and why? I heard some company build their product
with old EJB stuff many years ago. As the product evolves, they are afraid to transfer their product to spring. Thus, they continue to use EJB.

Those companies are on EJB 2.X. Which is an old technology with no migration path. It's just as easy to switch from EJB 2.X to EJB 3.X as it is to switch to Spring. There's nothing wrong with EJB 3. Oracle copies the ideas of Spring they like and use them in the next release. Which means Spring is more cutting edge. Probably why Spring is more popular.

If you see a job mentioning EJBs, check the version. If they are still doing development in EJB 2.X, run. If they want you to know EJB 2.X because the job is to migrate off it, that is ok though.
 
Michelle Streeter
Ranch Hand
Posts: 120
Eclipse IDE Flex Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think prior to EJB 3, people had troubles and moved to Spring. Also, Spring is pretty much POJOs and so its easier to test. I think most companies moved to Spring prior to EJB 3 and that is why you see a much more demand for Spring. I worked for one company who was using Spring and they were still using JBoss 4.0. Even Spring has newer stuff then what they were using. So when you see Spring, its also possible its older code. Also, once people start using something, then others think that must be what they should use too. Personally, I like EJBs better.
 
Claude Moore
Ranch Hand
Posts: 832
7
IBM DB2 Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The company I work for used Ejbs as backbone of all business logic of its ERP( limited to stateless ones) Having used an IDE fully integrated with target appserver, it was never a problem to deal with ejbs.Now, we are migrating to ejb 3 and, well,things are getting ever better. Personally i see no reason not to adopt ejb3. About spring,it'd like to give it a try; i think that spring dues its success, among other aspects, to the fact it's open so you aren't bound by a specific ide + appserver to be proficient with it.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!