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...
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...
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 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....
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...
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
...
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)
...
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...
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...
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...
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...
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 ...
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...
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...
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?
...
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 ...
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...
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"...
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...
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
...