This week's book giveaway is in the NodeJS forum.
We're giving away four copies of Serverless Applications with Node.js and have Slobodan Stojanovic & Aleksandar Simovic on-line!
See this thread for details.
Win a copy of Serverless Applications with Node.js this week in the NodeJS forum!
  • 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
  • Bear Bibeault
  • Jeanne Boyarsky
  • paul wheaton
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Ron McLeod
  • Tim Moores
  • salvin francis
  • Carey Brown
  • Tim Holloway
  • Frits Walraven
  • Vijitha Kumara

Does java 10 does not support EJB  RSS feed

Ranch Hand
Posts: 1312
  • 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: 9997
  • 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.
Posts: 20576
Android Eclipse IDE 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.
get schwifty. tiny ad:
global solutions you can do at home or in your backyard
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!