Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is EJB still alive?

Do you still use session or entity EJBs in your project? Why?

like image 434
Mikael Mechoulam Avatar asked Sep 20 '08 17:09

Mikael Mechoulam


People also ask

What replaced EJB?

The Spring Framework is an application framework and IoC container for the Java platform. The framework was initially created as an alternative to EJB. Spring offers modular approach to adding new functionalities, which means that developers can use only parts they're interested in.

How old are EJB?

Enterprise JavaBeans (EJB) is a specification for developing large-scale, distributed business applications on the Java platform. EJB 1.0 was released in 1998.

Why did EJB fail?

Some common causes are global JNDI name conflicts, classnotfound errors, and configuration errors for resources needed by the EJB. Solution: If the EJB has a Remote view, check that its JNDIname does not clash with any other EJB's JNDI name or any other globalJNDI name.

Do people still use Java Beans?

Well, EJB is certainly alive and very well in Java Persistence Architecture (JPA). JPA is a subset of the EJB3 standard.


2 Answers

EJB3 is a vast improvement over previous versions. It's still technically the standard server-side implementation toolset for JavaEE and since it now has none of the previous baggage (thanks to annotations and Java Persistence), is quite usable and being deployed as we speak. As one commenter noted, JBoss SEAM is based upon it.

EJB 3 is a viable alternative to Spring, and the two technologies may become more tightly related. this article details that Spring 3.0 will be compatible with EJB Lite (which I'm not sure what that is, exactly) and possibly be part of Java EE 6.

EJB is not going anywhere.

like image 134
davetron5000 Avatar answered Oct 19 '22 02:10

davetron5000


We're working with EJB here and it works quite well with JBoss Seam and JSF, Faclets and MyFaces Trinidad. Good UI, Templating, AJAX and stable production 24/7 running on JBoss 4.2.

It's a good stack for business processes, workflows, messageing, webservices and ui control. Fast delivery of features, easy programming and stable ground based on entitybeans with mysql persistance.

I don't want to miss the featureset of EJB 3 for the tasks our product demands.

like image 36
GHad Avatar answered Oct 19 '22 03:10

GHad