Questions tagged as 'java-ee'

1
answer

Ignore field when converting to JSON in a REST service in JAVA EE

I have the following code: @Path("alumnos") public class AlumnosController { @GET @Produces("application/json") public List<Alumno> getAlumnos() { List<Alumno> alumnos = new ArrayList<Alumno>(); alumnos.add(new Alumn...
asked by 14.11.2016 / 20:27
0
answers

JAAS JDBCRealm with JPA entities does not work

I want to use JAAS in my project, configuring a JDBCRealm through JPA entities. The authentication seems to work correctly, for example, I try to access facelet /admin/analysis.xhtml and redirect me to facet login.xhtml . When...
asked by 20.10.2016 / 22:50
0
answers

Use env entries from an EJB

I am using the Twitter4J library to use the Twitter API. I'm using this library in an EJB without status like this: @Stateless public class TwitterSearchBean implements TwitterSearchBeanLocal { @Resource(name = "TWITTER_OAUTH_CON...
asked by 20.10.2016 / 23:47
1
answer

Error when deploying

the xml file is as follows; I am creating a descriptor glassfish file but when I give deploy I get the following error:    Severe: Exception while deploying the app [MyApp]: java.lang.RuntimeException: Error in parsing sun-e...
asked by 12.10.2016 / 18:11
0
answers

Failed to get Remote Object (GlassFish, EJB)

I am working with a web project (maven), and adding by means of dependencies to my pom.xml file another maven project to use all its classes ... What I intend to do, is to show in my web project, a page that shows a list of clients, for...
asked by 09.08.2016 / 20:22
1
answer

Authenticate user and send notifications with Firebase

I am working with a webservice rest in java in which the users access the data of a base de datos mysql , the authentication was done with JWT . Then, looking for how to send the notifications I stumbled upon Fire...
asked by 23.08.2016 / 00:42
0
answers

I do not load Google Oauth2 in my webservice

Good I have this problem:    Serious: 2016-07-11 17: 47: 32.034: INFO :: Logging to STDERR via   org.mortbay.log.StdErrLog Grave: 2016-07-11   17: 47: 32.036: INFO :: jetty-6.1.26 Grave: 2016-07-11   17: 47: 32.075: INFO :: Started SocketConn...
asked by 11.07.2016 / 18:00
4
answers

My item is not updated

I have a "panelGroup" with a render that depends on a boolean variable, and a button that changes the state of that boolean, but when you click on the button, the panelgroup is not updated until you reload the page despite that I DO have an upda...
asked by 24.01.2017 / 20:09
3
answers

Does not respond ActionListener CommandButton Web App

I have a web application made in Netbeans 8.1 , Java 8 and Maven First of all in my class Managed Bean Controller.java place the label @ViewScope . When I compiled and deployed the application I got the error...
asked by 28.01.2016 / 01:52
2
answers

INSERT SQL and get ID (JEE)

As the title says, this is in java EE , particularly java web. However, it is a simple% SQL query: I have a table with several data, and a id autoincremental:    id, date, text. I use a servlet to add an element to the da...
asked by 14.09.2016 / 18:34