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+="...
I don't think I have any weird namespace things going on. They're pretty standard files, both the schema and the xml document. I'm trying to get some basic validation working before I move on to anything harder. Both the xml document and the schema I'm using can be found in...
If anyone has any experience using xerces-c in c++ I have a question to ask about validation using SAXParser and schemas. Thanks. MYenigmaSELF:-9
myenigmaself@myenigmaself.gaiden.com
http://myenigmaself.gaiden.com
"If debugging is the process of removing bugs, then programming must be the...
The schema path is correct(both the schema file and the xml file reside in the same directory as the application), and the xml file is a generated sample file created automaticaly using XMLSpy, so I know the xml file should be valid. Has anyone had any luck passing a SchemeValidator object to...
I'm having a problem validating an xml file using a Schema and the Xerces SAXParser. The code is as follows:
parser = new SAXParser();
parser->setDoNamespaces(true);
parser->setValidationScheme(SAXParser::Val_Always);
parser->setValidationSchemaFullChecking(true)...
haha, man, it's weird how almost every time I pose a question I answer it within minutes of asking. for anyone interested I simply had to add xerces-c_1.lib to the object/library modules. I thought that was implied, but alas, I was incorrect. hopefully that was the only snag I'll run into...
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.