Top "Java-ee-6" questions

Use this tag for questions relating specifically to Java Enterprise Edition 6.

What is javax.inject.Named annotation supposed to be used for?

I am trying to understand the javax.inject package and I am not clear what the javax.inject.Named annotation …

java spring dependency-injection java-ee-6
A message body writer for Java type, class myPackage.B, and MIME media type, application/octet-stream, was not found

I am new at RESTful webservices and was trying to update my @OneToMany relationship from a standalone client application, but …

web-services rest jersey java-ee-6 jax-rs
Testing an EJB with JUnit

How should I test an EJB 3.1 which gets an instance of EntityManager injected? A possible EJB: @Stateless @LocalBean public class …

jpa jakarta-ee junit java-ee-6
Can't find javax.ws.rs package in jdk

I'm trying to get into JAX-RS. My project jdk is set to 1.7.03. Does there have to be definitions of annotations …

java java-ee-6 jax-rs
Excluding fields in JAXB

I have 2 classes: @XmlRootElement public class A { private Long id; private B b; // setters and getters } and @XmlRootElement public class …

java xml jaxb java-ee-6
How to run an aggregate function like SUM on two columns in JPA and display their results?

I am new to JPA. So my question should be so simple to some. Below is the Simple Query in …

java orm jpa java-ee-6 jpa-2.0
Java EE 6: Target Unreachable, identifier 'helloBean' resolved to null

I am trying to get a simple JSF 2 tutorial example to work. I am using the dynamic web project in …

java jakarta-ee jsf-2 java-ee-6 managed-bean
Unsatisfied dependencies for type [...] with qualifiers [@Default] at injection point (using @Stateful EJB with CDI)

I have the following code to manage two kinds of repositories. Both repository classes inherit an interface to allow reinitialization …

java ejb-3.0 java-ee-6 cdi seam3
Why does maven not copy the properties files during the build process?

Nothing I've found has been able to help me solve this one specific case. I recently switched from a plain …

maven java-ee-6 resourcebundle