Questions tagged as 'java-ee'

1
answer

Differences between JSF and JSP

Web programming recently (4 months) and went straight to JSF , that is, I did not study anything about JSP . I started to take a course and my teacher kind of belittles JSF saying that he has many limitations, that JSP...
asked by 18.08.2015 / 14:00
3
answers

Doubt about the responsibility of a get ()

Is it acceptable to have a getter method that gets a parameter to be able to have a return variance? Example: getAllNome("M"); <- retorna tudo que for masculino. getAllNome("F"); <- retorna tudo que for feminino. getAllNome(); <- re...
asked by 28.03.2014 / 21:12
3
answers

How to resolve the error - The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

I'm using Eclipse Mars.1 for Web development, I got this error by including a file JSP , The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path . I also have Tomcat 8 running on the PC.     
asked by 27.10.2015 / 23:01
1
answer

What is JNDI technology?

I'm starting studies on enterprise applications, and according to my teacher I'm going to need this java technology and would like to know what JNDI is exactly. If possible I wanted an example of its use.     
asked by 26.11.2015 / 18:44
0
answers

SelectOneMenu is not loaded when selecting object for editing

I have a SelectOneMenu (Primefaces) component of cities, which loads according to the selected state. My component has the following behavior, right after saving the object and then selecting it in DataTable through commandLi...
asked by 26.05.2015 / 01:55
1
answer

Differences between Java application servers

I would like to know the main differences between Glassfish application servers, JBoss and Apache Tomcat. Is there any specific aspect that I should check before choosing any to start development? Are there significant differences in performance...
asked by 15.12.2015 / 18:29
1
answer

What is the difference between sendRedirect and requestDispatcher.forward?

What is the fundamental difference between using methods response.sendRedirect("Alguma pagina"); and RequestDispatcher despachar = request.getRequestDispatcher("/Alguma pagina"); despachar.forward(request, response); Since "they do p...
asked by 02.10.2015 / 20:52
2
answers

Spring Security with Java EE

Hello, I'm developing a Maven Enterprise Application EAR project and I'm currently implementing the authorization part using Spring Security with Annotation instead of xml. Project Structure: FileAppConfig.javapackagebr.com.seguranca.confi...
asked by 11.05.2015 / 16:21
1
answer

Is it worth developing JavaFX for Web, Mobile and Desktop?

I would like to know how JavaFX is going, if it is already consolidated, if it is still bet. I really liked the look and the "Write once, run everywhere" .     
asked by 20.05.2015 / 16:05
1
answer

How does a form's data capture work?

I have this code to get data from a form: @WebServlet(name = "computador", urlPatterns = {"/computador"}) public class computador extends HttpServlet { @Override protected void doPost(HttpServletRequest request, HttpServletResponse re...
asked by 08.02.2016 / 17:45