• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Does java 10 does not support EJB

Ranch Hand
Posts: 1325
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I heard that java 10 does not support EJB? is it true? If so how can old project continue? do they have to change to open JDK ?
Saloon Keeper
Posts: 12428
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you quote your sources, where does it say that?

I recently ran an EJB application on Java 11 no problems. Maybe they're referring to the fact that some modules were removed from the standard library, and that you have to declare an explicit dependency on them if you want to use them.
Saloon Keeper
Posts: 22656
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EJB support is not and never was part of "Java". EJB is defined by the Java Enterprise Edition spec, which is a completely different document than the base Java spec, and in fact, the JEE spec has been turned over to the Apache Jakarta group and is no longer owned by Oracle.

The JEE spec defines many more things than just EJB. It's also where the spec definitions for servlets/JSPs and JavaServer Faces. And much more. It's highly unlikely to go away anytime soon.

Aside from that, as of the EJB3 edition of the spec (JEE 6), a subset of EJB is defined that can run on reduced-stack servers like Tomcat and Jetty. It's the Java Persistence Architecture, and can not only be used in minimalist servers, but in places completely outside of the webapp server environment. I've used it to write offline (batch) database maintenance utility apps.

With such a large user base, not only can it be expected that EJB will remain an active part of Enterprise Java computing, but if Oracle did attempt to do something that broke EJB - or any other part of JEE - that there would be a loud howling from the user community.
What do you have in that there bucket? It wouldn't be a tiny ad by any chance ...
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic