Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Java 7 SE have support for EJB?

If I want EJB 3.0 support and want to run Java 7, do I need Java EE or can I stick with SE?

In the past (many JDK versions ago), one needed the "J2EE" version of the JDK to run EJB. It would appear this is no longer true. Please advise.

UPDATE: I should have mentioned that the application will be running inside Oracle WebLogic 10.3.6.

like image 748
BestPractices Avatar asked Oct 02 '12 18:10

BestPractices


1 Answers

EJB is part of Java EE. But if what you want is JPA, even though the API is included within Java EE (here's the API documentation) you don't need a Java EE application server for JPA anymore (unlike the situation with EJB entity beans). JPA can be used with Java SE.

If you're running this in Weblogic then you have access to Java EE, so I don't get the point of the question.

like image 90
Nathan Hughes Avatar answered Sep 20 '22 20:09

Nathan Hughes