Two Laptop Bag*
The moose likes EJB and other Java EE Technologies and the fly likes perfect time to use EJB? 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 "perfect time to use EJB?" Watch "perfect time to use EJB?" New topic
Author

perfect time to use EJB?

Alexander Sales
Ranch Hand

Joined: Feb 21, 2011
Posts: 89

When do we need to use EJB?

How to implement EJB in our code?

what open-source are you combining EJB with?

How to setup EJB's containers?

OCPJP 6, OCEWCD Java EE 6
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336


When do we need to use EJB?

That's your call, but typically when you need services provided by the container. This is an over simplistic answer; because the are alternatives to EJBs that provide the same or similar services, and often you can use container services without needing EJBs, but hopefully you can do a bit of exploring on the back of this and find out more for yourself.


How to implement EJB in our code?

The JEE tutorial covers this.


what open-source are you combining EJB with?

No short answer to this. What specifically do you mean? e.g. what open source containers are prople using? What third party utilities are they using?


How to setup EJB's containers?

As per their documentation.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Alexander Sales
Ranch Hand

Joined: Feb 21, 2011
Posts: 89

No short answer to this. What specifically do you mean? e.g. what open source containers are prople using? What third party utilities are they using?


like JBoss, are there other open source containers that could be used? Btw, Thanks sir Paul
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41108
    
  45
Alexander Sales wrote:like JBoss, are there other open source containers that could be used?

Sure: GlassFish in particular, but also Apache Geronimo, JOnAS, even Tomcat with the help of OpenEJB. WebSphere and WebLogic may also have limited free versions.


Ping & DNS - my free Android networking tools app
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Have a read of this. A bit out of date, but does list most application servers.
Alexander Sales
Ranch Hand

Joined: Feb 21, 2011
Posts: 89

cool!

i'll go try one of those. Which is recommended and most malleable to use, also good for slow pc?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41108
    
  45
I think JBoss and GlassFish would be the ones that are easiest to get help with online. GlassFish is also the JEE reference implementation, so it's always up-to-date.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38007
    
  22
. . . and welcome to the Ranch
Alexander Sales
Ranch Hand

Joined: Feb 21, 2011
Posts: 89

Thanks

and Also for the warm welcome
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: perfect time to use EJB?
 
Similar Threads
How to use Left outer join in EJB 3.0
How I can use RMI with EJB?
What can be an EJB client
EJB-QL IS MEMBER OF
What is EJB ?