Category "jakarta-ee"

What is the difference between @EJB of JEE and @Autowired of Spring?

What is the difference between @EJB of JEE and @Autowired of Spring Framework? Are those the same thing? And if not, which are the differencies? I have seen t

Wildfly 26 changed behaviour of REST with content type "x-www-form-urlencoded"

while updating from Wildfly version 24 to version 26 I found an anoying change within REST. If I post with curl some data, it is just not received on the server

Encountered invalid @Scheduled method 'methodName': Only no-arg methods may be annotated with @Scheduled

plz I don't know wath is the exact problem in the code if I add Scheduled annotatiçon in my code suddenly this error appears if you have any soulustion p

How to maintain accordionPanels in the same order?

I'm using accordionPanel in Primefaces. When I refresh the page the order changes! For example: I have 1,2,3 then they become 2,3,1 or 3,2,1 ! The order of the

Glassfish won't start version 3 and 4

I still having the same problem with glassfish !! I've changed the port and executed the command as admin but it doesn't work.. I also tried the command : asad

Replacements for deprecated JPMS modules with Java EE APIs

Java 9 deprecated six modules that contain Java EE APIs and they are going to be removed soon: java.activation with javax.activation package java.corba with ja

Unable to access an app deployed in wildfly using IP address of the system

I have deployed the the java webapp on the server successfully with desired changes in the standalone.xml file. for your information, OS platform is Windows 10

Is there any reason to use stateful EJB in a CDI session scoped bean

I am experimenting with Jakarta EE and Jakarta Faces (JSF). I just made a CDI named session scoped bean (as JSF managedBean's are deprecated now), and was wonde

Adding a value to an empty dataTable results in javax.el.PropertyNotFoundException

I got a dataTable and I am trying to add entries to the backing ArrayList of the given table. SelectedStep is null after the component is loaded. All Getters an

Java EE FirebaseApp name [DEFAULT] already exists

I got a problem related to Firebase and Java EE. I'm currently writing some Java servlets for my project and I'm using Firebase the first time because I wanted

Error : Need to specify class name in environment or system property

I'm new in development of Java EE applications and I'm really confused about this. I've found so many answers but I can't resolve my problem. This is the error

Old javax libraries compatibility with jakarta

I updated my java project with the latest Java JDK and Tomcat 10. The new libraries use jakarta and you need to rename all your javax. to jakarta... The librari

Jersey: Disable automatic Wadl Generation for OPTIONS request without using a web.xml file?

I want to accomplish the same thing as this question: Disable automatic Wadl Generation for OPTIONS request, but we don't have a web.xml file. We also make use

Migrate from javax to jakarta ee

So I have a small application (not running in a web container) that uses some javax.* classes running on jdk8. The time has come to upgrade to jdk17. So I thoug

Handle WildFly component shutdown gracefully

How do I implement a service inside a war-container deployed on wildfly that is able to gracefully shutdown? I have the following example code: SomeService.jav

Jakarta EE Security - Using Multiple Identity Stores / Passing Requested Role

I have an app with multiple user types (roles), each stored in different tables in the same SQL DB and each has its own login page. To implement this using Jaka

How to configure/disable file caching in WebLogic 12.2

I'm working with WebLogic 12.2.1.3 and I know any web files (jsp, js, css etc) are cached by default in these two locations: ORACLE_HOME/user_projects/domains/y

EJB 3.1 Binding does not work on Websphere Application Server

I want to call a local Stateless-EJB from on ejb project from another singleton-EJB in another ejb-project. Both EJB-Projects are in the same ear file. The Appl

Jersey REST get returns java.lang.NoSuchMethodError

I'm trying to get a response from a working REST webservice. I have come up with the following looking at the documentation: void postRest() { Client clie

Where are all the javax jars?

Edit: several fellow SOers have recommended just going to Maven repos, which of course have nothing to do with using Maven as part of one's build. I understand