Thanks Chiph!
I think ultimately we've decided to do more of a REST style service for the less technical folks, secured with SSL. We'll also make available a webHttpBinding for the WS-* folks. I think this should cover all our needs.
Thanks again,
Mike K.
"If debugging is the process of...
Agreed, keying off the key-pressed/released events will be better than relying on the O/S to fire multiple keystroke events. Regarding the double buffering, I've had best results by running two threads, one controlling the model and one controlling the rendering. Basically you have a handle to...
Hello All,
I'm currently developing an API that will be used by our current clients, as well as future clients yet to be defined. We would like this API to have the ability to be secure, so the built in features for WCF seemed like a natural fit. Unfortunately our current clients are running...
That really depends on the scope of the application. If you're going to set up the application as a service that will run for all users, they should be system variables. If you're just doing testing on a development box (particularly a box that could have more than one user) you should make...
True, but Wyald didn't specify that it would be used only once either. Generally a requirement like this is repeated, but not always.
myenigmaself
"If debugging is the process of removing bugs, then programming must be the process of putting them in." --Dykstra
timw - that's a good idea but since String is final you would have to write a true wrapper. If you're doing that you might as well wrap/extend HashMap. It's much simpler that way in terms of re-use.
myenigmaself
"If debugging is the process of removing bugs, then programming must be the...
Try specifying the classpath as an argument to the application rather than a system variable. e.g.:
java -classpath ".;c:\program files\Microsoft SQL Server 2000 Driver for JDBC\lib\msbase.jar;c:\program files\Microsoft SQL Server 2000 Driver for JDBC\lib\msutil.jar;c:\program files\Microsoft...
If you really want to leverage regular expressions and you're going to be using this function more than once then you should be employing the use of the Pattern class. Using String.replaceAll re-compiles the regular expression every time the method is called, which is hugely inefficient...
One command isn't always best. It's elegant, I give you that, but it also causes a regular expression evaluator to be created, which causes overhead. If this function was only going to be used once per JVM the REGEX overhead would be overkill, but if the application called the function 10000s...
I'm trying to write a client that interfaces with a WebSphere instance and I'm getting the following error:
java.lang.NoClassDefFoundError: com/ibm/ejs/ras/Tr
This is coming from the code:
ResourceBundle rbConnectionProperties = ResourceBundle...
better...
// Written by W.Buchanan, 2003
import java.io.*;
import java.util.zip.*;
public class unzip {
public static void main (String argv[]) {
try {
BufferedOutputStream destination = null;
FileInputStream finps = new FileInputStream(argv[0]);
ZipInputStream zipinp = new ZipInputStream(new...
Just a quick note, the final solution will only work with text files. It will give indeterminate results with binary files. Stick to streams with binary, readers and writers are for text files in which you know the encoding.
MYenigmaSELF:-9
myenigmaself@myenigmaself.gaiden.com...
Does anyone know how to check the capacity/usage of a given volume? All I have is the path. I know you can check at least the capacity with JConfig, but I'd like to do it without purchasing additional software. MYenigmaSELF:-9
myenigmaself@myenigmaself.gaiden.com
http://myenigmaself.gaiden.com...
I'm having a problem; I'm getting an Invalid Cast exception thrown when I try to add strings. Here's the code:
string user="SELECT Password FROM InternalUserPwd where UserName = '"+usr+"'";
if(checktype)
{
user+=" and UserType = " + type.ToString();
user+="...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.