Category "jakarta-ee"

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

wsimport fail with maven

I'm trying to create an ssl webservice client using maven and netbeans(7.2). The webservice is perfectly working and I test it using an ant project. When I try

wsimport fail with maven

I'm trying to create an ssl webservice client using maven and netbeans(7.2). The webservice is perfectly working and I test it using an ant project. When I try

DERBY SQL error: ERRORCODE: 40000, SQLSTATE: XJ041, SQLERRMC: Failed to create database 'sun-appserv-samples'

I'm following the first cup tutorial, but I'm stuck at the end of chapter 4 with this exception: java.sql.SQLException: Error in allocating a connection. Ca

WELD-001408: Unsatisfied dependencies for type Customer with qualifiers @Default

I'm a Java EE-newbie. I want to test JSF and therefore made a simple program but can not deploy it. I get the following error message: cannot Deploy onlineshop

Arquillian and TimerService

So I have an EJB that has a @Schedule annotated method, and I want to test it using arquillian, what I can easily do invoking the method directly, but because t

JPA, get all elements

I'm using JPA and I get all elements from DB in this code: factory = Persistence.createEntityManagerFactory(PERSISTENCE_UNIT_NAME); EntityManager em = factory

How to force jboss to load classes from jars in webapp's lib

I am trying to deploy my web application on jboss-6.0.0Final, which is currently deployed on apache tomcat. I have two jars one that contains same package which