Most voted "java-ee" questions
Java Platform, Enterprise Edition, or Java EE (or Java Platform, Enterprise Edition) is a programming platform for servers in the Java programming language.
Learn more…631 questions
Sort by count of
-
0
votes0
answers94
viewsProblems with foreign key
Hey there, guys. I am creating a system that controls user registration and I have a problem regarding a foreign key that is imported from another class into the Users class. When I change the state…
-
0
votes1
answer853
views -
0
votes1
answer112
viewsHow to update an <h:form> every 30 seconds JAVA WEB
I’m trying to create a panel showing the sales results on a screen in my company. I need to time the panel every 30 seconds so that the results are always up to date. I have no idea how to do, all…
-
0
votes1
answer896
viewsProblems loading datatable Primefaces
I am using in the Java Web CDI, JPA and Maven application, my application is already entering records in the database without any problem, now what I have left is list the records in the Primefaces…
-
0
votes1
answer474
viewsJava Framework for Ecommerce-style Website
good night! I would like the opinion of those who are active on which is the most suitable framework for developing a site in the E-commerce style using java. I was thinking about JSF 2 + Primefaces…
-
0
votes1
answer50
viewsDoubt the JAVA and Tomcat Server application
Guys, I need a help. I have a server application in JAVA EE and accurate using Tomcat to upload this application to use it in another application. How can I do that?
-
0
votes1
answer58
viewsWhat information can I get from the user through Java EE?
I need to implement SSO(Single Sign-On) in a client of the company I work, the scenario is basically the following: They have a web system, made in java, which has a normal login, but they want that…
-
0
votes0
answers95
viewsCalling a report with sub-report from a Managedbean
Someone has an example in Java of how to call from a Managedbean a report with sub-report? I already have the report with the sub-report working well in ireport,but when I try to call from the…
-
0
votes1
answer97
viewsError when using eclipse EE
I’m having trouble generating image in eclipse ee - it can’t open anything and keeps giving this error: GRAVE: Error Rendering View[/pages/produto.xhtml] java.io.IOException: javax.el.ELException:…
-
0
votes0
answers972
viewsGetting HTTP Error 500 Internal Server Error Using Jersey
I’m studying REST. I’m using jersey to create a service RESTful. I came across a problem trying to create a service that would return an object json. I am using a client (java) to request the…
-
0
votes0
answers51
viewsUse of framework in java web project
I have a java project that runs services (SOAP/REST) and we have a framework that supports this, generates report, makes REST calls and so on, and I also have a java web project (Javaee) that…
-
0
votes1
answer319
viewsRun class when starting web application
I have a class that would need to run along with the web application every time it starts. I would upload the application to the server and this class would need to be run. This application is…
-
0
votes0
answers43
viewsHow to implement Fileupload in a Hibernate project with JSF?
I’m with a JSF project with the DAO model using Hibernate, and I’m having a hard time understanding how to save the image in the database. I would just need to know what the method would look like…
-
0
votes0
answers167
viewsPrimefaces+JSF+Jasper JAVAEE
Well I am trying to generate PDF in my application and it is not working, when clicking the print button generates the following error 00:14:24,037 WARNING [org.primefaces.config.WebXmlParser]…
-
0
votes1
answer2159
viewsAdd items dynamically to a list using Thymeleaf
In my application, I have a form to add an object to the database. In this object I have a list of other objects. For example, it is as if the object I am registering is a Sale and the list is…
-
0
votes2
answers1156
viewsSpring MVC and UTF-8
I’m making use of Spring MVC in a project, running on a Glassfish server and having trouble displaying text on JSP pages that contain special characters such as accents. I tried to put the charset…
-
0
votes2
answers343
viewsjava.lang.Noclassdeffounderror
I am locked in a project that should be a "bank", with an account and transaction CRUD. I have to use Oracle bank because of the facul. This error happens when giving an input to the bank.…
-
0
votes1
answer99
viewsJAAS Authentication and Security with Multi Module
I am working on an application with the following architecture: As you can see the system will have several modules. In Project Portal I implemented JAAS, and I’m not able to maintain authentication…
-
0
votes1
answer370
viewsConfigure Hibernate.cfg.xml with Datasource configured in Wildfly 10
I’m trying to configure my Iberian to recognize the connection configured in Wildfly, already tested the connection in the wildfly panel, ta 100% functional. The problem now is to make the…
-
0
votes1
answer310
viewsHibernate does not generate the database and tables in mysql
I’m having problems with my project, tables. jul 06, 2017 7:19:21 PM org.hibernate.Version logVersion INFO: HHH000412: Hibernate Core {5.2.10.Final} jul 06, 2017 7:19:21 PM…
-
0
votes1
answer217
viewsRedirect DDNS to Tomcat
I created a free DDNS in Winco and wanted to know how to redirect it to an application in Tomcat. At the moment when I access the DDNS, it redirects to my modem page.
-
0
votes1
answer48
viewsDeploy to Heroku after reinstalling Ubuntu
Good afternoon! I had to reinstall Ubuntu on my machine, and that’s why I was deploying it to Heroku. But now that I’ve reinstalled everything I can’t deploy anymore. I cloned the git project and…
-
0
votes0
answers85
viewsJava EE server error on Jboss server
Hello. I did a project in Netbeans on a computer and it works fine, but when I try to run the same project on another computer it returns this error: Implantando…
-
0
votes1
answer1886
viewsHow to pass data from a Datatable line to a Dialog in Primefaces
I have a Datatable in which I have several data and a select button. When I click the select button I call a Dialog with a few more fields. I would like to click on the button select it to take the…
-
0
votes0
answers80
viewsSubistituir Requestcontext by Facescontext
I currently use the following functions which are from Primefaces: RequestContext.getCurrentInstance().update("ComponentTal") RequestContext.getCurrentInstance().execute("FuncaoJavaScript") How can…
-
0
votes1
answer255
viewsError using Hibernate to generate tables and doubts about
I am creating a webservice using Maven to manage the dependencies of my project. At the moment, I’m looking to create a database based on my models. I have four doubts and a problem in my attempt:…
-
0
votes2
answers509
views -
0
votes1
answer537
viewsError trying to validate @CPF and @CNPJ with Hibernate jSf2
Good evening I have a system project in Javaee with JSF2 Primefaces. I’m using the @CPF and @CNPJ mappings from Hibernate, in the same attribute. But this giving error "WARN: HV000129: EL Expression…
-
0
votes2
answers452
viewsComparison request.getParameter with JSP string
I’m wanting to pick up what the user will type with request.getParameter and compare with a String and if the value the user enters is equal to string, the user is redirected to the page but this is…
-
0
votes2
answers763
viewsIs it possible to compare items from two lists and if there is similarity between items do not display this item in a datatable?
I have a list that is populated by data from an xml file and another list that is returned from a query in the database. I wonder if it is possible to compare an existing code in these 2 lists. If…
-
0
votes1
answer394
viewsResultset is not positioned correctly, you may need to call next
I am developing a web application using JSP and Servlet and that registers the product data in the database and present the data in a table, but when trying to see the image registered by the…
-
0
votes1
answer40
viewsHow to point through Login, which database the system should connect via Hibernate
I am developing a JAVA system with JSF, Primefaces and Hibernate with Mysql database. In this system the user must inform in the login the bank that wants to connect (User, password and bank). The…
-
0
votes1
answer33
viewsError loading JSF project: URL changing alone
When running my project in netbeans, my project is being uploaded to the URL http://localhost:8080/loogix// when you should actually carry http://localhost:8080/loogix/faces/index.xhtml. The log…
-
0
votes0
answers89
viewsView HTTP Request Time and Java Process in Eclipse
I would like to calculate and visualize the time and resources spent when the JAVA server receives a request, from the moment it receives to the moment in response.
-
0
votes2
answers558
viewsEdit with Radio button in jsf
Well I’m starting now to develop with JSF and I’m with a doubt of how to do for my method edit receive the right object of the radio button , the way it is implemented it always takes the first of…
-
0
votes1
answer1061
viewsCapture the file creation date
I am creating a control panel on jsp to show updates of Excel files of a particular folder on the network. Problem: I have several SAS programs that are scheduled to update daily, and generate the…
-
0
votes1
answer24
viewsHow to extract information from a video when uploading with Fileupload?
in the systems I am doing need to prevent the upload of a video with more than 1 minute and inform the user. Any way to do that? Thank you.
-
0
votes2
answers505
viewsWildfly 11 cast error with Dom4j
Hello! While trying to run my Java EE project, you are popping Exception "java.lang.Classcastexception: org.dom4j.Documentfactory cannot be cast to org.dom4j.Documentfactory" . Below is the Wildfly…
-
0
votes0
answers213
viewsPrimefaces p:selectBooleanButton ignoring Converter
I’m trying to get a p:selectBooleanButton is used to select the status of a registration form. The value of the attribute in the template is a Enum with two values that can be translated as True or…
-
0
votes0
answers21
viewsHow to get server path without starting Facescontext - JOB execution?
I have a JOB in which I need to download files in order to use them. My project is Java + JSF + CDI. It happens that at the time of the execution of JOB I have no user logged in and the return of…
-
0
votes0
answers167
viewsProject error: java.sql.Sqlexception: Cannot create JDBC driver of class '' for connect URL 'null' - Javaparaweb
I’m studying Java by the book "Java for Web 2º Ed.", I was going quiet, but I stopped in the following error: abr 12, 2018 11:39:31 PM org.apache.tomcat.util.digester.SetPropertiesRule begin…
-
0
votes0
answers29
viewsIn java web development, what is the best practice for image storage? In a database or image folders?
In a Java web application, what better way to store images? Store in databases or image folders and in the database use paths to these images? And how would you do that? Thinking of using write in…
-
0
votes1
answer685
viewsHTTP Status 405 - Method Not Allowed in the @DELETE method
I created a webservice that accesses a Mysql database, but I can’t delete records, I always get the following return: HTTP Status 405 - Method Not Allowed. The method Received in the request-line is…
-
0
votes1
answer166
viewsReport to Jasperreports returning blank pdf table
Good morning, I have a system in javaEE Primefaces and Jsf, I created the reports with Jasperreports, it was all worked, but after an update of the Instancia linux ec2 AWS, the reports are returned…
-
0
votes1
answer123
viewssave an object list
I have an object called message and another one called frames.. That is, in my application I can have a list of frames related to the same message. I already have this list in my ManagedBean, now I…
-
0
votes1
answer112
viewsSystem is only in load - Tomcat 9 - Eclipse
The system loads only the first screen, no other page loads, it is only in the loading. Obs: When I try to debug the code, it doesn’t reach the breakpoint. By stopping the Tomcat server, the…
-
0
votes1
answer249
viewsHow to set a timeout for a particular action in Java?
I would like to set a timeout for a particular action on JSP pages, which should work with the following conditions below: When I click a button for example "Travel", the page should somehow save…
-
0
votes0
answers19
viewsJavaee IDE Eclipse
Good evening Guys I’m new in the group and I’m having a problem with my code someone could give me a hint this is the error that the system is returning me:…
java-eeasked 9 years, 5 months ago José Walter 1 -
0
votes1
answer67
viewsError Web System after a while online
I have a web system on a server, I’m using tomcat and the system is working beauty, only that when it stays a while without someone entering the system it stops working. For example I leave work and…
-
0
votes0
answers119
viewsReceive a json as Java Servlet parameter
I’m developing a API using java Servlet, would like to know how do I receive a JSON in the body of the request as parameter and save to a database? Example: { "nome": "José da Silva", "email":…