Questions tagged as 'java'

0
answers

I need to get the browser url data and pass this data to an application

I have a java web start application. And you have to make the browser pass the parameters to that application. The javascript function is fetching the url data but is not yet moving to the other program. It's very difficult to do this. The...
asked by 06.06.2016 / 20:40
3
answers

Close in transaction with hibernate

Hello, I need some help. I am trying to perform a transaction in hibernate. The problem is that when giving a close, the data is modified in the database, but this warning occurs    WARN [CommonAnnotationBeanPostProcessor] Invocation of...
asked by 07.06.2016 / 20:25
0
answers

Is it possible to populate a tree list in reverse using stream?

The question is as follows My class public class Node{ private String name; private Node parent; private List<Node> children; public Node() { } public Node(String name) { this.name = name; }...
asked by 25.05.2016 / 14:23
0
answers

Miscellaneous Database accessed at the same time JPA

Today I have the following scenario: my clients enter my site and the login screen appears, where I ask for the User Group, Login and Password. For the Group I have a database, where it has the data of the user database ie on which server it...
asked by 15.04.2016 / 03:00
0
answers

Error requesting the ID of a data in the database through the name STRING of the data

Well, I made a method in my webservice to get the ID of a value from a state, that is, I go to function an EX name: "Acre" and it returns the ID in the database of that state. I did it, it worked fine by testing for SOAPUI that is used to test,...
asked by 22.05.2016 / 17:13
0
answers

Create session when making requests to the Web Service

I created a Web Service that brings results in JSON format to java , but sometimes when the user makes a request to the Web Service the same hangs and interrupts the whole service, would like to know if there is possibility to create sessio...
asked by 23.05.2016 / 14:25
0
answers

Bean Validation of dependent fields

I'm starting with bean validation and I'm needing to do dependent field validation. Example: I have the fields StartDate and EndDate The dataFin field can not be less than the StartDate. I know that I can create my own annotation, but I do...
asked by 06.04.2016 / 13:43
0
answers

Crud with related tables in spring mvc

I'm developing a java application, using spring mvc . And in a CRUD functionality, I have an Incident signup screen. On this screen, I have the fields mapped according to the entity Incident.java. However in the registration screen I have m...
asked by 05.04.2016 / 17:10
1
answer

Problems with ws

PersonalIamwhenitexecutesthepagetogeneratethejsonitonlyafternull,alreadyverifieditistakingthedataofthebankthestrangeranditisgivingthismessage:  Information:Scanningforrootresourceandproviderclassesinthe  packages:ResourceInformation:Rootresourc...
asked by 05.04.2016 / 02:44
1
answer

How to catch parameter in form with enctype="multipart / form-data"?

I'm having trouble catching the parameters of an HTML form with enctype="multipart / form-data", I can upload an image through the form, but I can not capture text typed in the form. The form looks like this: <form method="post" action="...
asked by 05.04.2016 / 22:58