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...
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...
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...
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...
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...
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...
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...
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...
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...
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...