java

Immediate one time task with Quartz.

I am using a Quartz to build a clustered ThreadPool and I have number of tasks that run at various times. What is the best way to run 1 task immanently and only once on the clustered ThreadPool. I know I can set the task to a high priority. But what is the best way to register a "one shot" task? ...

Arizona TimeZone Day Light Saving

I am trying to get current time in specific time zones. I tried following code. Calendar j = new GregorianCalendar(TimeZone.getTimeZone("US/Mountain")); j.setTimeInMillis(Calendar.getInstance().getTimeInMillis()); System.out.println(j.get(Calendar.HOUR_OF_DAY)+":"+j.get(Calendar.MINUTE)); TimeZone tz = TimeZone.getTimeZone("US/Mountain"...

How do I declare a 32bit integer in java?

I'm looking at an app in java that runs on both 32bit and 64bit systems, and it deals mainly with IP addresses. These IP addresses are kept as integers, and the normal type for this wastes a ton of memory on 64bit platforms (and yes, memory use has already been shown to be an issue here). How do you declare 32bit integral values that s...

Problems getting SvnKit to work on 64 bit Windows 7

I'm having a problem getting SvnKit working on 64 bit Windows 7. I open a shell and type jsvn and i get... The system cannot find the path specified. It doesn't say what path. Its not the launcher script as I've checked all the paths. It must be within one of the svnkit jars or a dependent jar. This is the 1.3.4.6888 standalone versio...

In which language should I develop my social networking application?

Hey, I am from India and developed my first version of social network app in Django. However, due to paucity of Django/python resources in this country, I am willing to now port to another platform. What would you recommend? a) Java b) PHP c) Any other suggestions are also welcome. ...

What is the best Relational Database Management System (DBMS) to use with a web app?

It seems like most people use MySQL together with PHP. I've used H2 and Postgres with Java, but I can't really say why, I didn't evaluate any before I started. Does some work best with a specific language? Are there more stable ones that are better at large capacities? ...