Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB use

 
Dura Hurtado
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am a beginner in EJB, and I am studing for get my sun certification ,but I don´t know when use it in a real project where we could use it.

For example if you have several servers in different places, you can share the weigth of the app, putting a bean in each server.

¿Someone knows a real situation where EJB are needed?, for example I am developing a project for an assotiation which has a web for Spain and from that web
manage spanish projects, but also has another projects in Bulgaria then ¿could be a good idea use EJB for share in one EJB Bulgarian projects and in another Spanish project,
with the capability of visualize all from an unique view?

Thanks in advance.
 
Joe Ess
Bartender
Posts: 9279
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Wikipedia article on EJB's has a good high-level summary of what they are and how they are used. In order to determine if they are applicable to a particular situation, you'll need to understand features EJB's offer and what alternatives there are (other ORM's like Hibernate, other frameworks like Spring, etc.)
 
Sib Pete
Greenhorn
Posts: 26
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Joe, thats a very good link for a quick intro on EJBs. I was about to start typing out a long winding post on what EJBs are, the different types, when they should be used, etc., but thankfully I decided to take a quick look at the wiki link and it pretty much did a much better job than I could of answering the question. Thanks for the link
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic