Java Enterprise Edition (Java EE) is a specification defining a collection of Java-based technologies and how they interoperate. Java EE specifies server and client architectures and uses profiles to define technology sets targeted at specific classes of applications.

learn more… | top users | synonyms (2)

57
votes
0answers
1k views

How can a JACC provider use the Principal-to-role mapping facilities of the server it's deployed on?

I am writing a JACC provider. Along the way, this means implementing a PolicyConfiguration. The PolicyConfiguration is responsible for accepting configuration information from the application ...
6
votes
0answers
2k views

Embedded Glassfish, security and Arquillian questions

I want to test my EJBs on an embedded Glassfish using Arquillian. The important thing is that I have to have security up because my bean logic does some programmatic security checking ...
4
votes
0answers
182 views

Search users in android tab host

I've written code for TabHost to have values from web service and the values are added to TableRow. But when I search for a user, I am sending the values from spinner and text box to web service and ...
4
votes
0answers
906 views

How do I combine @Asynchronous and Weld/CDI Events and @Observes(during=TransactionPhase.AFTER_COMPLETION) in Glassfish 3.1

First of all let me state, that the following code example worked just fine in GF 3.0.1. The troubles started when we switched to GF 3.1. I'm using a method @Asynchronous public void ...
3
votes
0answers
185 views

CORE3282: stdout: org.xml.sax.SAXParseException: Document root element “taglib”, must match DOCTYPE root “null”

I am getting below error in one of my application - CORE3282: stdout: org.xml.sax.SAXParseException: Document root element "taglib", mustmatch DOCTYPE root "null" Application has only one ...
3
votes
0answers
246 views

How to Clear EclipseLink Query Results Cache from a CDI Interceptor?

I'm using EclipseLink's Query Results Cache: @NamedQuery(name = "User.findAll", query = "SELECT s FROM ...", hints= { @QueryHint(name=QueryHints.QUERY_RESULTS_CACHE, ...
3
votes
0answers
215 views

struts2-core shared dependency between ejb modules

I have an EJB application with the structure below. All dependencies are held in the /lib directory and shared among all web modules. ├── app1_war │   ├── index.jsp │   ├── META-INF │   └── WEB-INF | ...
3
votes
0answers
341 views

(PrimePush) com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes

I am new to PrimePush and want to try it out. I followed this tutorial However, when I run the register.xhtml file, I hit the error of com.sun.jersey.api.container.ContainerException: The ...
3
votes
0answers
198 views

Trying to upgrade to jetty-runner 8.1.5, startup fails on JSTL <%@ taglib %> import of the JSTL standard tags

My actual goal is to get <%@ page trimDirectiveWhitespaces=true %> to work. I'm running my web application with jetty-runner 7.4.2 currently. As a random thing to try, I downloaded a newer ...
3
votes
0answers
766 views

Spring WS and JAXB - Configuring SOAPMessageDispatcher, DefaultMethodEndpointAdapter and MarshallingPayloadMethodProcessor

When working with Spring-WS, the configuration is very minimal because i have always been using annotations. Recently i have been trying to test out how to include attachements in SOAP responses and ...
3
votes
0answers
303 views

primefaces fileUpload miniatures

I want to upload multiple files but after I execute upload the miniature dissapears and I don't know which files I uploaded. Is there a way to keep miniatures with names after uploading?
3
votes
0answers
428 views

Can Java EE 7's core interfaces (EntityManager, …) extend AutoClosable?

I've wondered about, will Java EE 7's core interfaces extends AutoCloseable or not. (By core interfaces I primarily mean EntityManager and the likes, however I don't know for sure if there are other ...
3
votes
0answers
2k views

Apache Tomcat Simple Comet Servlet

I'm trying create very simple Comet Servlet which will push Hello World message to subscribers: @WebServlet("/ChatServlet") public class ChatServlet extends HttpServlet implements CometProcessor { ...
3
votes
0answers
285 views

Understanding the @ConnectionDefinitions annotation in jca 1.6

I cannot find an example that shows a use case for using the plural @ConnectionDefinitions on a ManagedConnectionFactory implementation. What confuses me is that the singular @ConnectionDefinition ...
3
votes
0answers
273 views

Logging for JBoss 3.2.5 Java EE Client

I'm trying to find out why a Java EE client (stand alone Java program that uses jbossall-client.jar) is failing to connect to a Java EE Server so it would be good to enable logging that occurs from ...

1 2 3 4 5 253
15 30 50 per page