Questions tagged as 'java'

1
answer

Web Service Images Java ZIP Android

I need my Android application to download a large batch of images and store it on the Smartphone disk, but I need to decide what would be the best format for downloading these files, since the images must be available in offline application mode...
asked by 09.12.2015 / 17:22
1
answer

How to check if the response of a server returns (200 OK) in java? [closed]

I'm developing an android app, and would like to check if a website or a URL is active     
asked by 10.12.2015 / 19:29
1
answer

Java - Scrollable Menu

Good morning, How do I make my menu scrollable? I've been reigning a little more I do not know how to do this in jFrame. Could someone guide me? Many thanks!     
asked by 13.12.2015 / 11:37
1
answer

What is the endpoint interface in EJB? [duplicate]

I'm studying EJB (Enterprise Java Beans) and would like to know, within the context of distributed applications, what the role of the endpoint interface is. What is the endpoint interface? Where and when should the interface be used?
asked by 14.12.2015 / 20:20
2
answers

DataTable with jsf

I'm having a hard time using the primefaces datatable along with jsf, I've tried to implement it in a way: <p:tabView> <p:tab title="Alterar Usuarios"> <h:form prependId="false"> <h:panelGrid c...
asked by 18.02.2016 / 16:38
1
answer

How to solve "Type mismatch: can not convert from object type to Message"?

I was studying JSF and found this site where it teaches to create a basic chat using JSF, primefaces and ajax: link I have the MessageManager class public class MessageManager implements MessageManagerLocal { private final List messa...
asked by 18.02.2016 / 21:41
1
answer

Types problem with ProjectionList in criteria

I have a problem with java giving the following error: in class: com.app.myApp.ReportDTO, setter method of property: indicator expected type: java.lang.Double, actual value: java.lang.IntegerInteger What happens in my criteria when creating...
asked by 18.02.2016 / 16:43
1
answer

upload videos directly to Vimeo with URL return

Friends could help me in an issue where I'm developing an app where I upload videos to the server, but I'm having problems in the playback and storage of the videos, since these videos take up a lot of space on the server, so I'd like to To uplo...
asked by 17.12.2015 / 12:41
1
answer

Doubt about getSource () instanceof

Instanceof is a binary operator that tests whether an object is the subtype of a given type. Ex: Object fonte = e.getSource(); if (fonte instanceof JButton){ ... } If getSource () returned information from a JButton the result of the...
asked by 09.12.2015 / 15:18
1
answer

How to run an applet in java in the browser

Well, I did an applet program, (extending the JApplet class) and generated the .jar file, put it in a folder and wrote an HTML page to run it: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xh...
asked by 09.12.2015 / 14:28