What is the best way to connect to a DotNet web service from java?
We have a dotnet web service that a java using customer wants to connect to. What is the best technology for them to use? Axis or Metro, or something else? ...
We have a dotnet web service that a java using customer wants to connect to. What is the best technology for them to use? Axis or Metro, or something else? ...
hi there, For a team of JSP/Struts developers who have about 5+ years on java, what would be a good way to ramp up really fast on JSF. Since JSF is conceptually different compared to Struts, what tutorials, books and other resources have you come across for a quick learn. We're considering using "Seam In Action" book BUT that book is th...
hi guys Well I testing my jython program, that does some neat [".xls", ".doc", ".rtf", ".tif", ".tiff", ".pdf" files] -> pdf (intermediary file) -> tif (final output) conversion using Open Office. We moved away from MS Office due to the problems we had with automation. Now it seems we have knocked down many bottles related to show sto...
I am developing a Java desktop application and would like to have an external configuration.xml. I am developing the application using Netbeans and tried to add the configuration.xml file in the dist directory so that it resides in the application work folder. But when Netbeans executes its clean operation it deletes the dist directory, ...
Is there a way to execute a query(containing built in DB function) using PreparedStatement? Example: insert into foo (location) values (pointfromtext('12.56666 13.67777',4130)) Here pointfromtext is a built in function. ...
We have developers with knowledge of these languages - Ruby , Python, .Net or Java. We are developing an application which will mainly handle XML documents. Most of the work is to convert predefined XML files into database tables, providing mapping between XML documents through database, creating reports from database etc. Which language...
PHP has a var_dump() function which outputs the internal contents of an object, showing an object's type and content. For example: class Person { private $firstName; private $lastName; public function __construct($firstName, $lastName) { $this->firstName = $firstName; $this->lastName = $lastName; } } $person = new Per...
If I'm using ConcurrentHashMap (where the put is thread safe) , and I supply a public function myPut that uses the ConcurrentHashMap put - do I need to synchronize my function? meaning : should this be synchronized? ConcurrentHashMap map; public void myPut(int something) { this.map.put(something); } ...
Whats this syntax useful for : **function(String... args)** Is this same as writing **function(String[] args)** with difference only while invoking this method or is there any other feature involved with it ? ...
Dear All, I am doing my Master degree, and I need to start working on my thesis( a j2ee project using MVC(Model view controller)). I am looking for a nice topic, but I don't know what. I have did some java projects using the following technologies: Data structure programming Java Server Socket Programming J2ee programming (JSP,S...
Hello, to do some visualization of data I would like to include rectangles, circles and text within my graphs. Does anyone know a Java based framework (maybe similar to very basic Powerpoint functionality) that can export SVG graphics? ...
Hello In Java, how can I return to the start of a line and overwrite what has already been output on the console? System.out.print(mystuff+'\r'); does not appear to work. thanks in advance ...
Currently, I am splitting all my tests by package (projects). So if I have 12 projects, I will create 1 more project for Unit Test with 12 classes that will test all my package. Do you do the same way or do you have 1 testing class by class? How do you organize all your test? ...
Here at work we want to access the data inside a .sdf file generated in a PDA with SQLServer Mobile Edition. We use the SqlJDBC4 packet for JDBC but can't get into the server. We know it's running because we can telnet into it, but from the Java code we just get once and again that we can't connect to server. We use this connection Stri...
For a particular segment of Java code, I'd like to measure: execution time (most likely thread execution time) memory usage CPU load (specifically attributable to the code segment) I'm a relative Java novice and am not familiar with how this might be achieved. I've been referred to JMX, however I'm not sure how that might be used, an...
Hello I have to use both IDEs and I would like to use the Eclipse style of syntax highlighting in Netbeans. Does any one know how to import it (or change any configuration file)? I've already set Netbeans to use the Eclipse key bindings. Is there any better way than manually changing the colors of every keyword for the Java editor? Th...
I'm writing a java app using eclipse which references a few external jars and requires some config files to be user accessable. What is the best way to package it up for deployment? My understanding is that you cant put Jars inside another jar file, is this correct? Can I keep my config files out of the jars and still reference them in...
I am tasked with developing a web application and am thinking of using the Struts framework as it seems to be a standard and is easy to implement. However, before making a decision I need to know the security features available in Struts. Is there effective ways to handle the OWASP Top 10 using Struts? And if so, how would I accompl...
Description | A Java program to read a text file and print each of the unique words in alphabetical order together with the number of times the word occurs in the text. The program should declare a variable of type Map<String, Integer> to store the words and corresponding frequency of occurrence. Which concrete type, though? TreeMap<St...
Hi, I am looking in the Collections framework of Java for a LIFO Structure (Stack) without any success. Basically I want a really simple stack; my perfect option would be a Deque, but I am in Java 1.5. I would like not to have to add another class to my structure but I am wondering if that is possible: Is there any class in the Collec...