This week's giveaway is in the Beginning Java forum.
We're giving away four copies of Bad Programming Practices 101 (e-book) and have Karl Beecher on-line!
See this thread for details.
Win a copy of Bad Programming Practices 101 (e-book) this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB or Spring is better for high transaction application ?  RSS feed

 
Ranch Hand
Posts: 798
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Spring framework could be good option for a high volume, high transaction (30 millions transaction per month) application ? or which one, EJB and Spring, is better for this requirement ?

Thanks.
 
author
Ranch Hand
Posts: 580
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Edward,

This question has been addressed here in the near past, please take a look at past posts. To summarize, either is a fine option and it really depends on you.

EJB does have some specific features such as pooling, bandwidth throttling, caching, passivation, clustering, replication, load-balancing, fail-over, thread-safety, server-resource optimization, messaging and remote tier separation that are more geared towards extremely high-load systems. However, I have seen both EJB and Spring systems that have been made scalable through various mechanisms, some with more customizations/configuration that others depending on the technology chosen.

I think the choice is ultimately a matter of personal taste. Many people comment that EJB 3 is more stream-lined, very annotation driven, has a shorter learning curve and is easier to work with out of the box. Others like the more fine grained control/configuration and broad integration with standard/non-standard technologies that Spring offers. Some prefer to work with standard technologies with multiple competing implementations. Others strongly associate Spring with open source and are skeptics of the standards process.

I personally prefer an architecture integrating both EJB 3 and Spring on an as-needed basis. I have recently presented on this topic in TSSJS and the talk was very well received. You can look up the material on the web.

Hope it helps,
Reza
 
We're all out of roofs. But we still have tiny ads:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!