File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB Vs Spring

 
Mohamed Farouk
Ranch Hand
Posts: 249
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All
I have used EJBs and I have used Spring for Application development. Now when trying to discuss with out collegues. Some of them argue that EJBs are not required anymore and using spring light weight containers we can establish, transaction, concurrency, lookup and bean support which high end servers can accomplish.

Are they right, In what way does EJB provide use compared to Spring POJOs?

Please provide your 2 cents...

Thanks
 
Mohamed Farouk
Ranch Hand
Posts: 249
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any one to comment?

Would be much appreciated.
 
Anand Kumar Singh
Greenhorn
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes.., they are right, if you will use spring you can get every services
like EJB , without deploying your code , because spring give its own Bean
factory containers, you don�t need to write unnecessary code for Local and Remote interface .
 
Mohamed Farouk
Ranch Hand
Posts: 249
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply and if we deploy a spring application in websphere application server and some free App servers like JBoss what would you think the difference will be in terms of performance.

Assuming same database backend will be used and same clustering is done..

If they will be the same what is the use then to buy these expensive APp servers?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic