Tagged Questions
Java, not to be confused with JavaScript, is an object-oriented language and runtime environment (JRE). Java programs are compiled to bytecode and run in a virtual machine (JVM).
0
votes
0answers
3 views
ERROR - com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
When I look into the console log of my GAE/J application I see this:
[ERROR] Aug 09, 2013 2:48:11 PM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
[ERROR] INFO: ...
0
votes
0answers
3 views
could not get proxy returned when calling a web service generated from Metro.jar
I am not able to get the proxy returned while I call the web service in Java. I used the .asmx?wsdl url of a server for generating the .Java file. I am instantiating a object of the Soap class but it ...
0
votes
1answer
15 views
How to convert Session attribute converting to long in java?
long orgId = (Long)request.getSession().getAttribute("orgId");
I am not able to convert the object that I am getting from request.getSession().getAttribute("orgId")
to long variable
So I need to ...
0
votes
0answers
13 views
How to give time delay for PhonenumberUtils.PAUSE() in android?
I am creating a conference manager application .I am Using the PhonenumberUtils.PAUSE() for time delay during the call.It is only working for few seconds.I want to make it pause for more seconds ...
0
votes
0answers
8 views
My Java SPI extension is not loaded
Background: In my project, I have to fetch images from the web and resize them before storage. To do so, I use imgscalr to resize the pictures, which uses the ImageIO API of Java.
The thing is that ...
0
votes
0answers
12 views
Creating JSP templates (views) dynamically from Database
I am developing an application using Java and Spring MVC. As usual, stored one JSP file in /WEB-INF/view/ folder which is working as the View for all the requests.
Normally we have this JSP ...
-1
votes
0answers
21 views
Get Location of an Image java
Hello does there exist a way to find out the images location for example int location = Image.getLocation();
thanks for your help ;)
0
votes
0answers
10 views
How to apply the same filter on an image multiple times?
I have developed an application that does some image processing and I have a filter called Smooth that removes the digital noise. Currently, I have to select that filter using a Smooth button which ...
0
votes
0answers
3 views
How to configure Spring with Neo4j Ha cluster?
I have clustered 3 instances of Neo4j Enterprise Edition (v1.8.2) on 3 different machine with Ha and they are working good as of now.
I wanted to know how can I configure my Spring configuration ...
0
votes
2answers
14 views
Stop the thread started within a object after the object is no longer in a list?
Say I have a class call MyTask
Every time I new a object for MyTask, it will create a thread
boolean mContinueThread = true;
public MyTask (Activity activity) {
new AsyncTask<Void, Void, ...
6
votes
5answers
50 views
Should defensive copies ALWAYS be made?
I have a code which takes a bipartite graph as an input and returns a map with key"1" with value which is a list of "nodes in set1" and key"2" whose value is list of "nodes in set2". Now, map is ...
1
vote
0answers
17 views
is there any api which downloads image from google images in java and how to use it
Is there any API which downloads image from Google images in java and how to use it.
I used https://ajax.googleapis.com/ajax/services/search/images?v=1.0&q=boy&rsz=8 but it doesn't give more ...
0
votes
1answer
6 views
Hibernate generating a query from Named Query that joins on the wrong column?
I am using named query (hibernate 4).Entity defined as below.
@Entity
@NamedQuery(
name = "findAllProduct",
query = "SELECT PC.pincode,PO.description"
+" FROM ...
0
votes
0answers
5 views
lwjgl attach or union shapes to make transparancy look correct
I've been trying to figure this out for a while now. Is there a way to have multiple shapes you have rendered to become one single object? So you could manipulate the object in any way you want? ...
0
votes
0answers
6 views
What may cause org.hibernate.exception.LockAcquisitionException when deleting data in 2 parallel transactions
This exception occurs when invoking the following method in two different threads:
@Transactional
public void deleteExperiment(List<Experiment> experiments) {
Session session = ...