Questions tagged as 'java'

1
answer

Consume WebService passing object as parameter

I have the WebService and I send the object Cliente as a paramenter, I would like to know how I can make it work, and it create a WSDL that suits when I run the Server, so that I can make the call in a WebService Client. @WebService pub...
asked by 03.02.2016 / 13:55
2
answers

Can I use tools.jar in the ClassPath of my Java project?

I would like to know if you have a problem, since it is part of JDK, or even if it is necessary.     
asked by 07.01.2016 / 13:04
1
answer

Generate PDF report with jasper reports and spring

Hello, I'm having a problem generating a report with jasper reports in spring. I made the implementation exactly as it appears in method 4 of this explanation: link When I click the button to generate the report, I'm redirected to the...
asked by 22.02.2016 / 03:32
1
answer

Help between communication between clients WEBSERVICE REST - JSON - JAVA

I'm developing an Android application where devices can communicate with each other through messaging (instant messaging). My application is already connecting to the Web Service (I developed it using NetBeans) and the Web service connecting...
asked by 22.02.2016 / 14:36
1
answer

Using Swing in Java EE

Good afternoon, when the programmer works with java WEB, it generates graphical interface using the javax.swing class as in Desktop?     
asked by 30.12.2015 / 19:49
1
answer

Dependency of JPA (2.1) in the POM.xml file

I made a normal JavaSE project with JPA for the persistence part, and it worked, the project consists of only one entity that is persisted in the database and nothing else. I have used the following libraries: EclipseLink (JPA 2.1) - eclipse...
asked by 29.12.2015 / 23:26
2
answers

How to solve the java.lang.nullpointerexception in application with sqlite?

I'm having trouble with this exception. I have seen some tutorials here, but none of them can solve my problem. Even the answers to similar questions could not satisfy my need. I'm doing a desktop application with java and SQLite. I think...
asked by 30.12.2015 / 03:09
1
answer

Log4j 2.x with multiple files depending on the level

I'm new to log4j. I want to create a different file for each log level (warn, error and etc). I have the following xml configuration file: <?xml version="1.0" encoding="UTF-8"?> <Configuration status="error" strict="true" na...
asked by 04.01.2016 / 19:34
1
answer

JFrame by repeatedly opening twice

I'm new to programming for desktop, well, I'm doing a program in java using swing and sqlite database, I already did some things work, but after login the jframe that should open a single opens twice, how to fix this? Follow the coidigo pr...
asked by 31.12.2015 / 03:26
1
answer

Start class Fragment of another Class Fragment

I have a class GuiaDaCidade . public class GuiaDaCidade extends Fragment { View rootView; @Nullable @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { r...
asked by 24.12.2015 / 23:10