The Artima Developer Community
Sponsored Link

Java Answers Forum
why do we use Enterbrise bean instead of java bean on the server??

2 replies on 1 page. Most recent reply: Sep 5, 2002 12:10 AM by Anand B N

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
senthil

Posts: 23
Nickname: rickk84
Registered: Aug, 2002

why do we use Enterbrise bean instead of java bean on the server?? Posted: Sep 3, 2002 4:31 AM
Reply to this message Reply
Advertisement
why do we use Enterbrise bean instead of java bean on the server side component developement,when we know it is costlier than java bean.?Any really important answer for this,?if any what are the advantages of it??


Javed

Posts: 15
Nickname: javedm
Registered: Aug, 2002

Re: why do we use Enterbrise bean instead of java bean on the server?? Posted: Sep 4, 2002 12:38 AM
Reply to this message Reply
EJBs are more costlier when compared to beans, but when it comes to systems which need to have transactions and other services (mostky transactions) EJB is the best answer.

EJB container takes care of the transactions making it transperent to the developer. Developer can concentrate on the business logic leaving behind the complex system programing task.

Anand B N

Posts: 4
Nickname: anandbn
Registered: Aug, 2002

Re: why do we use Enterbrise bean instead of java bean on the server?? Posted: Sep 5, 2002 12:10 AM
Reply to this message Reply
It also pulls the Business logic from your infrastrucutre logic like database pooling etc. It aids component based development and leaves the basic functionalitues to the developer.

Secondly they make Java Beans remotely available. Since all EJBs are invoked thorugh JNDI and RMI they can be deployed on a different machine as against the client. This makes it easy for distributed software systems.

Thirdly, with recent clustering technolgies in the J2EE world, it improves avaialability of the business services very high.

Flat View: This topic has 2 replies on 1 page
Topic: New to Java:  How Do You Average Numbers? Previous Topic   Next Topic Topic: Java & JavaScript, strange things happen...

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use