aspose file tools*
The moose likes Other Application Frameworks and the fly likes Framwork or EJB? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Framwork or EJB?" Watch "Framwork or EJB?" New topic
Author

Framwork or EJB?

James Fan
Greenhorn

Joined: Feb 26, 2009
Posts: 7
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

Joined: Jun 06, 2007
Posts: 2716
    
    6

"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.


SCJP, SCWCD.
|Asking Good Questions|
James Fan
Greenhorn

Joined: Feb 26, 2009
Posts: 7
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

Joined: Jun 06, 2007
Posts: 2716
    
    6

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

Joined: Feb 26, 2009
Posts: 7
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

Joined: Sep 26, 2006
Posts: 9521
    
    2

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!


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!
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

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.


GenRocket - Experts at Building Test Data
James Fan
Greenhorn

Joined: Feb 26, 2009
Posts: 7
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Framwork or EJB?