Questions tagged [java-ee-6]

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

Java Enterprise Edition 6 (JEE6) is a specification defining a collection of Java-based technologies and how they interoperate. JEE6 incorporates a set of technologies, including EJB3, JPA, JSF, CDI, 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 6 version. See the tag for general Java EE questions.

Useful links

2030 questions
0
votes
0 answers

How to avoid this WARN service=EJB3 is unconfigured, using legacy resolve? JBoss5.2

Environment: java 7 javaee 6 jboss eap 5.2 EJB3 WARN [org.jboss.injection.EJBRemoteHandler] EJBTHREE-1828: EJBInjectionContainer jboss.j2ee:ear=name.ear,jar=backend.jar,name=ClassNameService,service=EJB3 is unconfigured, using legacy…
Joe
  • 7,749
  • 19
  • 60
  • 110
0
votes
1 answer

Sorting dynamic localized data

I've been working on a Java EE 6 project (EJB 3.1, JSF 2, JPA 2) for some time now and I cannot figure out a good way to sort dynamic localized data. With dynamic localized data, I mean a user created object with a name in one or several languages.…
Rasmus Franke
  • 4,434
  • 8
  • 45
  • 62
0
votes
1 answer

JSR303 ConstraintValidator, how to show the message without an error page

Im working with JSF 2.0 and Glassfish v3. I was testing the functionality of JSR303 bean validation, so I created a validator which implements ConstraintValidator and then annotate that on a property wich I want to validate. It works fine, but it…
eav
  • 2,123
  • 7
  • 25
  • 34
0
votes
1 answer

jboss-deployment-structure Error injecting persistence unit

First, this is the same problem as JBAS016069: Error injecting persistence unit into CDI managed bean.” When deploying WAR with dependency to EJB-JAR But there is no answer there :( and I don't have enough point to comment and my request is not an…
Lbro
  • 309
  • 2
  • 16
0
votes
1 answer

Get values from Class that will be created dynamically

I am trying to get values from a class in another class which will be created dynamically and also methods too. Check these examples i've gone through . InterfaceA.java public interface InterfaceA{ public ArrayList
0
votes
0 answers

How to handle EJBException in cases where execution should continue

I have a question about how to handle EJBExceptions in some special cases. General situation In our application an EJB (3.0) DataAccessObjects(DAO) are responsible for all database access, these are used in other parts of the application.…
Thirler
  • 20,239
  • 14
  • 63
  • 92
0
votes
1 answer

How to replace annotation @Dependent and @ApplicationScoped in java SE and jersey?

I use java 8 SE and jersey. I found example of jwt service here, there is used java 6 EE. Does someone know about analogs of this annotations or other solution of this problem?
0
votes
1 answer

Java EE 6 Study Material

I'm looking at doing one of the Java EE 6 certifications but I'm struggling to find out what study material is available to meet the exam objectives. Other certifications I've done I have just bought a book to prepare for the exam. The company I…
julz256
  • 2,222
  • 1
  • 15
  • 12
0
votes
1 answer

How to profile JavaEE-REST endpoint with JProfiler 10

I use JProfiler 10 to profile a call to a JavaEE REST endpoint, that serializes into JSON. My guess is that a lot of time is spent with serialization. When I start recordings for the call tree then the serialization overhead is not included in the…
Alex
  • 41
  • 6
0
votes
1 answer

Ajax request fails in JBOSS EAP 7.1 in Java EAR application

I've EAR applications which run fine in JBOSS EAP 6.3. When I run this application in EAP 7, then ajax call response is empty after few call. Mainly jsp page calls servlet using ajax. I use common code snippet for AJAX call. I can get response…
0
votes
1 answer

Glassfish doesn't bring up EntityManager if DAO is not Stateless

I have an EAR application with an EJB module, that contains one persistence unit and many EJBs (as service and DAO layer). @Stateless public class BranchDAO { @PersistenceContext private EntityManager entityManager; } But DAOs as Stateless…
Otávio Garcia
  • 1,372
  • 1
  • 15
  • 27
0
votes
0 answers

Migrating a Maven JEE 7 Project to JEE 6

There is a requirement for one of our apps built as a Maven JEE 7 project (which typically runs on Jboss AS7) to be able to run on Jboss AS6 and effectively converted to a JEE 6 project. I am assuming that a simple change to the maven…
javshak
  • 179
  • 2
  • 15
0
votes
1 answer

How to use @SecurityDomain in Jboss 6?

In my standalone-full.xml I got this security-domain:
user2902165
  • 303
  • 2
  • 14
0
votes
1 answer

Looping array of only two object to assign to the Map?

I was trying to work on an example to loop the array of objects which are only just two objects, and getting the values to assign it to the map by the setting key and the values fetched from the array object. How can i differentiate the object 1 and…
Sam
  • 127
  • 2
  • 15
0
votes
1 answer

Get JMS message receipt time

Is there any method/api to get JMS message receipt time (Not delivery, Not publish timestamp) ? Or i need to fix it manually in onMessage(Message msg) method ?
uptoyou
  • 1,427
  • 19
  • 24
1 2 3
99
100