Questions tagged as 'java'

0
answers

Apache Spark. Consult MongoDB database

I am working with Apache Spark and MongoDB in Java. I have a database with a lot of documents, maybe more than 30,000,000 million documents. Every time I make a connection in my project I charge this entire collection in a Dataset which is ve...
asked by 10.10.2018 / 16:34
1
answer

Images, Buttons, Sounds and Share on Android

Hello, how are you? I tell you I'm a Java student (I'm just starting) and I wanted to try doing an application on Android by following some YouTube tutorials, I managed to do it and now I want to improve it, I find some problems that I'll detail...
asked by 02.10.2018 / 22:02
0
answers

setResult () and finish () From RecyclerView Adapter

I make a startActivityForResult () from an activity, and I need that from the activity that the user sent to click on one of the cards that I have in a RecyclerView and once clicked it has to return the value to the previous activity, the proble...
asked by 02.10.2018 / 15:41
0
answers

Run command from java

I have the following code: String java(){ try { Process process; String file="If"; process = Runtime.getRuntime().exec("java -verbose If < codigo.txt ",null,new File(ruta)); //process.waitFor();...
asked by 01.10.2018 / 02:21
0
answers

Exchange of information between Activity and Service (vice versa)

I am studying services on android and I have a little problem, I try to see how the exchange of information works both from the activy to the service and vice versa, I have no problems passing data from the activity to the service, but I got thi...
asked by 30.09.2018 / 16:00
1
answer

Move between windows JAVAFX (Login to Home)

I just started using JavaFx and I'm still not very familiar with it. I am developing an application, which has a login. The problem I have is that I do not know how to do it so that when I press the enter button in the login window, it direct...
asked by 30.09.2018 / 19:52
0
answers

Help with JasperReport, why do you send the following error and it is not displayed?

I have the following code in my controller, where what is returned is the name of my report prueba_reporte @RequestMapping("/report") public String verReporte(Model model, @RequestParam(name = "format", defaultValue="pdf", requir...
asked by 01.10.2018 / 00:45
1
answer

Problem when wanting to update JPA

I'm using Java with JPA and I have a festival entity and another festival edition. A festival can have many editions. The question that when I release an edition, after doing em.persist, I have to do res.getFestival().getFestivalEdicions()....
asked by 28.09.2018 / 15:04
0
answers

SAVE IMAGE ON A REMOTE SERVER WITH JAVA NETBEANS?

Good morning dear programmers. What I need is to save any size image on the server. I have a file.php on the server that saves the image (which works), what I want to know is how to send an image to receive that file.php by means of some http re...
asked by 28.09.2018 / 12:47
0
answers

How can I change from a p: inputText to a datable in primefaces from java?

I have a problem, what happens is that I have some components that are going to be changed, before it was a <p:autoComplete> and when the result of that autocomplete result was stored to a datatable and now the change will be with a...
asked by 27.09.2018 / 19:36