Questions tagged as 'java'

0
answers

Extremely slow application after implementing the Dozer lib

I have a JSF application. I've just included a layer of DTOs and I need to transfer Entity values to DTOs and vice versa. Looking at Google, I found recommendations from Dozer in SOen. I included the dependency and used it as Singlet...
asked by 20.09.2017 / 21:55
7
answers

How to protect the source code?

I'm thinking of making an application to sell, I'd like to know how to protect my source code to keep my software safe. I have seen that the Java bytecodes, stored in the .class file are easily converted back to .java using the...
asked by 25.02.2014 / 16:07
1
answer

How can I change a label that is on a gridpane in javafx

Good afternoon community, Lately I've been exploring the javafx strand and creating an application for my masters degree. Briefly, the application receives an image of the user, and creates a gridpane over the image, depending on the number o...
asked by 18.09.2017 / 16:13
1
answer

Access a textField that is inside a gridPane in javafx

I've been developing a master's work in javafx: something that gets an image, places a grid with textFields on all cells above the image. The user can then put values in textFields. The grid is automatically created, depending on the number o...
asked by 19.09.2017 / 15:05
0
answers

Load only div from a specific site

Hello, I'm trying to get all the information from a page to a webview via jsoup but the letters are all deformed when I load and it does not look like this on the site, there's some way to load the site, but only the div that I want, which in th...
asked by 01.09.2017 / 19:19
0
answers

liquibase: diff always generates indexes

I am using spring-boot with the liquibase-maven-plugin plugin to generate database changes according to my classes, but the "mvn compile liquibase: diff" command always generates removals and inclusions of indexes and foreign keys even that the...
asked by 01.09.2017 / 13:27
1
answer

identify NullPointerException

I'm being JSP, and during testing a DAO, I came up with a NullPointerException here. However, I can not figure out why. I'm using PreparedStatement and pulling the "INSERT" constant, which I created, into a method. Here is the code: private...
asked by 31.08.2017 / 03:52
1
answer

Error sending production email

I'm using javaxmail to send the email via the system, but locally I can send the email without problems, but when I put it on the server it returns the error:    java.lang.RuntimeException: javax.mail.AuthenticationFailedException...
asked by 30.08.2017 / 19:53
1
answer

Java filter for specific pages

How do I control access of pages with Java? I have a filter already implemented, which makes the control whether the user is logged in or not. However, I have a page that I need to verify the user's permission ... The page will only be access...
asked by 25.08.2017 / 01:25
0
answers

Server Web Service Soap - WSDL - Java Eclipse

I know there is already a lot of post related to web service in java and I also know that there have been many questions with this problem. However, I tried in all ways and I could not solve it, so I'm here. This is my server log. The problem...
asked by 21.08.2017 / 17:09