James Fan wrote:
Ok...I'm a Chinese, and my English name is James Fan.
Thanks for the update.
Regarding your question, I dont know what SNS is but what I know is EJB is a rather heavy architecture and is not usually recommended for small sized applications.
I guess that does not hold true with EJB 3.0 which is much simpler that it's predecessors. But however it is not as simple and easy as Spring is and looks less portable across app servers. May be EJB 3.1 satisfies the shortcommings. But for now, better invest in Spring!
SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
If you look into the architecture of the large social networking sites (MySpace, Facebook, Twitter, etc) you'll notice one thing in common. None of them use true ORM solutions. I've spoken with quite a few large organizations and the consensus within the engineering team seems to always be the same. Hibernate/EJB/Spring is nice but you spend so much time struggling with aspects of the frameworks you don't get anything accomplished.
Again, I'm talking about large high volume high traffic sites. These technologies are (arguably) great for some things but not all. Be sure and keep that in mind if you think you are going to be the next facebook.
and I'd like to learn these opensource frameworks because they are so simple.
I actually laughed out loud when I read that. They aren't as simple as you might think.