client

How to develop a client-server seat booking program via java socket programming ?

I have a project to develop a client server application in java. This is to be done using socket programming. Our lecturer, used 2 files, the TCPClient.java and TCPServer.java, to make a connection and we typed "Hi" in the client and the server displayed that message. I need to develop a seat booking application. Any suggestions for...

Application cannot open connection to Oracle database - missing DLL OraOps9.dll

My .NET application tries to connect to an Oracle database, but the connection fails to open because it cannot find "OraOps9.dll". xxx.CreatedbConnection() failed to open connection. System.DllNotFoundException: Unable to load DLL (OraOps9.dll). at Oracle.DataAccess.Client.OpsTrace.GetRegTraceInfo(UInt32& TrcLevel) at Oracle.DataA...

RSA C# Encrypt Java Decrypt

Hi guys, In my program (server side - Java) I've created keystore file, with command: keytool -genkey -alias myalias -keyalg RSA -validity 10000 -keystore my.keystore and exported related X509 certificate with: keytool -export -alias myalias -file cert.cer -keystore my.keystore After I saved cert.cer on client side (C#) and I writ...

What are typical server to client communication patterns?

What are the usual patterns for bidirectional communication between a client and a server in a wlan environment. How is it possible for the server to push data to a mobile client over wlan after a connection has been established. Lets say I have a webservice running on a server and the moblie cients in the wlan can use this webservice....

Using Django.test.client to check template vars

I've got a view that I'm trying to test with the Client object. Can I get to the variables I injected into the render_to_response of my view? Example View: def myView(request): if request.method == "POST": # do the search return render_to_response('search.html',{'results':results},context_instance=RequestContext(re...

VB.net Regex Get Information

Well I am currently trying to get the word/text in between these 2 things : and ! I tried this Dim nick As String = String.Empty Dim p = ":(?<ircnick>.*?)!" Dim Matches = Regex.Matches(mail, p, RegexOptions.IgnoreCase Or RegexOptions.Singleline) If Matches IsNot Nothing AndAlso Matches.Count > 0 Then ...

Client Server Communication Using Sockets

What's the easiest way to send a message to a server and read the response it gives you in a non-blocking way ? (using sockets and mfc maybe) ...

running an axis2 client version 1.5

So I'm running out of ideas to try to actually get a client to connect to the SOAP service I'm running through axis2. I tried two methods, one was to use wsdl2java to build the stub and associated client side classes, and then write a Client class that build the requests messages and sends them through the Stub. The other way was to use...

SharePoint 2010 - Client Object Model - Add attachment to ListItem

Hi, I have a SharePoint List to which I'm adding new ListItems using the Client Object Model. Adding ListItems is not a problem and works great. Now I want to add attachments. I'm using the SaveBinaryDirect in the following manner: File.SaveBinaryDirect(clientCtx, url.AbsolutePath + "/Attachments/31/" + fileName, inputStream, tru...

Does IIS6 or IIS7 suppports client connection affinity to a worker process when using Web Gardens?

We have a .NET 3.5 application that stores sessions "In process". The application works fine when Web Garden in IIS6 is set to 1. However, when we change to 2 or more, users gets kick out and asked to log in again. As far as I have read, this can be solved by storing sessions out of the process (either state server or database). Assumi...

EclEmma JAVA Code coverage - Unable to coverage service layer of RESTful Webservice

I am using EMMA eclipse plugin to generate code coverage reports. My application is a RESTFul webservice. Junits are written such that a client is created for the webservice and invoked with various inputs. However EMMA shows 0% coverage for the source folder. The test folder alone is covered. The application server(jetty server) is st...

Limit MySQL requests

Context: A Java client-side application needs to access a server-side MySQL database. Need: Limit the possible number of requests to the database for each client (based on the client's IP). Question 1: Is it possible to do this just by changing the MySQL database settings? Question 2: Is it a good idea to allow access to the database ...

How do you get clients to use your bug tracking system?

on larger projects i use a simple bug tracking system that's designed to be used by clients i have a lot of trouble convincing clients to use it (they send bug reports via email) does anyone have any strategies they can suggested? also, i have been playing around with a theory as to why this is the case; it goes like this: asking a c...

ASP.Net Reportviewer in folder not working

We can run the ReportViewer in a ASP.Net Web App project that is off the root OK so localhost/test/report.aspx works. It's running as a Client Report. But if we move the application up another level the report stops working so localhost/testfolder/test/test.aspx. When the report fails it has no data to display and none of the images ar...

With client diffusion on windows platform how to prevent spyware risk in term of privacy violation?

Often we think that an antivirus or similar is more than sufficient, but many clients could accomplish so many processes that it would be more safe having a real sandbox environment like unix like OS. Better virtual machine like VMWare, VirtualBox and similar sandabox, or there are better ways to keep safe our privacy? ...

I can't change a value, for a web service using an axiom client!

Hi.I just started learning about web serices. I succesfuly installed Tomcat, and deployed axis2 on it. I followed the tutorial from here http://ws.apache.org/axis2/1_1_1/quickstartguide.html . I made the StockQuoteService web service, moved the .aar file in the WEB-INF/services folder and tested it - it worked all fine. Then I made a ...

"Error #1006: getAttributeByQName is not a function." Flex 2.0.1 hotfix 2

Hi, guys! I am working on some old Flex project (Flex 2.0.1 hotfix 2) and I am rookie in Flex programming. So, I wrote code for accessing some ASP.NET web service: <?xml version="1.0" encoding="utf-8"?> [Bindable] public var users:ArrayOfUser; private function buttonClicked():void { mx.controls.Alert...

Multithreaded IOCP Client Issue

I am writing a multithreaded client that uses an IO Completion Port. I create and connect the socket that has the WSA_FLAG_OVERLAPPED attribute set. if ((m_socket = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP)) == INVALID_SOCKET) { throw std::exception("Failed to create socket."); } if (WSAConnectByName(m_socket, L"server.com", L"80"...

Contract for partnering with a client

Does anyone know of a good contract template that would be appropriate for partnering with a client? For example, I am creating a web based application with a client that will help guide the development. The application is owned solely by my company but, in exchange for their help, my client will get the application for free in perpetu...

Need to run a processing demanding application on a .NET server.... any tips?

Hi, I need to run an image processing application on a .NET server. Do you have any tips what I should/can do? I implemented the code in a webservice, but performance is very slow (at least 10x slower than when executed in a windows application). Any help will be greatly appreciated. thanks ...