• Post Reply Bookmark Topic Watch Topic
  • New Topic

Where are the bean providers?  RSS feed

 
joseph huang
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The whole point of EJB's is to primarily promote code reuse. So where are the bean providers that are suppose to provide us with beans already debugged and tested in production? I couldn't find any for my life and I was ready to pay for them, because I sure wasn't about to write a shopping cart or accounting application from scratch! I checked out the open source solutions like Compiere and discovered they don't even use entity beans, only session. Is anybody using ejbs in the way we're suppose to? Is everybody writing their own ejbs? what's up?!

Btw, thanks Kathy for this site and Head first series. Love it.
[ November 24, 2005: Message edited by: joseph huang ]
 
Valentin Tanase
Ranch Hand
Posts: 704
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Joseph,


The whole point of EJB's is to primarily promote code reuse.

Correct. However it just doesn�t happen in practice or at least I�ve never seen it happening so far. The explanation I guess is that EJB designers thought that business components could be reused in the same manner that Microsoft developers use Windows GUI components using OLE/COM technologies. Practice on the other hand had proven them to be wrong. The tough question in my opinion is how would J2EE look these days if EJBs were not designed as heavyweight server components? It probably wouldn�t require a third major refactoring...
Regards.
 
joseph huang
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I did some research, and apparently, there are a lot of problems with the EJB 2.0 spec, causing a lot of negative sentiment towards EJBs. Hopefully the new 3.0 spec will address a lot of problems with EJBs. Let me post the url to the presentation given last year by Sun showcasing the radical changes made for the new 3.0 spec. Select EJB 3.0 Work in progress after clicking on the link below:

web page

I suggest not embracing or even learning EJBs yet, or at least not 2.0, for at least a couple of years if you're a beginner like myself until the spec becomes mature and tool vendors have implemented the new 3.0 spec, and finally after the java community has given it its approval. From the presentation though, I gather that EJBs will be the wave of future software development, but not right now. I guess I answered my own question.

[ November 26, 2005: Message edited by: joseph huang ]
[ November 26, 2005: Message edited by: joseph huang ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!