Java is an object-oriented language and runtime environment (JRE). Java programs are compiled to bytecode and run in a virtual machine (JVM).

learn more… | top users | synonyms (5) | java jobs

0
votes
0answers
4 views

Hibernate and JDBC performance?

Currently i am switching my java web application from JDBC to Hibernate, in my current implementation with JDBC i load up static data into static variables so i don't have to directly access the ...
0
votes
0answers
5 views

Hibernate 4 and JDBCContext

I recently noticed that JBoss decided to remove the JDBCContext class from hibernate 4.X release. Does anyone know what the reasoning behind this was, as it seemed quite widely used mediator class? ...
0
votes
1answer
10 views

NullPointerException - Location - getLatitude() method

I'm receiving a null pointer exception on this line: double latitude = location.getLatitude(); Is there anything I need to be doing to initialize my Location variable? What am I doing wrong? ...
-2
votes
0answers
23 views

Building 30 day alarm - need help proofreading due to difficulties testing 30 day alarm

I'm building an alarm set to reoccur every 30 days - due to the fact it would take several months to test this by myself - I was wondering if I could get a few extra sets of eyes to look things over ...
0
votes
0answers
4 views

Java Micro Edition MIDP SSL Keystore and Truststore setup

I'm using the Java Micro Edition 3.2 SDK to write a Java ME client to connect to a server using SSL through use of the SecureConnection API: ...
-1
votes
0answers
85 views

I'm getting java.lang.NullPointerException and can't figure out why.

I can't figure out why my code is producing this error at lines 42 and 170 any help would be appreciated. public Game() { super("Gauntlet"); } public static void main(String[] arguments) { ...
0
votes
0answers
16 views

Portlet overridden method does not thrown exeption

I am working on a example portlet that is supposed to show me users logged in when logged into luminus portal as admin and students logged in only see themselves and keep running into errors in my ...
0
votes
0answers
11 views

Jersey fails to generate WADL since upgrading to Java 7 and Tomcat 7

I'm building a RESTful web service using Jersey 1.11. Out of the box Jersey generates basic WADL at runtime that you can obtain from your REST app via GET http://path.to.your/restapp/application.wadl ...
0
votes
2answers
23 views

Guava Joiner on SortedSet

I want to get a string of comma separated values, sorted. if using a TreeSet for that purpose, and then using Joiner.on(',').join(someSortedSet); will I get the string values sorted ?
0
votes
0answers
7 views

Oracle Forms 11g Not work with IE8

I am lunched Oracle Forms 11. Everything is fine except one thing. Internet explorer can not start them. Everything works with IE9, IE10, Chrome, Firefox. The problem is with IE8. We tried changing ...
0
votes
0answers
8 views

Maven build failing due to EMMA error java.lang.ExceptionInInitializerError

I am running Maven build along with EMMA plugin. The goal executed is "mvn -X clean site". Tests are executed fine but during instrumentation we get below exception : Failed to execute goal ...
1
vote
0answers
10 views

Bind Path variables to a custom model object in spring

I have a class that models my request, something like class Venue { private String city; private string place; // Respective getters and setters. } And I want to support a RESTful URL ...
1
vote
1answer
33 views

Java - Replace existing objects in heap memory

I am using Spring + Hibernate in my java web application. I read in the web that spring and hibernate will use more memory than usual. Frequently I am running out of memory. So I tried to profile ...
0
votes
1answer
30 views

Find txt files, create an empty file for each of them, then delete the original file

Can anyone tell me how it is possible in java to search and find specific file extension like txt, then delete it, and then create another file with the deleted full name? I need this java script to ...
0
votes
0answers
29 views

how to read values from JSON nested in multiple arrays

I have below JSON Data which constitutes inner array How to read data from Inner Array { listEditions: [{"adRoute":"B","listInsertion":[{"color":0,"colorType":"All ...

1 2 3 4 5 28963
15 30 50 per page