Questions tagged as 'java'

0
answers

Avoid double logging on my website with session in java

I have a web page that manages logeo and full CRUD of the users satisfactorily, all managed with java session. As a new requirement I have been told that users can only have a single session started. I have been looking at possible solutions,...
asked by 04.10.2018 / 14:13
0
answers

Web Service with authorization Basic (Authorization Basic)

How to make a web service (java) to validate the Username and Password parameters sent to you from a soapUi (BASIC). I have a web service that retrieves the headers by: Map requestheader = (Map) mc.get (MessageContext.HTTP_REQUEST_HEADERS);    ...
asked by 04.10.2018 / 15:07
0
answers

Does not google maps load me with the location?

I am developing a bus application where according to the user's location it tells me that bus is closer to my position to be able to get to X place but my main problem is that I can not get the app to detect my location. On the map: import...
asked by 04.10.2018 / 14:16
1
answer

Problem when executing in jasper ireport report

I have a Java GWT project, where I make an invoice, the whole process of saving and returning in the SQL DB works well, the problem is when in two or more terminals the sales process is executed simultaneously, since at the time of showing the d...
asked by 04.10.2018 / 23:38
0
answers

How to implement oauth 2.0 in JAX RS?

Hi guys, I know the question is wide, but I have had doubts about how to implement oauth 2.0 in jax rs without the need to implement the standard manually. If someone can provide examples using JAX RS it would be great, another thing is tha...
asked by 05.10.2018 / 02:21
1
answer

Record time in android studio

I'm doing a Qr scanner application, I already have the scanner encoded, what I want to do is scan a code, register the current time automatically in which the scanner was made, use sq lite to record data, If someone could help me, I would apprec...
asked by 05.10.2018 / 06:43
1
answer

how to show saved data in Firebase database with android studio

Friends I'm doing a project in Firebase database with android and I need to consult and get the last three values saved with the name of "dose" this is the structure in Firebase This is my user.java class public class usuario { private S...
asked by 04.10.2018 / 23:20
2
answers

How to know how many times you repeat letters?

I have the following code, but I want it to show for example: when writing a text, such as House Show, letter C is repeated 1 time, letter A is repeated twice, letter S is repeated 1 time etc. How could I do it? public static void main(Stri...
asked by 08.10.2018 / 14:35
1
answer

How to delete data from a datatable in java and with primefaces!

I have a problem, as I can delete the records of a datatable at the time of clicking on a button again, so that to click on the new button the datatable is loaded: This is the button to add a new one: public void actionNuevo() { fla...
asked by 04.10.2018 / 20:35
1
answer

Error Message Consumption MQ Weblogic Server

Good day to all, I have the following situation: it turns out that I have to maintain a project, for this I use a new domain in Weblogic Server , in which I make different configurations of third-party servers < strong> MQ . It is worth...
asked by 08.10.2018 / 23:33