File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes EJB use Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB use" Watch "EJB use" New topic
Author

EJB use

Dura Hurtado
Ranch Hand

Joined: Feb 16, 2011
Posts: 120
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

Joined: Oct 29, 2001
Posts: 8907
    
    8

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


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Sib Pete
Greenhorn

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