java

Are there any API to integrate Microsoft exchange server with Java application for Task synchronization?

Hello: I am trying to integrate Java web application with Microsoft Exchange server for bi-directional calendar (i.e. Task) synchronization. Are there any Java Open-Source / Commercial API for this integration? Thanks, Venkat ...

How can Java code be quickly converted to .NET (specifically, ASP.NET)?

Are there any tools available to simplify the conversion? What percentage of Java code is converted exactly to .NET code by these tools? ...

Which is better open source for Excel file parsing in Java?

Which is better API for excel parsing in Java Apache POI or JExcel API? In terms of speed, memory utilization and code stability. ...

Mlet and ModelMbean

The integration between StandardMbean and Mlet Service is well demonstrated in jmx but has anyone found a way to integrate the ModelMBean with Mlet service? The code for loading of mbean in Mlet.java Object o = loadSerializedObject(codebase,serName); if (name == null) { server.registerMBean(o, null); } else { ...

list of 2D array in java

Hi i have set of 2D arrays and i want store all 2D arrays into single list how can do this in java? ...

Alternatives to Quartz for job scheduling

Has anyone found any alternative open-source solutions to Quartz which they are happy with? I know Cronacle is a well respected (and pricey) closed source solution for job scheduling but I'd like to make sure we exhaust the open-source alternatives before going down that route. ...

Calculation of DNA sequences

Could you tell me how I can calculate the DNA sequences by Java using Levenshtein algorithm ...

When is a Web Service constructor called? [Java Netbeans 6.7.1 & Tomcat 6.0.18]

I am migrating a Java RMI application to Java Web Service (school assignment) and I've encountered an issue... Currently my Java Server creates an instance of the Remote Object, this object has a constructor and takes a parameter (int ID) which tells it which database to load in memory - works like a charm ... Now, migrating this to We...

How to write init script

Hi I am using 64bit Fedora 10 linux. I have created a sample java application. Now I want to write init script for that application. so that my application should start on bootup. How to write init script to start on bootup. Thanks Sunil Kumar Sahoo ...

Reading in a file from Java GUI error.

With assistance from others, I have a program that allows a user to input their employee name and number and then their hourly wage and their total number of regular hours and overtime hours. The program I need assistance with reads in that file, adds a new field at the bottom, "Gross Pay", and calculates the gross pay from the values fr...

Object is same but the output is different ? please help

Possible Duplicate: String equality vs equality of location public class AboutStrings{ public static void main(String args[]){ String s1="hello"; String s2="hel"; String s3="lo"; String s4=s2+s3; //to know the hash codes of s1,s4. System.out.println(s1.hashCode()); System.out.println(s4.hashCode()); // these two s1 and s4 are...

How to create a side scroller game in java

I want to create a game where the user can go to the right-most part of the screen, and if they go any further, they will slide into a new view. So basically, if they have 3 monsters chasing them on screen # 1, and they go all the way to the right and keep going, they'll enter screen # 2 where there will be 5 new monsters and a new ter...

Which is more efficient?

Just curious, which is more efficient? This: String a = someString + "." + anotherString; Or this: String a = someString + '.' + anotherString; ...

Webservice security

I have exposed one web service (Service Interface to access my application), What are the different ways to create/implement web service security? Could anyone please suggest some idea? ...

How to start a listener from a Web Service? [Java Netbeans 6.7.1 & Tomcat 6.0.18]

My system has 3-4 web services which communicate with each other via UDP, so on start each Web Service needs to start a UDP listener thread, can this be done in the constructor of the Web Service itself? I've done some reading (not sure if it is correct) and noticed that sometimes people refer to Web Services as "stateless" and mention ...

Inheritance vs Static in Java

I dont quite understand why Static methods can be inherited in Java ? Inheritance is like inheriting from the base class AND Static belongs to the Class and not Object. So if the Static belongs to the Class only why does it trickle down to the derived class ? Shouldn't it just stay with the Class in which it was defined ? Is Inheriti...

Java JNA GetWindowTextA does not return

Java JNA GetWindowTextA does not return for certain window if and only if the application has no GUI window. When the same application runs with SWT GUI front end, everything is OK. I don't know what is the problematic window wndenumproc to check all windows. ...

JNA ByteBuffer statvfs

I am trying to get the free space on the / folder using statvfs call from java, I have check the size of statvfs struct from c it shows 44 bytes, I have allocated a byte buffer using java.nio.ByteBuffer.allocateDirect 44 bytes, and it's order is set to 44 bytes. when i call statvfs i get a return value of 0, so i am assuming call is suc...

Java-Mysql Connection error

My stack trace: cbs.ui.OverallReportUI btnGenerateBillActionPerformed SEVERE: null java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956) at com.mysql....

Java + List to HashMap

Hi Have a List of array, like [[{x509Cert=x509cert.pem, accountNumber=652827, serviceProviderName=Sun, privateKey=pk, userName=0BS0Y72NBN, passWord=VuXYG4hZPS}], [{x509Cert=x509cert.pem, accountNumber=698000, serviceProviderName=Sun, privateKey=my.key, userName=0BS0Y72NAWWSS, passWord= VuXYG4hZPS}]] This was stored in an object, i got ...