Questions tagged as 'java'

1
answer

URI Rest with HttpServlet

So, I'm developing a mini framework for study purposes, using the pattern front controller in java, and I came across the following problem. First of all, I'll explain how it works. I embedded the jetty server inside the framework, when I...
asked by 02.03.2017 / 02:51
0
answers

error when trying to upload application using Wildfly

I'm learning EJB, and I got a project that uses EJB, but I decided to use Wildfly. when I upload the application it presents an error. service org.wildfly.request-controller.control-point."livraria.war".undertow (missing) dependents: [ser...
asked by 19.03.2017 / 00:16
0
answers

How do I connect to a user-selected SSID?

I'm doing my thesis and I'm developing an Android app to set up home devices Iot (wifi). In this case, the devices are being simulated using a Rspberry Pi 3, which creates an access point (captive portal, without a password) with a known name,...
asked by 19.03.2017 / 17:57
0
answers

How to use onActivityResult in activity main and in secondary activities.

I have the activity user, and in it I call the camera using startActivityForResult, however when taking the photo, it goes to Main Activity. How can I call the camera and return to the same user activity? Details: In Main activity, I use the sta...
asked by 15.02.2017 / 17:56
1
answer

When you do not find a file, you must go to the next step (Spring Batch)

I'm using Spring Batch. In my Job, I have several step's, and they all read from a .csv file. The problem is that there will be times when the .csv file will not be in the read-only location. When that happens, an error pops up and Job sto...
asked by 22.02.2017 / 14:50
1
answer

org.hibernate.QueryException: could not resolve property: Order of: Classes.Customer

I'm having trouble setting up a HQL query in Hibernate, look at the error that occurs:    Exception in thread "AWT-EventQueue-0" org.hibernate.QueryException: could not resolve property: Order of: Classes.Customer [select c from Classes.Custo...
asked by 22.02.2017 / 21:44
1
answer

Hibernate - Set key foreign object without fetching object. Direct by Id

Does anyone know if it is possible for me to set an object that is foreign key if I have to fetch it. That is, just setting the direct id? Example: low.CompanySet (daoCompany.searchPorId (new Long (rsBeixa.getString (6)))); way you'd...
asked by 20.02.2017 / 21:41
0
answers

What is and what is the ListIterator for?

What would be the function of ListIterator ? I have a variable of type List , which receives the information from my PostgreSQL Database, I need to access the information of this variable of type List but when I use the get...
asked by 20.02.2017 / 19:34
0
answers

How can I leave CardView with dynamic size?

I have a problem ... I have several CardsView and the size of them is static I would like to know how I can make this size adaptable to what you have in cardView. Because in a CardView I have a list that comes with data from the database a...
asked by 20.02.2017 / 20:33
0
answers

Android Camera Calibration Algorithm

Good evening, I'm new here .. I'm sorry if this question has already been asked, it's that I could not find anything about it ... without further ado, let's ask the question. Well I've been looking for an algorithm for Camera calibration, but s...
asked by 24.02.2017 / 04:28