SOAP over non-HTTP protocol
I just wondered if there are any libraries in Java or any other language implementing SOAP over protocol that is not HTTP? I've heard that some project had implemented SOAP over SMTP. Are there any other experiences? ...
I just wondered if there are any libraries in Java or any other language implementing SOAP over protocol that is not HTTP? I've heard that some project had implemented SOAP over SMTP. Are there any other experiences? ...
I'm working with an application that draws on a GLCanvas. I'd like to add a "floating menu" on top of it (something I would do in Swing by adding a menu to the glass pane). Since GLCanvas doesn't extend Container, what would be the suggested way to do this? thanks, Jeff ...
I have a java app, and the log4j.properties file is in src/com/my/path/props. On compile, it's copied into classes/com/my/path/props The file is loaded via PropertyConfigurator.configureAndWatch(user.dir + "/classes/com/my/path/props/log4j.properties"). This all works fine normally, though it's not ideal because of using user.dir (but...
Although the java.net.Socket and java.net.ServetSocket give me powerful networking capabilities I wouldn't want to go through the nitty gritties of creating and managing my own sockets and threads. What open source Java Frameworks are available to create/deploy a Highly Scalable Multithreaded Client/Server Network Application? ...
Moved a bunch of databases from sql server 2000 to 2008. One of the applications is on JBoss 3.2.2 and is now failing to connect to the database. The particular error is "The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorect. Parameter 1 (""): Data type 0x38 is unknown." I looked around google for...
trying to run the code // Create a label with an image Image image = new Image(display, "interspatial.gif"); Label imageLabel = new Label(shell, SWT.NONE); imageLabel.setImage(image); is giving me the error message Exception in thread "main" org.eclipse.swt.SWTException: i/o error (java.io.FileNotFoundException: interspatial...
Hi all, Context: Considering below defined Engine class being parameter of some webservice method. As we have both server and client in java we may have some benefits (???) in sharing Engine class between server and client ( i.e we may put in a common jar file to be added to both client and server classpath ) Some benefits would b...
I'm trying to run the sample tests that come with junit4.7 and having some difficulty. java is respecting my CLASSPATH: me@dinosaurhunter ~/Desktop> export CLASSPATH= me@dinosaurhunter ~/Desktop> echo $CLASSPATH me@dinosaurhunter ~/Desktop> java junit.textui.TestRunner junit.samples.AllTests Exception in thread "main" java.lang.NoClas...
I am hoping that there might be an easy way to do this, I am assuming regular expressions. Whats the best way in java to split the following string into email addresses? [email protected], "Jane" <[email protected]>, "Smith, Mr" <[email protected]> The fact that a comma can appear within the double quotes makes it somewhat more difficult. I guess...
So if I understand well, Garbage collection automatically deallocates objects that are not used by the program anymore. like the garbage collector in java. I hear in languages like C that don't support garbage collection the programs can have memory leaks and subsequently exhaust the memory. So what are the errors that programmer make ...
Does File.deleteOnExit() guarantee that the file is deleted even if the JVM is killed prematurely? ...
How can I detect when a JRadioButton is changed from 'unselected' to 'selected' when clicked with the mouse? I've tried using an ActionListener on the button, but that gets fired every time the radiobutton is clicked, not just when it's changing state to 'selected'. I've thought of maintaining a boolean variable that remembers the state...
I'm writing an app that needs to output Decimals of varying lengths, and varying scale to strings without the decimal point for writing to a flat file as input to another system. e.g. 12345 -> Length:10, Scale:2 -> 0001234500 123.45 -> Length:10, Scale:2 -> 0000012345 123.45 -> Length:10, Scale:3 ...
Read about Server push here. I want to push data to client from my web application in real time. I was looking at TCP sockets as one of the options. For HTTP I found a variety of frameworks for Java, PHP, Python and others over here. However I don't know whether any of these support Push. What options and frameworks would you suggest...
[javac] C:\ws\galileo\test\Cacheable.java:13: incompatible types [javac] found : com.io.CacheType [javac] required: com.io.CacheType [javac] public CacheType id() default CacheType.COMMON; I really don't get this one. I have a project where I'm custom building a caching interceptor for Spring. It simply is a look by cache name to p...
In Java, if I create a Hashtable<K, V> and put N elements in it, how much memory will it occupy? If it's implementation dependent, what would be a good "guess"? ...
Hi, I'm getting confused re the range of options for development & deploying some simple code & UI to both Windows & Mac. Can anyone assist re a good direction here. I do like Ruby, however if it makes sense to move away from this (e.g. java, c#) then so be it. Which development option would people suggest for this? REQUIREMENTS ...
I am trying to write a program in java where in i can find all the xpath for the given xml.I found out the link on the internet xpath generator but it does not work when one element can repeat multipletimes for example if we have xml like the following :- <?xml version="1.0" encoding="UTF-8"?> <Report> <Name> <FirstName>A</Firs...
I am implementing a log server in C++; that accepts log messages from a Java program (via log4j socket appender). How do I read these java logging objects in C++? ...
I can't find difference between them, does anyone has idea to differentiate them ? Thanks ...