• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

Does java 10 does not support EJB

 
Ranch Hand
Posts: 1325
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 14499
325
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 26290
186
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Hey! You're stepping on my hand! Help me tiny ad!
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic