Questions tagged as 'java-ee'

1
answer

Error when running Spring Roo

I'm trying to install and run Spring Roo. I downloaded it, unzipped it in the opt folder, gave the permissions on the folder, and created the links. But when you run the command "roo" a big error appears and it locks the program having to clo...
asked by 23.08.2014 / 21:01
1
answer

Doubts with dependency injection with Spring (object injected returning null)

Good afternoon everyone. Personally, I have a problem that I should probably be missing or forgetting the order of something. My case is that I have a two controllers. One is DestinationController.java and the other is FileController.java....
asked by 22.08.2014 / 20:11
1
answer

JSF dataTable how to populate the columns with ListListInteger?

I have the following situation. A vector that will store the values that will be registered in the bean     public class PainelControleExtratoVO { public Integer[] demandaEmAberto; public Integer[] demandaEmProcesso; public Intege...
asked by 26.06.2014 / 18:22
1
answer

Download dialog does not appear

I am generating a xls in memory and it should appear for download , but at the end of the method the download dialog is not appearing. xhtml <a4j:commandButton styleClass="Button" value="Download" execute="@f...
asked by 17.11.2014 / 15:32
1
answer

How does WebService SOAP / Rest work with JAX-WS?

I spent a whole day studying and finally I was able to authenticate with WebService SOAP using JAX-WS, using client generated by Eclipse. When you add the password and password to the SOAP message, how do you do this? Does it encode? Custo...
asked by 10.05.2014 / 18:43
1
answer

How to intercept only the public methods of a managed bean?

If you have a managed bean (annotation @ManagedBean), how could you intercept only the public methods of this bean? The motivation for this would be as follows, suppose you have a ControllerBean bean that can be accessed from an xhtml page....
asked by 09.06.2014 / 03:44
1
answer

Doubt with JavaEE sessions

Is it possible to get a list of open sessions ? Not the amount (sessionlistener), but the sessions themselves so I can find values in their attributes.     
asked by 28.11.2014 / 20:45
1
answer

Map objects by Hibernate with "decentralized" data

I do not know if the decentralized title term is correct, if it is not someone feel free to change. But let's get down to business. I have a scenario where I am developing a program that manages monitoring of an institution, in the classes of...
asked by 14.12.2014 / 03:39
1
answer

Struts2 - Is it possible to access an action backend method in the JSP?

I'm using Struts2 to build a web application. I have a method in a class called BaseAction , where all other Actions extend it, as written below: public boolean isUserFullyLogged() { final Boolean isLogado = (Boolean) this.ret...
asked by 31.03.2014 / 20:28
1
answer

Change Active Spring Profiles at run time

I usually use this code snippet to set the profile of the application <servlet> <servlet-name>dispatcher</servlet-name> <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> <init-p...
asked by 25.03.2014 / 18:12