WHY DO WE PREFER EJB?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   ALEX_SELVIN
Posted On:   Sunday, January 11, 2004 11:34 PM

			
WHY DO WE PREFER EJB?
HOW CAN WE FIND THE RIGHT APPLICATION TO USE EJB?


Please use html tags to format code blocks.

Re: WHY DO WE PREFER EJB?

Posted By:   Javed_Mandary  
Posted On:   Monday, January 12, 2004 01:50 AM


One of the main reasons to use EJB would be portability if you develop your application using EJB you are sure it will work over any system supporting a JVM. As it is the case with most EJB-CMP developments your application can be plugged to any Database supported by your EJB container as it the container which makes the connection to your Database. So you get to sell your application to clients working on different environments and using different dbs.

One more issue is scalability , if you are to deal with a large amount of transactions normal scripting languages like ASP, PHP, etc.. may cause system breakdown or crash, here EJBs can provide stablility and scalability to your application.

But it should be advised that EJB demand much more coding time than ASP , PHP or JSP. You may need to invest more time , money and effort in EJB development than the above mentioned scripting languages. Furthermore its is harder to find developers having the expertise in Enterprise Java Beans and knowledge of J2EE design patterns. Thus you might consider investing more money in training for your developers.

My suggestion is that you go for EJB for large projects and only if you have the necessary ressources.

Javed Mandary

Mauritius
About | Sitemap | Contact