aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Difference between normal method and EJB Method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Difference between normal method and EJB Method" Watch "Difference between normal method and EJB Method" New topic
Author

Difference between normal method and EJB Method

Ast Dayana
Greenhorn

Joined: Oct 12, 2012
Posts: 2
Hi All,

Can anyone tell what is the differnence between hitting normal business method like (addition) and same method in EJB..

Thanks.....

Ranganathan Kaliyur Mannar
Bartender

Joined: Oct 16, 2003
Posts: 1075
    
  10

Hi Ast,
Welcome to the Ranch!

When you run a normal program and hit a method, all this happens within the same program (same JVM, same machine).
With EJB you have the ability to write a program and make it available over the network. The advantage is that you can build 'distributed' applications which can be re-used.
On top of this, EJBs come with lot other stuff like Scalability, Security, Distributed transactions etc.


Ranga.
SCJP 1.4, OCMJEA/SCEA 5.0.
Ast Dayana
Greenhorn

Joined: Oct 12, 2012
Posts: 2
Hi Ranganathan,

thanks for helped me out..
Ranganathan Kaliyur Mannar
Bartender

Joined: Oct 16, 2003
Posts: 1075
    
  10

You're welcome.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Difference between normal method and EJB Method
 
Similar Threads
JINI vs EJB
business methods & EJBHome interface
what is the difference between EJB 2.0 and EJB 2.1?
difference between Ejb Server & EJB Container?
how to call an EJB from another EJB(both are in different jar files)