Questions tagged [java-ee-7]

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

Java Enterprise Edition 7 (JEE7) is a specification defining a collection of Java-based technologies and how they interoperate. JEE7 incorporates the features of technologies of JEE6, including EJB3, JPA, JSF, CDI, etc. and adding new features like WebSockets, etc.

Numerous implementations are available in the form of both commercial products and open source projects.

Information

This tag is specific for the Java EE 7 version. See the tag for general Java EE questions.

Useful links

1224 questions
8
votes
2 answers

Weblogic 12c and Java EE 7 Features

As we know, WebLogic Server 12c supports natively Java EE 7. However, if we take a look at the WebLogic 12c documentation of standards there will be a lot of versions differences. Such as: Java EE 7: Servlet 3.1, JPA 2.1, EL 3.0, JAX-RS 2.0, EJB…
José
  • 83
  • 1
  • 1
  • 3
8
votes
3 answers

Java EE 7 Compatible servers?

I am using JAVA SE 1.7 and JAVA EE 7 in project, what are all the available servers(commercial/free) which will support JAVA EE 7 web profile 2.1?(Required Components). I need to use Servlet 3.1 and CDI 1.1 ..etc. javaee-spec_WebProfile I try to use…
Chandra Sekhar
  • 16,256
  • 10
  • 67
  • 90
8
votes
1 answer

How to test login/authentication with Arquillian - Java EE 7

We have a Java EE 7 application and use Arquillian to test stuff. Now we want to check for some permissions of the currently logged in user. My question is quite basic, how do I login a user when inside a testcase? I have read ProgrammaticLogin…
bmurauer
  • 989
  • 8
  • 24
8
votes
3 answers

How to install Java 7 EE SDK download as .sh file for Mac OSX

I am new to developing Java on Mac OSX. I wanted to download the Java 7 EE SDK so I could both desktop/mobile/enterprise development with Java. The download file is .sh (specifically java_ee_sdk-7-jdk7-macosx-x64) which I am not familiar with. The…
webworm
  • 10,587
  • 33
  • 120
  • 217
7
votes
1 answer

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 interfaces or classes that could potentially be…
Kohányi Róbert
  • 9,791
  • 4
  • 52
  • 81
7
votes
4 answers

Could not initialize class org.eclipse.persistence.jaxb.BeanValidationHelper while trying to get JSON response

I am making application using JAVA EE,JAX-RS,JPA,GLASSFISH. Response is working properly in case of MediaType.APPLICATION_XML. It's not working in MediaType.APPLICATION_JSON. Here is my pojo class @Entity @XmlRootElement public class Book { …
c__c
  • 1,574
  • 1
  • 19
  • 39
7
votes
1 answer

Attaching query parameters in a ClientRequestFilter

I simply need to attach query parameters onto an outgoing request. (Java EE 7.0, JAX-RS 2.0) In specifics, I currently using the RESTeasy Client ver 3.0.14, so I make my calls using the fancy interface-proxy system. I was attempting to produce…
Kevin Thorne
  • 435
  • 5
  • 19
7
votes
1 answer

injectionPoint.getBean() returns null if bean is an EJB bean in Java EE 7 (CDI 1.1)

I want to get bean from producer method in order to read its properties. In some scenarios the bean is a EJB Singleton bean. I've simplified my code to focus on the problem. My simple qualifier: @Qualifier @Retention(RUNTIME) @Target({TYPE, METHOD,…
A.Panzer
  • 391
  • 3
  • 15
7
votes
2 answers

Can I develop Java Enterprise application in IntelliJ Community Edition?

I want to develop application in Java Enterprise and Google Web Tool using IntelliJ Idea Community Edition. Is it possible? Or I have to Buy Ultimate Edition.
7
votes
1 answer

Warning: JACC: For the URL pattern xxx, all but the following methods were uncovered: POST, GET

In javax.faces.webapp.FacesServlet docs, it is mentioned, Allowable HTTP Methods The JSF specification only requires the use of the GET and POST http methods. If your web application does not require any other http methods, such as PUT and…
Tiny
  • 27,221
  • 105
  • 339
  • 599
7
votes
1 answer

How to list all JNDI entries in "java:global" namespace

Goal is to list all the JNDI entries programmatically. new InitialContext().list("java:global") doesn't work. EJB 3.1, Wildfly or Glassfish 4
anergy
  • 1,374
  • 2
  • 13
  • 29
7
votes
1 answer

How to inject an interface implementation?

I have the following interface public interface IMyMapper {} and the implementation public class MyMapper implements IMyMapper {} Now I want to inject the class MyMapper into a Stateless bean: @Stateless public class MyService { …
flash
  • 6,730
  • 7
  • 46
  • 70
7
votes
1 answer

Java EE CDI Interceptor not working when annotation has parameters

I want to write a CDI interceptor. The interception works well if my annotation only contains 1 parameter but breaks if 2 parameters are used. The question is why? The interceptor class: @Monitored @Interceptor @Priority(APPLICATION) public class…
flash
  • 6,730
  • 7
  • 46
  • 70
7
votes
1 answer

CDI + managed concurrency in Java EE 7

I'm implementing an application-scoped service (to be further injected into JAX-RS/JAX-WS service or a servlet, does not matter) which would spawn some processing via ManagedExecutorService or ManagedThreadFactory. Inside processing code (a Runnable…
Dimitri
  • 301
  • 2
  • 13
7
votes
6 answers

JSF 2.2 interpret empty string submitted values as null not working

I have migrated from Java EE 6 to Java EE 7, and now with JSF 2.2 the context param INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL seems not work. In JSF 2.1 I set it to "true" and it works perfectly, but now I get always blank…
onsm7
  • 161
  • 2
  • 2
  • 3