• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Framwork or EJB?

 
James Fan
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd like to make an SNS using Java.
I hava gone through the Servlet&JSP , and learned a bit about struts and hibernate, and I'd like to learn these opensource frameworks because they are so simple.

I want to learn spring, struts and hibernate...however I donot know whether I should learn EJB?

 
Amit Ghorpade
Bartender
Posts: 2854
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Wolf Fan " welcome to Javaranch
please check your private messages for an important administrative matter. You can check them by clicking the My Private Messages link above.
 
James Fan
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Amit Ghorpade wrote:"Wolf Fan " welcome to Javaranch
please check your private messages for an important administrative matter. You can check them by clicking the My Private Messages link above.


Ok...I'm a Chinese, and my English name is James Fan.
 
Amit Ghorpade
Bartender
Posts: 2854
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
James Fan
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Amit Ghorpade wrote:
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.


SNS(Social Networking Services) is a website like facebook...

thank you.
 
Joe Harry
Ranch Hand
Posts: 10114
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Amit Ghorpade wrote:
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!
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
James Fan
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you

I actually laughed out loud when I read that. They aren't as simple as you might think.

Hoo...I haven't learnt Spring and I have been told Spring is much easier than EJB. Thank you ,I will try my best to learn it.

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!

OK.


I don't think that Mark Zuckerberg could, at the very first, predict that facebook would be such a large high volume high traffic sites. So which solution he used at first?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic