Questions tagged as 'java-ee'

1
answer

How to map a html page in Spring MVC

I have a Spring MVC project that will provide the rest service for the front end. But when creating a page .html the project does not recognize it and always 404. Does there any configuration that I should do more for spring mvc to recognize .ht...
asked by 18.08.2016 / 01:19
0
answers

Json returns empty (web service with jersey)

I'm developing a web service using Jersey and Json returned by one of the methods is coming empty. The strangest thing is that the other methods are following the same logic and are working properly. I made a debug and checked that the data is r...
asked by 11.08.2016 / 01:14
0
answers

CDI beans within .jar file are not found by the container (Unsatisfied dependencies)

I created a Java project to serve as lib to other projects, reducing duplication of code between projects. This lib project is exported to jar to be included in Web projects. In Web projects (where these classes are being removed) everythin...
asked by 24.08.2016 / 00:35
1
answer

How to read properties file to configure JPA?

I have a .properties file to set up the bank for my project. But I can not read the file. Does anyone give a force? EntityManagerProducer @ApplicationScoped public class EntityManagerProducer { private EntityManagerFactory factory; p...
asked by 09.08.2016 / 14:31
2
answers

JSF - How to pass a Bean function as an argument to a function in JavaScript?

I would like your help. I am developing a system in JSF, and I have the following need: I would like to pass a bean function as an argument to a function of mine in JS, so that I determined future moment I can call such a function. For example:...
asked by 02.08.2016 / 04:33
1
answer

EJBS overflow on ManagedBean

Good morning, I have a question as to how Container works in EJBS injection will the amount of EJBS injected into the ManagedBean interfere significantly with application performance?     
asked by 04.05.2016 / 15:10
1
answer

Maven Spring Project MVC + JPA

I'm new to Spring MVC, I created an Maven sample project for Spring MVC using Hibernate and JPA. I found some problems when setting up persistence.xml but I was not able to use dartasource managed by jboss, I left that aside, now when I try to g...
asked by 13.03.2016 / 22:34
0
answers

Digital Certification A3 [closed]

Recently I was engaged in the development of an application that should use Certificação Digital A3 using token . I have no experience with digital certifications and wanted to know how to start with digital certifications type step...
asked by 16.02.2016 / 21:53
0
answers

Problem with table generation (tutorial algaworks) [closed]

I'm reading the Java EE 7 book, with JSF, primefaces and CDI. I got the configuration part of hibernate, but I'm having problems. I configured my application in a J2EE environment, with JSF and etc and using WildFly as Server. After configuring...
asked by 11.02.2016 / 13:52
3
answers

How to make a simple download in JSF? [closed]

How to make a simple JSF download? I have a list of attachments in <p:dataTable> and would like to implement a simple download. I implemented with <a href> , the link on the file name was created, but when I click it...
asked by 09.11.2015 / 13:17