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
4 views
oracle 10g pl sql why do i have to click save so that my insert query will save to database
why do i have to click save button in the upperleft on formservlet so that my insert query will save to database? im sorry guys, quite newbie here thanks
here is my pl sql code in add button ...
0
votes
0answers
9 views
java.net.UnknownHostException: www.terracotta.org
Getting the following error when Jboss server start up.
java.net.UnknownHostException: www.terracotta.org
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177) ~[na:1.6.0_11]
at ...
0
votes
0answers
4 views
Block UI in GWT
in my GWT Code, I have FileUploader . i want, when user click on Button to send data from Client to server, my GWT PAGE block, and a picture show me that processing is working.
how can i solve this ...
-1
votes
0answers
13 views
Best way to create animations in java
What would you say is the best way to create animated sprites in Java,
I am reading a book and it uses an ArrayList to add frames to the animation.
I find it quite difficult to understand.
Is using ...
1
vote
1answer
19 views
Why do we need to synchronize on the same object for notify() to work
I was getting java.lang.IllegalMonitorStateException. I referred this question and it solved my problem. The first answer is
To be able to call notify() you need to synchronize on the same object.
...
0
votes
0answers
10 views
How to cache all the data files of mongodb?
What I am trying to do is cache all the data that I have written into mongodb. So that all client requests are served from the cache. Should I consider ehcache or memcache.
Note the mongodb data is ...
0
votes
0answers
10 views
how to change table rows by using tab key
i want to change table row when i pressing the tab key.Here i am using struts tag.is there any idea please post...
<s:iterator value="addresslist">
<tr>
<td><s:property ...
0
votes
0answers
3 views
Google App Engine: When is auto id available?
So I'm creating user accounts in GAE's data store (using Java)...
Entity account = new Entity(DATASTORE_KIND, accountAncestorKey);
Key accountKey = datastore.put(account);
The entity is created, ...
-1
votes
0answers
10 views
Is there any tool to convert android app to facebook app
Hi friends is there any way to convert android app to Facebook app? else How to convert android app to flash app? Please give your suggestions.
2
votes
3answers
29 views
printing array reference variable on console
what does the output means...
if we print 'intarray' we get some hash code...
& same is with 'floatarray'
but if we print 'chararray' we doesn't get anything
class Test
{
public static void ...
0
votes
1answer
27 views
Eclipse. Copied code is hard to read. How to disable warnings and delete comments?
That is it, I'm tired of that problem: I have some source of java code it could be a manual or web-site or whatever but the format of this source often is not suitable for reading, so I copy it to a ...
0
votes
0answers
6 views
zip file getting corrupted sometimes from few Android devices
What might be the root cause for getting zip file corrupted.??
Am uploading zip to server using FTP from Android. Few files are getting corrupted after they are uploaded. I tried to resolve this in ...
0
votes
0answers
9 views
How to Segregate comman fields in Hibernate annotaion mapping
I am using spring 3 and hibernate4.2 based annotation configuration in my project, I have number of database tables (view objects/entities) with two common fields createdDate & updatedDate.
I want ...
0
votes
2answers
16 views
invalidClassException: please help getting these errors
I am getting this error when i run the program:
java.io.InvalidClassException: Food; local class incompatible: stream classdesc serialVersionUID = -1986042743597353721, local class serialVersionUID = ...
0
votes
3answers
29 views
Enum Example Explanation
Here is a program taken from the SCJP 6 example. Here, we create a enum with different coffee sizes, and declare a private variable called ounces to get the ounce value part of enumeration.
I was not ...